Go to the documentation of this file.
42 #ifndef BELOS_CG_STOCHASTIC_ITERATION_HPP
43 #define BELOS_CG_STOCHASTIC_ITERATION_HPP
63 template <
class ScalarType,
class MV>
67 Teuchos::RCP<const MV>
R;
70 Teuchos::RCP<const MV>
Z;
73 Teuchos::RCP<const MV>
P;
76 Teuchos::RCP<const MV>
AP;
79 Teuchos::RCP<const MV>
Y;
82 P(Teuchos::null),
AP(Teuchos::null),
Y(Teuchos::null)
86 template<
class ScalarType,
class MV,
class OP>
Structure to contain pointers to CGIteration state variables.
Belos header file which uses auto-configuration information to include necessary C++ headers.
StochasticCGIterationState()
Teuchos::RCP< const MV > R
The current residual.
virtual void initializeCG(StochasticCGIterationState< ScalarType, MV > &newstate)=0
Initialize the solver to an iterate, providing a complete state.
Teuchos::RCP< const MV > Y
The current stochastic recurrence vector.
Teuchos::RCP< const MV > P
The current decent direction vector.
Teuchos::RCP< const MV > Z
The current preconditioned residual.
Collection of types and exceptions used within the Belos solvers.
Pure virtual base class which describes the basic interface to the linear solver iteration.
Pure virtual base class which augments the basic interface for a conjugate gradient linear solver ite...
virtual StochasticCGIterationState< ScalarType, MV > getState() const =0
Get the current state of the linear solver.
Teuchos::RCP< const MV > AP
The matrix A applied to current decent direction vector.
Generated on Thu Feb 27 2020 16:06:46 for Belos by
1.8.16