42 #ifndef BELOS_MINRES_ITERATION_HPP
43 #define BELOS_MINRES_ITERATION_HPP
62 template <
class ScalarType,
class MV>
66 Teuchos::RCP<const MV>
Y;
69 Teuchos::RCP<const MV>
R1;
72 Teuchos::RCP<const MV>
R2;
75 Teuchos::RCP<const MV>
W;
78 Teuchos::RCP<const MV>
W1;
81 Teuchos::RCP<const MV>
W2;
123 template<
class ScalarType,
class MV,
class OP>
Belos header file which uses auto-configuration information to include necessary C++ headers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
Collection of types and exceptions used within the Belos solvers.
Parent class to all Belos exceptions.
MinresIterateFailure is thrown when the MinresIteration object is unable to compute the next iterate ...
MinresIterateFailure(const std::string &what_arg)
MinresIterationInitFailure is thrown when the MinresIteration object is unable to generate an initial...
MinresIterationInitFailure(const std::string &what_arg)
virtual void initializeMinres(const MinresIterationState< ScalarType, MV > &newstate)=0
Initialize the solver to an iterate, providing a complete state.
virtual MinresIterationState< ScalarType, MV > getState() const =0
Get the current state of the linear solver.
Structure to contain pointers to MinresIteration state variables.
Teuchos::RCP< const MV > W
The current direction vector.
Teuchos::RCP< const MV > R2
Previous residual.
Teuchos::RCP< const MV > W1
Previous direction vector.
Teuchos::RCP< const MV > Y
The current residual.
Teuchos::RCP< const MV > W2
Previous direction vector.
Teuchos::RCP< const MV > R1
Previous residual.