Belos Version of the Day
|virtual void||initializeCG (CGIterationState< ScalarType, MV > newstate)=0|
|Initialize the solver to an iterate, providing a complete state. |
< ScalarType, MV >
|getState () const =0|
|Get the current state of the linear solver. |
|virtual void Belos::CGIteration< ScalarType, MV, OP >::initializeCG||(||CGIterationState< ScalarType, MV >||newstate||)||
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())
newstatewhich directly points to the multivectors in the solver, the data is not copied.
|virtual CGIterationState<ScalarType,MV> Belos::CGIteration< ScalarType, MV, OP >::getState||(||)|| const
Get the current state of the linear solver.
The data is only valid if isInitialized() ==