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

Provides definition of the Conjugate Residual solver. More...

#include <ROL_ConjugateResiduals.hpp>

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

Public Member Functions

 ConjugateResiduals (Real absTol=1.e-4, Real relTol=1.e-2, int maxit=100, bool useInexact=false)
 
Real 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)
 
 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 Attributes

bool isInitialized_
 
bool useInexact_
 
ROL::Ptr< Vector< Real > > r_
 
ROL::Ptr< Vector< Real > > v_
 
ROL::Ptr< Vector< Real > > p_
 
ROL::Ptr< Vector< Real > > Ap_
 
ROL::Ptr< Vector< Real > > MAp_
 

Detailed Description

template<class Real>
class ROL::ConjugateResiduals< Real >

Provides definition of the Conjugate Residual solver.

Definition at line 59 of file ROL_ConjugateResiduals.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::ConjugateResiduals< Real >::ConjugateResiduals ( Real  absTol = 1.e-4,
Real  relTol = 1.e-2,
int  maxit = 100,
bool  useInexact = false 
)
inline

Definition at line 70 of file ROL_ConjugateResiduals.hpp.

Member Function Documentation

template<class Real >
Real ROL::ConjugateResiduals< 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 >
bool ROL::ConjugateResiduals< Real >::isInitialized_
private

Definition at line 61 of file ROL_ConjugateResiduals.hpp.

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

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

Definition at line 62 of file ROL_ConjugateResiduals.hpp.

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

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

Definition at line 63 of file ROL_ConjugateResiduals.hpp.

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

template<class Real >
ROL::Ptr<Vector<Real> > ROL::ConjugateResiduals< Real >::v_
private

Definition at line 64 of file ROL_ConjugateResiduals.hpp.

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

template<class Real >
ROL::Ptr<Vector<Real> > ROL::ConjugateResiduals< Real >::p_
private

Definition at line 65 of file ROL_ConjugateResiduals.hpp.

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

template<class Real >
ROL::Ptr<Vector<Real> > ROL::ConjugateResiduals< Real >::Ap_
private

Definition at line 66 of file ROL_ConjugateResiduals.hpp.

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

template<class Real >
ROL::Ptr<Vector<Real> > ROL::ConjugateResiduals< Real >::MAp_
private

Definition at line 67 of file ROL_ConjugateResiduals.hpp.

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


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