#include <Belos_PseudoBlockCGIter_MP_Vector.hpp>
Inherits CGIteration< Sacado::MP::Vector< Storage >, MV, OP >.
|
| PseudoBlockCGIter (const Teuchos::RCP< LinearProblem< ScalarType, MV, OP > > &problem, const Teuchos::RCP< OutputManager< ScalarType > > &printer, const Teuchos::RCP< StatusTest< ScalarType, MV, OP > > &tester, Teuchos::ParameterList ¶ms) |
| PseudoBlockCGIter constructor with linear problem, solver utilities, and parameter list of solver options. More...
|
|
virtual | ~PseudoBlockCGIter () |
| Destructor. More...
|
|
|
void | iterate () |
| This method performs CG iterations on each linear system until the status test indicates the need to stop or an error occurs (in which case, an std::exception is thrown). More...
|
|
void | initializeCG (CGIterationState< ScalarType, MV > &newstate) |
| Initialize the solver to an iterate, providing a complete state. More...
|
|
void | initialize () |
| Initialize the solver with the initial vectors from the linear problem or random data. More...
|
|
CGIterationState< ScalarType, MV > | getState () const |
| Get the current state of the linear solver. More...
|
|
template<class Storage, class MV, class OP>
class Belos::PseudoBlockCGIter< Sacado::MP::Vector< Storage >, MV, OP >
Definition at line 74 of file Belos_PseudoBlockCGIter_MP_Vector.hpp.
◆ ScalarType
template<class Storage , class MV , class OP >
◆ MVT
template<class Storage , class MV , class OP >
◆ OPT
template<class Storage , class MV , class OP >
◆ SCT
template<class Storage , class MV , class OP >
◆ MagnitudeType
template<class Storage , class MV , class OP >
◆ SVT
template<class Storage , class MV , class OP >
◆ PseudoBlockCGIter()
template<class Storage , class MV , class OP >
PseudoBlockCGIter constructor with linear problem, solver utilities, and parameter list of solver options.
This constructor takes pointers required by the linear solver, in addition to a parameter list of options for the linear solver.
◆ ~PseudoBlockCGIter()
template<class Storage , class MV , class OP >
◆ iterate()
template<class Storage , class MV , class OP >
This method performs CG iterations on each linear system until the status test indicates the need to stop or an error occurs (in which case, an std::exception is thrown).
iterate() will first determine whether the solver is initialized; if not, it will call initialize() using default arguments. After initialization, the solver performs CG iterations until the status test evaluates as ::Passed, at which point the method returns to the caller.
The status test is queried at the beginning of the iteration.
◆ initializeCG()
template<class Storage , class MV , class OP >
Initialize the solver to an iterate, providing a complete state.
The PseudoBlockCGIter contains a certain amount of state, consisting of the current direction vectors and residuals.
initialize() gives the user the opportunity to manually set these, although this must be done with caution, abiding by the rules given below.
- Postcondition
- isInitialized() ==
true
(see post-conditions of isInitialize())
The user has the option of specifying any component of the state using initialize(). However, these arguments are assumed to match the post-conditions specified under isInitialized(). Any necessary component of the state not given to initialize() will be generated.
- Note
- For any pointer in
newstate
which directly points to the multivectors in the solver, the data is not copied.
◆ initialize()
template<class Storage , class MV , class OP >
◆ getState()
template<class Storage , class MV , class OP >
◆ getNumIters()
template<class Storage , class MV , class OP >
◆ resetNumIters()
template<class Storage , class MV , class OP >
◆ getNativeResiduals()
template<class Storage , class MV , class OP >
◆ getCurrentUpdate()
template<class Storage , class MV , class OP >
◆ getProblem()
template<class Storage , class MV , class OP >
◆ getBlockSize()
template<class Storage , class MV , class OP >
◆ setBlockSize()
template<class Storage , class MV , class OP >
◆ isInitialized()
template<class Storage , class MV , class OP >
◆ setDoCondEst()
template<class Storage , class MV , class OP >
◆ getDiag()
template<class Storage , class MV , class OP >
◆ getOffDiag()
template<class Storage , class MV , class OP >
◆ lp_
template<class Storage , class MV , class OP >
◆ om_
template<class Storage , class MV , class OP >
◆ stest_
template<class Storage , class MV , class OP >
◆ numRHS_
template<class Storage , class MV , class OP >
◆ initialized_
template<class Storage , class MV , class OP >
◆ iter_
template<class Storage , class MV , class OP >
◆ assertPositiveDefiniteness_
template<class Storage , class MV , class OP >
◆ diag_
template<class Storage , class MV , class OP >
◆ offdiag_
template<class Storage , class MV , class OP >
◆ numEntriesForCondEst_
template<class Storage , class MV , class OP >
◆ doCondEst_
template<class Storage , class MV , class OP >
◆ R_
template<class Storage , class MV , class OP >
◆ Z_
template<class Storage , class MV , class OP >
◆ P_
template<class Storage , class MV , class OP >
◆ AP_
template<class Storage , class MV , class OP >
◆ breakDownTol_
template<class Storage , class MV , class OP >
The documentation for this class was generated from the following file: