|
NOX Development
|
Failure test based on the maximum number of nonlinear solver iterations. More...
#include <NOX_StatusTest_MaxIters.H>


Public Member Functions | |
| MaxIters (int maxIterations, const NOX::Utils *u=NULL) | |
| Constructor. Specify the maximum number of nonlinear solver iterations, | |
| virtual | ~MaxIters () |
| Destructor. | |
| virtual NOX::StatusTest::StatusType | checkStatus (const NOX::Solver::Generic &problem, NOX::StatusTest::CheckType checkType) |
| Test the stopping criterion | |
| virtual NOX::StatusTest::StatusType | getStatus () const |
| Return the result of the most recent checkStatus call. | |
| virtual std::ostream & | print (std::ostream &stream, int indent=0) const |
| Output formatted description of stopping test to output stream. | |
| virtual int | getMaxIters () const |
| Returns the Maximum number of iterations set in the constructor. | |
| virtual int | getNumIters () const |
| Returns the current number of iterations taken by the solver. | |
Public Member Functions inherited from NOX::StatusTest::Generic | |
| Generic () | |
| Constructor. | |
| virtual | ~Generic () |
| Destructor. | |
Failure test based on the maximum number of nonlinear solver iterations.
Let 


|
virtual |
Test the stopping criterion
The test can (and should, if possible) be skipped if checkType is NOX::StatusType::None. If the test is skipped, then the status should be set to NOX::StatusTest::Unevaluated.
Implements NOX::StatusTest::Generic.
References NOX::StatusTest::Complete, NOX::StatusTest::Failed, NOX::Solver::Generic::getNumIterations(), NOX::StatusTest::Minimal, NOX::StatusTest::None, NOX::StatusTest::Unconverged, and NOX::StatusTest::Unevaluated.
|
virtual |
Returns the current number of iterations taken by the solver.
Returns -1 if the status of this test is NOX::StatusTest::Unevaluated.
|
virtual |
Return the result of the most recent checkStatus call.
Implements NOX::StatusTest::Generic.
|
virtual |
Output formatted description of stopping test to output stream.
Implements NOX::StatusTest::Generic.