ROL
Public Member Functions | Private Attributes | List of all members
ROL::Krylov< Real > Class Template Referenceabstract

Provides definitions for Krylov solvers. More...

#include <ROL_Krylov.hpp>

+ Inheritance diagram for ROL::Krylov< Real >:

Public Member Functions

virtual ~Krylov (void)
 
 Krylov (Real absTol=1.e-4, Real relTol=1.e-2, unsigned maxit=100)
 
 Krylov (ROL::ParameterList &parlist)
 
virtual Real run (Vector< Real > &x, LinearOperator< Real > &A, const Vector< Real > &b, LinearOperator< Real > &M, int &iter, int &flag)=0
 
void resetAbsoluteTolerance (const Real absTol)
 
void resetRelativeTolerance (const Real relTol)
 
void resetMaximumIteration (const unsigned maxit)
 
Real getAbsoluteTolerance (void) const
 
Real getRelativeTolerance (void) const
 
unsigned getMaximumIteration (void) const
 

Private Attributes

Real absTol_
 
Real relTol_
 
unsigned maxit_
 

Detailed Description

template<class Real>
class ROL::Krylov< Real >

Provides definitions for Krylov solvers.

Definition at line 58 of file ROL_Krylov.hpp.

Constructor & Destructor Documentation

template<class Real >
virtual ROL::Krylov< Real >::~Krylov ( void  )
inlinevirtual

Definition at line 65 of file ROL_Krylov.hpp.

template<class Real >
ROL::Krylov< Real >::Krylov ( Real  absTol = 1.e-4,
Real  relTol = 1.e-2,
unsigned  maxit = 100 
)
inline

Definition at line 67 of file ROL_Krylov.hpp.

template<class Real >
ROL::Krylov< Real >::Krylov ( ROL::ParameterList &  parlist)
inline

Member Function Documentation

template<class Real >
virtual Real ROL::Krylov< Real >::run ( Vector< Real > &  x,
LinearOperator< Real > &  A,
const Vector< Real > &  b,
LinearOperator< Real > &  M,
int &  iter,
int &  flag 
)
pure virtual
template<class Real >
void ROL::Krylov< Real >::resetAbsoluteTolerance ( const Real  absTol)
inline

Definition at line 81 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::absTol_.

template<class Real >
void ROL::Krylov< Real >::resetRelativeTolerance ( const Real  relTol)
inline

Definition at line 84 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::relTol_.

template<class Real >
void ROL::Krylov< Real >::resetMaximumIteration ( const unsigned  maxit)
inline

Definition at line 87 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::maxit_.

template<class Real >
Real ROL::Krylov< Real >::getAbsoluteTolerance ( void  ) const
inline

Definition at line 90 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::absTol_.

Referenced by ROL::GMRES< Real >::run().

template<class Real >
Real ROL::Krylov< Real >::getRelativeTolerance ( void  ) const
inline

Definition at line 93 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::relTol_.

Referenced by ROL::GMRES< Real >::run().

template<class Real >
unsigned ROL::Krylov< Real >::getMaximumIteration ( void  ) const
inline

Definition at line 96 of file ROL_Krylov.hpp.

References ROL::Krylov< Real >::maxit_.

Referenced by ROL::GMRES< Real >::GMRES(), and ROL::GMRES< Real >::run().

Member Data Documentation

template<class Real >
Real ROL::Krylov< Real >::absTol_
private
template<class Real >
Real ROL::Krylov< Real >::relTol_
private
template<class Real >
unsigned ROL::Krylov< Real >::maxit_
private

The documentation for this class was generated from the following file: