#include <AnasaziStatusTestDecl.hpp>
Inheritance diagram for Anasazi::StatusTest< ScalarType, MV, OP >:

Public Member Functions | |
Constructors/destructors | |
| StatusTest () | |
| Constructor. | |
| virtual | ~StatusTest () |
| Destructor. | |
Status methods | |
| virtual TestStatus | checkStatus (Eigensolver< ScalarType, MV, OP > *solver)=0 |
| virtual TestStatus | getStatus () const =0 |
| Return the result of the most recent checkStatus call, or undefined if it has not been run. | |
Reset methods | |
| virtual void | reset ()=0 |
| Informs the status test that it should reset its internal configuration to the uninitialized state. | |
| virtual void | clearStatus ()=0 |
| Clears the results of the last status test. | |
Print methods | |
| virtual ostream & | print (ostream &os, int indent=0) const =0 |
| Output formatted description of stopping test to output stream. | |
StatusTest is an interface that can be implemented to create convergence tests for all Anasazi solvers. Almost any kind of test can be expressed using this mechanism, including composite tests (see StatusTestCombo).
Definition at line 59 of file AnasaziStatusTest.hpp.
|
|||||||||
|
Constructor.
Definition at line 66 of file AnasaziStatusTest.hpp. |
|
|||||||||
|
Destructor.
Definition at line 69 of file AnasaziStatusTest.hpp. |
|
||||||||||
|
Check status as defined by test.
Implemented in Anasazi::StatusTestCombo< ScalarType, MV, OP >, Anasazi::StatusTestMaxIters< ScalarType, MV, OP >, Anasazi::StatusTestOrderedResNorm< ScalarType, MV, OP >, Anasazi::StatusTestOutput< ScalarType, MV, OP >, and Anasazi::StatusTestResNorm< ScalarType, MV, OP >. |
|
|||||||||
|
Return the result of the most recent checkStatus call, or undefined if it has not been run.
Implemented in Anasazi::StatusTestCombo< ScalarType, MV, OP >, Anasazi::StatusTestMaxIters< ScalarType, MV, OP >, Anasazi::StatusTestOrderedResNorm< ScalarType, MV, OP >, Anasazi::StatusTestOutput< ScalarType, MV, OP >, and Anasazi::StatusTestResNorm< ScalarType, MV, OP >. |
|
|||||||||
|
Informs the status test that it should reset its internal configuration to the uninitialized state. This is necessary for the case when the status test is being reused by another solver or for another eigenvalue problem. The status test may have information that pertains to a particular problem or solver state. The internal information will be reset back to the uninitialized state. The user specified information that the convergence test uses will remain. Implemented in Anasazi::StatusTestCombo< ScalarType, MV, OP >, Anasazi::StatusTestMaxIters< ScalarType, MV, OP >, Anasazi::StatusTestOrderedResNorm< ScalarType, MV, OP >, Anasazi::StatusTestOutput< ScalarType, MV, OP >, and Anasazi::StatusTestResNorm< ScalarType, MV, OP >. |
|
|||||||||
|
Clears the results of the last status test. This should be distinguished from the reset() method, as it only clears the cached result from the last status test, so that a call to getStatus() will return Undefined. This is necessary for the SEQOR and SEQAND tests in the StatusTestCombo class, which may short circuit and not evaluate all of the StatusTests contained in them. Implemented in Anasazi::StatusTestCombo< ScalarType, MV, OP >, Anasazi::StatusTestMaxIters< ScalarType, MV, OP >, Anasazi::StatusTestOrderedResNorm< ScalarType, MV, OP >, Anasazi::StatusTestOutput< ScalarType, MV, OP >, and Anasazi::StatusTestResNorm< ScalarType, MV, OP >. |
|
||||||||||||||||
|
Output formatted description of stopping test to output stream.
Implemented in Anasazi::StatusTestCombo< ScalarType, MV, OP >, Anasazi::StatusTestMaxIters< ScalarType, MV, OP >, Anasazi::StatusTestOrderedResNorm< ScalarType, MV, OP >, Anasazi::StatusTestOutput< ScalarType, MV, OP >, and Anasazi::StatusTestResNorm< ScalarType, MV, OP >. |
1.3.9.1