42 #ifndef BELOS_ITERATION_HPP
43 #define BELOS_ITERATION_HPP
60 template <
class ScalarType,
class MV,
class OP>
63 template <
class ScalarType>
66 template <
class ScalarType,
class MV,
class OP>
69 template <
class ScalarType,
class MV,
class OP>
72 template<
class ScalarType,
class MV,
class OP>
Collection of types and exceptions used within the Belos solvers.
virtual void iterate()=0
This method performs linear solver iterations until the status test indicates the need to stop or an ...
virtual Teuchos::RCP< const MV > getNativeResiduals(std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > *norms) const =0
Get the residuals native to the solver.
Belos's basic output manager for sending information of select verbosity levels to the appropriate ou...
virtual int getBlockSize() const =0
Get the blocksize to be used by the iterative solver in solving this linear problem.
virtual ~Iteration()
Destructor.
virtual Teuchos::RCP< MV > getCurrentUpdate() const =0
Get the current update to the linear system.
A pure virtual class for defining the status tests for the Belos iterative solvers.
virtual int getNumIters() const =0
Get the current iteration count.
A linear system to solve, and its associated information.
virtual bool isInitialized()=0
States whether the solver has been initialized or not.
virtual const LinearProblem< ScalarType, MV, OP > & getProblem() const =0
Get a constant reference to the linear problem.
virtual void resetNumIters(int iter=0)=0
Reset the iteration count to iter.
virtual void setBlockSize(int blockSize)=0
Set the blocksize to be used by the iterative solver in solving this linear problem.
Iteration()
Default Constructor.
Belos's templated virtual class for providing routines for orthogonalization and orthonormzalition of...
virtual void initialize()=0
Initialize the solver with the initial vectors from the linear problem or random data.
Belos header file which uses auto-configuration information to include necessary C++ headers...