|
Belos
Version of the Day
|
#include <BelosCGIteration.hpp>

Public Member Functions | |
State methods | |
| virtual void | initializeCG (CGIterationState< ScalarType, MV > newstate)=0 |
| Initialize the solver to an iterate, providing a complete state. | |
| virtual CGIterationState < ScalarType, MV > | getState () const =0 |
| Get the current state of the linear solver. | |
Definition at line 134 of file BelosCGIteration.hpp.
| virtual void Belos::CGIteration< ScalarType, MV, OP >::initializeCG | ( | CGIterationState< ScalarType, MV > | newstate | ) | [pure virtual] |
Initialize the solver to an iterate, providing a complete state.
The CGIteration contains a certain amount of state, consisting of the current residual, preconditioned residual, and decent direction.
initialize() gives the user the opportunity to manually set these, although only the current unpreconditioned residual is required.
true (see post-conditions of isInitialize())newstate which directly points to the multivectors in the solver, the data is not copied. Implemented in Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual CGIterationState<ScalarType,MV> Belos::CGIteration< ScalarType, MV, OP >::getState | ( | ) | const [pure virtual] |
Get the current state of the linear solver.
The data is only valid if isInitialized() == true.
Implemented in Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
1.7.6.1