42 #ifndef BELOS_CG_ITERATION_HPP 43 #define BELOS_CG_ITERATION_HPP 62 template <
class ScalarType,
class MV>
66 Teuchos::RCP<const MV>
R;
69 Teuchos::RCP<const MV>
Z;
72 Teuchos::RCP<const MV>
P;
75 Teuchos::RCP<const MV>
AP;
78 P(Teuchos::null), AP(Teuchos::null)
133 template<
class ScalarType,
class MV,
class OP>
Teuchos::RCP< const MV > R
The current residual.
Collection of types and exceptions used within the Belos solvers.
CGIterateFailure(const std::string &what_arg)
CGIterationOrthoFailure(const std::string &what_arg)
Structure to contain pointers to CGIteration state variables.
Pure virtual base class which describes the basic interface to the linear solver iteration.
CGIterateFailure is thrown when the CGIteration object is unable to compute the next iterate in the C...
Teuchos::RCP< const MV > AP
The matrix A applied to current decent direction vector.
CGIterationLAPACKFailure is thrown when a nonzero return value is passed back from an LAPACK routine...
Teuchos::RCP< const MV > Z
The current preconditioned residual.
CGIterationOrthoFailure is thrown when the CGIteration object is unable to compute independent direct...
CGIterationLAPACKFailure(const std::string &what_arg)
CGIterationInitFailure is thrown when the CGIteration object is unable to generate an initial iterate...
Parent class to all Belos exceptions.
Belos header file which uses auto-configuration information to include necessary C++ headers...
CGIterationInitFailure(const std::string &what_arg)
Teuchos::RCP< const MV > P
The current decent direction vector.