Belos Package Browser (Single Doxygen Collection)
Development
|
#include <BelosMinresIteration.hpp>
State methods | |
virtual void | initializeMinres (const MinresIterationState< ScalarType, MV > &newstate)=0 |
Initialize the solver to an iterate, providing a complete state. More... | |
virtual MinresIterationState < ScalarType, MV > | getState () const =0 |
Get the current state of the linear solver. More... | |
Definition at line 77 of file BelosMinresIteration.hpp.
|
pure virtual |
Initialize the solver to an iterate, providing a complete state.
The MinresIteration 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::MinresIter< ScalarType, MV, OP >.
|
pure virtual |
Get the current state of the linear solver.
The data is only valid if isInitialized() == true
.
Implemented in Belos::MinresIter< ScalarType, MV, OP >.