Belos Package Browser (Single Doxygen Collection)
Development
|
#include <BelosIteration.hpp>
Constructors/Destructor | |
Iteration () | |
Default Constructor. More... | |
virtual | ~Iteration () |
Destructor. More... | |
Solver methods | |
virtual void | iterate ()=0 |
This method performs linear solver iterations until the status test indicates the need to stop or an error occurs (in which case, an std::exception is thrown). More... | |
virtual void | initialize ()=0 |
Initialize the solver with the initial vectors from the linear problem or random data. More... | |
Status methods | |
virtual int | getNumIters () const =0 |
Get the current iteration count. More... | |
virtual void | resetNumIters (int iter=0)=0 |
Reset the iteration count to iter. More... | |
virtual Teuchos::RCP< const MV > | getNativeResiduals (std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > *norms) const =0 |
Get the residuals native to the solver. More... | |
virtual Teuchos::RCP< MV > | getCurrentUpdate () const =0 |
Get the current update to the linear system. More... | |
Accessor methods | |
virtual const LinearProblem < ScalarType, MV, OP > & | getProblem () const =0 |
Get a constant reference to the linear problem. More... | |
virtual int | getBlockSize () const =0 |
Get the blocksize to be used by the iterative solver in solving this linear problem. More... | |
virtual void | setBlockSize (int blockSize)=0 |
Set the blocksize to be used by the iterative solver in solving this linear problem. More... | |
virtual bool | isInitialized ()=0 |
States whether the solver has been initialized or not. More... | |
Definition at line 41 of file BelosIteration.hpp.
|
inline |
Default Constructor.
Definition at line 49 of file BelosIteration.hpp.
|
inlinevirtual |
Destructor.
Definition at line 52 of file BelosIteration.hpp.
|
pure virtual |
This method performs linear solver iterations until the status test indicates the need to stop or an error occurs (in which case, an std::exception is thrown).
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Initialize the solver with the initial vectors from the linear problem or random data.
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Get the current iteration count.
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Reset the iteration count to iter.
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Get the residuals native to the solver.
|
pure virtual |
Get the current update to the linear system.
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Get a constant reference to the linear problem.
Implemented in Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Get the blocksize to be used by the iterative solver in solving this linear problem.
Implemented in Belos::GCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
Set the blocksize to be used by the iterative solver in solving this linear problem.
Implemented in Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.
|
pure virtual |
States whether the solver has been initialized or not.
Implemented in Belos::GCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP, true >, Belos::RCGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BiCGStabIter< ScalarType, MV, OP >, Belos::PseudoBlockTFQMRIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, Belos::CGSingleRedIter< ScalarType, MV, OP >, Belos::FixedPointIter< ScalarType, MV, OP >, and Belos::BlockCGIter< ScalarType, MV, OP, lapackSupportsScalarType >.