#include <BelosStatusTestMaxRestarts.hpp>
Inheritance diagram for Belos::StatusTestMaxRestarts< ScalarType, MV, OP >:

Public Member Functions | |
Constructor/Destructor. | |
| StatusTestMaxRestarts (int maxIters) | |
| Constructor. | |
| virtual | ~StatusTestMaxRestarts () |
| Destructor. | |
Status methods | |
| StatusType | CheckStatus (IterativeSolver< ScalarType, MV, OP > *iSolver) |
| Check convergence status of the iterative solver: Unconverged, Converged, Failed. | |
| StatusType | GetStatus () const |
| Return the result of the most recent CheckStatus call. | |
Reset methods | |
| void | Reset () |
| Resets the internal configuration to the initial state. | |
Accessor methods | |
| int | GetMaxRestarts () const |
| Returns the maximum number of restarts set in the constructor. | |
| int | GetNumRestarts () const |
| Returns the current number of restarts from the most recent StatusTest call. | |
Attribute methods | |
| bool | ResidualVectorRequired () const |
| Indicates if residual vector is required by this convergence test: returns false for this class. | |
Print methods | |
| ostream & | Print (ostream &os, int indent=0) const |
| Output formatted description of stopping test to output stream. | |
This implementation of the Belos::StatusTest base class tests the number of restarts performed against a maximum number allowed. This status test is only valid for iterative methods which perform restarts, like GMRES.
Definition at line 51 of file BelosStatusTestMaxRestarts.hpp.
|
||||||||||
|
Constructor.
Definition at line 131 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Destructor.
Definition at line 62 of file BelosStatusTestMaxRestarts.hpp. |
|
||||||||||
|
Check convergence status of the iterative solver: Unconverged, Converged, Failed. This method checks to see if the convergence criteria are met using the current information from the iterative solver. Implements Belos::StatusTest< ScalarType, MV, OP >. Definition at line 143 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Return the result of the most recent CheckStatus call.
Implements Belos::StatusTest< ScalarType, MV, OP >. Definition at line 75 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Resets the internal configuration to the initial state.
Implements Belos::StatusTest< ScalarType, MV, OP >. Definition at line 153 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Returns the maximum number of restarts set in the constructor.
Definition at line 91 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Returns the current number of restarts from the most recent StatusTest call.
Definition at line 94 of file BelosStatusTestMaxRestarts.hpp. |
|
|||||||||
|
Indicates if residual vector is required by this convergence test: returns false for this class.
Implements Belos::StatusTest< ScalarType, MV, OP >. Definition at line 102 of file BelosStatusTestMaxRestarts.hpp. |
|
||||||||||||||||
|
Output formatted description of stopping test to output stream.
Implements Belos::StatusTest< ScalarType, MV, OP >. Definition at line 160 of file BelosStatusTestMaxRestarts.hpp. |
1.3.9.1