ROL
Loading...
Searching...
No Matches
ROL::ROL::GMRES< Real > Class Template Reference

#include <ROL_Constraint_SerialSimOpt.hpp>

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

Public Member Functions

 GMRES (ParameterList &parlist)
Real run (Vector< Real > &x, LinearOperator< Real > &A, const Vector< Real > &b, LinearOperator< Real > &M, int &iter, int &flag)
void enableOutput (std::ostream &outStream)
void disableOutput ()
Public Member Functions inherited from ROL::ROL::Krylov< Real >
virtual ~Krylov (void)
 Krylov (Real absTol=1.e-4, Real relTol=1.e-2, unsigned maxit=100)
 Krylov (ROL::ParameterList &parlist)
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 Types

typedef LA::Matrix< Real > SDMatrix
typedef LA::Vector< Real > SDVector

Private Attributes

Ptr< Vector< Real > > r_
Ptr< Vector< Real > > z_
Ptr< Vector< Real > > w_
Ptr< SDMatrix > H_
Ptr< SDVector > cs_
Ptr< SDVector > sn_
Ptr< SDVector > s_
Ptr< SDVector > y_
Ptr< SDVector > cnorm_
Ptr< std::vector< Real > > res_
Ptr< VectorArray< Real > > V_
Ptr< VectorArray< Real > > Z_
bool isInitialized_
bool useInexact_
bool useInitialGuess_
bool printIters_
Ptr< std::ostream > outStream_
LAPACK< int, Real > lapack_

Detailed Description

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

Definition at line 68 of file ROL_Constraint_SerialSimOpt.hpp.

Member Typedef Documentation

◆ SDMatrix

template<class Real>
typedef LA::Matrix<Real> ROL::ROL::GMRES< Real >::SDMatrix
private

Definition at line 70 of file ROL_Constraint_SerialSimOpt.hpp.

◆ SDVector

template<class Real>
typedef LA::Vector<Real> ROL::ROL::GMRES< Real >::SDVector
private

Definition at line 71 of file ROL_Constraint_SerialSimOpt.hpp.

Constructor & Destructor Documentation

◆ GMRES()

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

Definition at line 99 of file ROL_Constraint_SerialSimOpt.hpp.

Member Function Documentation

◆ run()

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

Implements ROL::ROL::Krylov< Real >.

Definition at line 124 of file ROL_Constraint_SerialSimOpt.hpp.

◆ enableOutput()

template<class Real>
void ROL::ROL::GMRES< Real >::enableOutput ( std::ostream & outStream)
inline

Definition at line 270 of file ROL_Constraint_SerialSimOpt.hpp.

◆ disableOutput()

template<class Real>
void ROL::ROL::GMRES< Real >::disableOutput ( )
inline

Definition at line 275 of file ROL_Constraint_SerialSimOpt.hpp.

Member Data Documentation

◆ r_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::GMRES< Real >::r_
private

Definition at line 75 of file ROL_Constraint_SerialSimOpt.hpp.

◆ z_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::GMRES< Real >::z_
private

Definition at line 76 of file ROL_Constraint_SerialSimOpt.hpp.

◆ w_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::GMRES< Real >::w_
private

Definition at line 77 of file ROL_Constraint_SerialSimOpt.hpp.

◆ H_

template<class Real>
Ptr<SDMatrix> ROL::ROL::GMRES< Real >::H_
private

Definition at line 79 of file ROL_Constraint_SerialSimOpt.hpp.

◆ cs_

template<class Real>
Ptr<SDVector> ROL::ROL::GMRES< Real >::cs_
private

Definition at line 80 of file ROL_Constraint_SerialSimOpt.hpp.

◆ sn_

template<class Real>
Ptr<SDVector> ROL::ROL::GMRES< Real >::sn_
private

Definition at line 81 of file ROL_Constraint_SerialSimOpt.hpp.

◆ s_

template<class Real>
Ptr<SDVector> ROL::ROL::GMRES< Real >::s_
private

Definition at line 82 of file ROL_Constraint_SerialSimOpt.hpp.

◆ y_

template<class Real>
Ptr<SDVector> ROL::ROL::GMRES< Real >::y_
private

Definition at line 83 of file ROL_Constraint_SerialSimOpt.hpp.

◆ cnorm_

template<class Real>
Ptr<SDVector> ROL::ROL::GMRES< Real >::cnorm_
private

Definition at line 84 of file ROL_Constraint_SerialSimOpt.hpp.

◆ res_

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

Definition at line 86 of file ROL_Constraint_SerialSimOpt.hpp.

◆ V_

template<class Real>
Ptr<VectorArray<Real> > ROL::ROL::GMRES< Real >::V_
private

Definition at line 87 of file ROL_Constraint_SerialSimOpt.hpp.

◆ Z_

template<class Real>
Ptr<VectorArray<Real> > ROL::ROL::GMRES< Real >::Z_
private

Definition at line 87 of file ROL_Constraint_SerialSimOpt.hpp.

◆ isInitialized_

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

Definition at line 89 of file ROL_Constraint_SerialSimOpt.hpp.

◆ useInexact_

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

Definition at line 90 of file ROL_Constraint_SerialSimOpt.hpp.

◆ useInitialGuess_

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

Definition at line 91 of file ROL_Constraint_SerialSimOpt.hpp.

◆ printIters_

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

Definition at line 92 of file ROL_Constraint_SerialSimOpt.hpp.

◆ outStream_

template<class Real>
Ptr<std::ostream> ROL::ROL::GMRES< Real >::outStream_
private

Definition at line 93 of file ROL_Constraint_SerialSimOpt.hpp.

◆ lapack_

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

Definition at line 95 of file ROL_Constraint_SerialSimOpt.hpp.


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