42 typedef KSP CepsSolver;
90 setPreconditioningMatrix(
DMatPtr preconditioningMatrix);
123 setMaxNbIterations(
CepsUInt nbIterations);
127 setRelativeTolerance(
CepsReal rTol);
131 setAbsoluteTolerance(
CepsReal aTol);
135 setDivergenceTolerance(
CepsReal dTol);
139 getRelativeTolerance()
const;
143 getAbsoluteTolerance()
const;
147 getDivergenceTolerance()
const;
151 getMaxNbIterations()
const;
std::basic_string< CepsChar > CepsString
C++ format string.
std::make_unsigned_t< CepsInt > CepsUInt
Unsigned version on CepsInt.
float CepsReal
Need single precision floating point.
std::shared_ptr< DistributedMatrix > DMatPtr
Short typedef for pointer on dist matrix.
std::shared_ptr< DistributedVector > DVecPtr
Short typedef for pointer on distributed vector.
Base class for other (big) CEPS classes. All classes can get a pointer to this base class and also co...
Linear system Ax=b to be solved.
CepsReal m_relativeTolerance
Stopping criterion for iterative methods (rel diff between iterations)
CepsUInt m_avIterNb
average number of iterations
DVecPtr m_rhsVector
Right Hand Side (B)
DMatPtr m_lhsMatrix
Left Hand Side (A)
CepsUInt m_nSolv
number of calls of the solvers
DMatPtr m_precondMatrix
Preconditioning matrix.
CepsReal m_divergenceTolerance
Stopping criterion for iterative methods (too large diff between iterations)
CepsBool m_isSetUp
Is the solver ready to solve ?
CepsUInt m_maxIterations
Maximum of iterations for iterative methods.
CepsReal m_absoluteTolerance
Stopping criterion for iterative methods (abs diff between iterations)
CepsSolver m_solver
Underlying solver.
CepsUInt initialize(int argc, char *argv[])
Initializes parallel environment.