1.2.3
CCC
 
CGParam Class Reference

#include <CGParam.hpp>

Public Member Functions

 CGParam (int nitermax=1000, double eps=EPSILON8)
 
 CGParam (const CGParam &m)
 
CGParamoperator= (const CGParam &m)
 
virtual ~CGParam ()
 
void setEps (double eps)
 
void setNIterMax (int nIterMax)
 
void setX0 (VectorDouble x0)
 
void setPrecond (const ALinearOp *precond, int status)
 
void setPrecondStatus (int precondStatus)
 
double getEps () const
 
int getNIterMax () const
 
const ALinearOpgetPrecond () const
 
const VectorDoublegetX0 () const
 
double getX0 (int i) const
 
int getPrecondStatus () const
 

Constructor & Destructor Documentation

CGParam::CGParam ( int  nitermax = 1000,
double  eps = EPSILON8 
)
CGParam::CGParam ( const CGParam m)
CGParam::~CGParam ( )
virtual

Member Function Documentation

double CGParam::getEps ( ) const
inline
int CGParam::getNIterMax ( ) const
inline
const ALinearOp* CGParam::getPrecond ( ) const
inline
int CGParam::getPrecondStatus ( ) const
inline
const VectorDouble& CGParam::getX0 ( ) const
inline
double CGParam::getX0 ( int  i) const
inline
CGParam & CGParam::operator= ( const CGParam m)
void CGParam::setEps ( double  eps)
inline
void CGParam::setNIterMax ( int  nIterMax)
inline
void CGParam::setPrecond ( const ALinearOp precond,
int  status 
)

Define the Pre-Conditioner facility

Parameters
[in]precondPointer to a ALinearOp operator
[in]statusStatus of this Pre-conditioner
  • 0 : not defined and therefore not used
  • -1 : Pre-conditioner is the Q_{-1}
  • 1 : Pre-conditioner is the Q
Remarks
When 'precond' argument is not provided, 'status' is forced to 0
void CGParam::setPrecondStatus ( int  precondStatus)
inline
void CGParam::setX0 ( VectorDouble  x0)
inline

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