46 #include <Xyce_config.h>
53 #include <N_UTL_fwd.h>
69 status_(
NOX::StatusTest::Unconverged),
70 maxStepSize_(maxStepSize),
71 currentStepSize_(0.0),
83 NOX::StatusTest::CheckType checkType)
85 status_ = NOX::StatusTest::Unconverged;
91 dout() <<
"NOX::StatusTest::PseudoTransientTest::checkStatus - failed dynamic_cast solver to PseudoTransientBased!" << std::endl;
99 status_ = NOX::StatusTest::Converged;
106 for (
int j = 0; j < indent; ++j )
109 stream <<
"Pseudo Transient Step Size = "
114 for (
int j = 0; j < indent; ++j)
117 stream <<
"Pseudo Transient Residual Reduction = "
119 <<
" < " << NOX::Utils::sciformat(
minNormF_, 5);
Pure virtual class to augment a linear system.
NOX::StatusTest::StatusType checkStatus(const NOX::Solver::Generic &problem, NOX::StatusTest::CheckType checkType)
NOX::StatusTest::StatusType status_
PseudoTransientTest(double maxStepSize, double minNormF)
std::ostream & print(std::ostream &stream, int indent=0) const
virtual double getPseudoTransientStepSize() const
Return the pseudo transient step size.