ROL
Public Member Functions | Private Types | Private Attributes | List of all members
ROL::GMRES< Real > Class Template Reference

Preconditioned GMRES solver. More...

#include <ROL_GMRES.hpp>

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

Public Member Functions

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

Private Types

typedef Teuchos::SerialDenseMatrix< int, Real > SDMatrix
 
typedef Teuchos::SerialDenseVector< int, Real > SDVector
 

Private Attributes

Teuchos::RCP< Vector< Real > > r_
 
Teuchos::RCP< Vector< Real > > z_
 
Teuchos::RCP< Vector< Real > > w_
 
Teuchos::RCP< SDMatrixH_
 
Teuchos::RCP< SDVectorcs_
 
Teuchos::RCP< SDVectorsn_
 
Teuchos::RCP< SDVectors_
 
Teuchos::RCP< SDVectory_
 
Teuchos::RCP< SDVectorcnorm_
 
Teuchos::RCP< std::vector< Real > > res_
 
bool isInitialized_
 
bool useInexact_
 
bool useInitialGuess_
 
int maxit_
 
Real absTol_
 
Real relTol_
 
Teuchos::LAPACK< int, Real > lapack_
 

Detailed Description

template<class Real>
class ROL::GMRES< Real >

Preconditioned GMRES solver.

Definition at line 63 of file ROL_GMRES.hpp.

Member Typedef Documentation

template<class Real >
typedef Teuchos::SerialDenseMatrix<int, Real> ROL::GMRES< Real >::SDMatrix
private

Definition at line 65 of file ROL_GMRES.hpp.

template<class Real >
typedef Teuchos::SerialDenseVector<int, Real> ROL::GMRES< Real >::SDVector
private

Definition at line 66 of file ROL_GMRES.hpp.

Constructor & Destructor Documentation

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

Definition at line 94 of file ROL_GMRES.hpp.

Member Function Documentation

template<class Real >
void ROL::GMRES< Real >::run ( Vector< Real > &  x,
LinearOperator< Real > &  A,
const Vector< Real > &  b,
LinearOperator< Real > &  M,
int &  iter,
int &  flag 
)
inlinevirtual

Member Data Documentation

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::GMRES< Real >::r_
private

Definition at line 70 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::GMRES< Real >::z_
private

Definition at line 71 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::GMRES< Real >::w_
private

Definition at line 72 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<SDMatrix> ROL::GMRES< Real >::H_
private

Definition at line 74 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<SDVector> ROL::GMRES< Real >::cs_
private

Definition at line 75 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<SDVector> ROL::GMRES< Real >::sn_
private

Definition at line 76 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<SDVector> ROL::GMRES< Real >::s_
private

Definition at line 77 of file ROL_GMRES.hpp.

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

template<class Real >
Teuchos::RCP<SDVector> ROL::GMRES< Real >::y_
private

Definition at line 78 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<SDVector> ROL::GMRES< Real >::cnorm_
private

Definition at line 79 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::RCP<std::vector<Real> > ROL::GMRES< Real >::res_
private

Definition at line 81 of file ROL_GMRES.hpp.

template<class Real >
bool ROL::GMRES< Real >::isInitialized_
private

Definition at line 83 of file ROL_GMRES.hpp.

template<class Real >
bool ROL::GMRES< Real >::useInexact_
private

Definition at line 84 of file ROL_GMRES.hpp.

template<class Real >
bool ROL::GMRES< Real >::useInitialGuess_
private

Definition at line 85 of file ROL_GMRES.hpp.

template<class Real >
int ROL::GMRES< Real >::maxit_
private

Definition at line 86 of file ROL_GMRES.hpp.

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

template<class Real >
Real ROL::GMRES< Real >::absTol_
private

Definition at line 87 of file ROL_GMRES.hpp.

template<class Real >
Real ROL::GMRES< Real >::relTol_
private

Definition at line 88 of file ROL_GMRES.hpp.

template<class Real >
Teuchos::LAPACK<int,Real> ROL::GMRES< Real >::lapack_
private

Definition at line 90 of file ROL_GMRES.hpp.


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