#include <BelosCG.hpp>
Inheritance diagram for Belos::CG< ScalarType, MV, OP >:

Public Types | |
| typedef MultiVecTraits< ScalarType, MV > | MVT |
| typedef OperatorTraits< ScalarType, MV, OP > | OPT |
| typedef Teuchos::ScalarTraits< ScalarType > | SCT |
| typedef SCT::magnitudeType | MagnitudeType |
Public Member Functions | |
Constructor/Destructor. | |
| CG (const RefCountPtr< LinearProblem< ScalarType, MV, OP > > &lp, const RefCountPtr< StatusTest< ScalarType, MV, OP > > &stest, const RefCountPtr< OutputManager< ScalarType > > &om, const RefCountPtr< ParameterList > &pl=Teuchos::null) | |
| Belos::CG constructor. | |
| virtual | ~CG () |
| Belos::CG destructor. | |
Accessor methods | |
| int | GetNumIters () const |
| Get the iteration count for the current linear system. | |
| int | GetNumRestarts () const |
| Get the restart count of the iteration method for the current linear system [not valid for CG]. | |
| RefCountPtr< const MV > | GetNativeResiduals (std::vector< MagnitudeType > *normvec) const |
| Get the solvers native residual for the current linear system. | |
| RefCountPtr< MV > | GetCurrentSoln () |
| Get the actual residual vector for the current linear system. | |
| RefCountPtr< LinearProblem< ScalarType, MV, OP > > | GetLinearProblem () const |
| Get a constant reference to the current linear problem. | |
| RefCountPtr< StatusTest< ScalarType, MV, OP > > | GetStatusTest () const |
Solver application method. | |
| void | Solve () |
| This method uses the iterative method to compute approximate solutions to the original problem. This method can return unconverged if the maximum number of iterations is reached, or numerical breakdown is observed. | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
| Method to return description of the block GMRES solver. | |
Definition at line 70 of file BelosCG.hpp.
|
|||||
|
Definition at line 75 of file BelosCG.hpp. |
|
|||||
|
Definition at line 76 of file BelosCG.hpp. |
|
|||||
|
Reimplemented from Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 77 of file BelosCG.hpp. |
|
|||||
|
Reimplemented from Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 78 of file BelosCG.hpp. |
|
||||||||||||||||||||||||
|
Belos::CG constructor.
Definition at line 184 of file BelosCG.hpp. |
|
|||||||||
|
Belos::CG destructor.
Definition at line 91 of file BelosCG.hpp. |
|
|||||||||
|
Get the iteration count for the current linear system.
Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 98 of file BelosCG.hpp. |
|
|||||||||
|
Get the restart count of the iteration method for the current linear system [not valid for CG].
Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 101 of file BelosCG.hpp. |
|
||||||||||
|
Get the solvers native residual for the current linear system.
Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 204 of file BelosCG.hpp. |
|
|||||||||
|
Get the actual residual vector for the current linear system. This may force the solver to compute a current residual for its linear system. For CG, this method is not useful since the linear problem manager always has the current solution. Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 114 of file BelosCG.hpp. |
|
|||||||||
|
Get a constant reference to the current linear problem. This may include a current solution, if the solver has recently restarted or completed. Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 119 of file BelosCG.hpp. |
|
|||||||||
|
Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 121 of file BelosCG.hpp. |
|
|||||||||
|
This method uses the iterative method to compute approximate solutions to the original problem. This method can return unconverged if the maximum number of iterations is reached, or numerical breakdown is observed.
Implements Belos::IterativeSolver< ScalarType, MV, OP >. Definition at line 214 of file BelosCG.hpp. |
|
|||||||||
|
Method to return description of the block GMRES solver.
Reimplemented from Teuchos::Describable. Definition at line 399 of file BelosCG.hpp. |
1.3.9.1