|
Belos
Version of the Day
|
#include <BelosIteration.hpp>

Public Member Functions | |
Constructors/Destructor | |
| Iteration () | |
| Default Constructor. | |
| virtual | ~Iteration () |
| Destructor. | |
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). | |
| virtual void | initialize ()=0 |
| Initialize the solver with the initial vectors from the linear problem or random data. | |
Status methods | |
| virtual int | getNumIters () const =0 |
| Get the current iteration count. | |
| virtual void | resetNumIters (int iter=0)=0 |
| Reset the iteration count to iter. | |
| virtual Teuchos::RCP< const MV > | getNativeResiduals (std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > *norms) const =0 |
| Get the residuals native to the solver. | |
| virtual Teuchos::RCP< MV > | getCurrentUpdate () const =0 |
| Get the current update to the linear system. | |
Accessor methods | |
| virtual const LinearProblem < ScalarType, MV, OP > & | getProblem () const =0 |
| Get a constant reference to the linear problem. | |
| virtual int | getBlockSize () const =0 |
| Get the blocksize to be used by the iterative solver in solving this linear problem. | |
| 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. | |
Definition at line 73 of file BelosIteration.hpp.
| Belos::Iteration< ScalarType, MV, OP >::Iteration | ( | ) | [inline] |
Default Constructor.
Definition at line 81 of file BelosIteration.hpp.
| virtual Belos::Iteration< ScalarType, MV, OP >::~Iteration | ( | ) | [inline, virtual] |
Destructor.
Definition at line 84 of file BelosIteration.hpp.
| virtual void Belos::Iteration< ScalarType, MV, OP >::iterate | ( | ) | [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::RCGIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::MinresIter< ScalarType, MV, OP >, Belos::BlockFGmresIter< ScalarType, MV, OP >, Belos::BlockGmresIter< ScalarType, MV, OP >, Belos::PseudoBlockStochasticCGIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP >, Belos::PseudoBlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual void Belos::Iteration< ScalarType, MV, OP >::initialize | ( | ) | [pure virtual] |
Initialize the solver with the initial vectors from the linear problem or random data.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::CGIter< ScalarType, MV, OP >, and Belos::LSQRIter< ScalarType, MV, OP >.
| virtual int Belos::Iteration< ScalarType, MV, OP >::getNumIters | ( | ) | const [pure virtual] |
Get the current iteration count.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual void Belos::Iteration< ScalarType, MV, OP >::resetNumIters | ( | int | iter = 0 | ) | [pure virtual] |
Reset the iteration count to iter.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual Teuchos::RCP<const MV> Belos::Iteration< ScalarType, MV, OP >::getNativeResiduals | ( | std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > * | norms | ) | const [pure virtual] |
Get the residuals native to the solver.
| virtual Teuchos::RCP<MV> Belos::Iteration< ScalarType, MV, OP >::getCurrentUpdate | ( | ) | const [pure virtual] |
Get the current update to the linear system.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual const LinearProblem<ScalarType,MV,OP>& Belos::Iteration< ScalarType, MV, OP >::getProblem | ( | ) | const [pure virtual] |
Get a constant reference to the linear problem.
Implemented in Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual int Belos::Iteration< ScalarType, MV, OP >::getBlockSize | ( | ) | const [pure virtual] |
Get the blocksize to be used by the iterative solver in solving this linear problem.
Implemented in Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::PCPGIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual void Belos::Iteration< ScalarType, MV, OP >::setBlockSize | ( | int | blockSize | ) | [pure virtual] |
Set the blocksize to be used by the iterative solver in solving this linear problem.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< 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::BlockCGIter< ScalarType, MV, OP >, Belos::LSQRIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
| virtual bool Belos::Iteration< ScalarType, MV, OP >::isInitialized | ( | ) | [pure virtual] |
States whether the solver has been initialized or not.
Implemented in Belos::PCPGIter< ScalarType, MV, OP >, Belos::PseudoBlockGmresIter< ScalarType, MV, OP >, Belos::GCRODRIter< ScalarType, MV, OP >, Belos::RCGIter< ScalarType, MV, OP >, Belos::TFQMRIter< ScalarType, MV, OP >, Belos::BlockGCRODRIter< 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::LSQRIter< ScalarType, MV, OP >, Belos::BlockCGIter< ScalarType, MV, OP >, and Belos::CGIter< ScalarType, MV, OP >.
1.7.6.1