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