|
NOX Development
|
Failure test based on the maximum number of continuation steps. More...
#include <LOCA_StatusTest_MaxIters.H>


Public Member Functions | |
| MaxIters (int maxIterations, bool return_failed_on_max_steps=true, const Teuchos::RCP< const LOCA::GlobalData > globalData=Teuchos::null) | |
| Constructor. Specify the maximum number of nonlinear solver iterations, | |
| virtual | ~MaxIters () |
| Destructor. | |
| virtual LOCA::StatusTest::StatusType | checkStatus (const LOCA::Abstract::Iterator &stepper, LOCA::StatusTest::CheckType status) |
| Test the stopping criterion | |
| virtual LOCA::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 LOCA::StatusTest::Abstract | |
| Abstract () | |
| Constructor. | |
| virtual | ~Abstract () |
| Destructor. | |
Failure test based on the maximum number of continuation steps.
Let 
LOCA::Stepper::getNumTotalSteps) and 

|
virtual |
Test the stopping criterion
The test can (and should, if possible) be skipped if checkType is LOCA::StatusType::None. If the test is skipped, then the status should be set to LOCA::StatusTest::Unevaluated.
Implements LOCA::StatusTest::Abstract.
|
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 LOCA::StatusTest::Abstract.
|
virtual |
Output formatted description of stopping test to output stream.
Implements LOCA::StatusTest::Abstract.