46 std::ostringstream & oss);
103 if (executioner->isParamSetByUser(param))
107 return executioner->getParam<T>(param);
110 return getParam<T>(param);
virtual void nonlinearConvergenceSetup()
Performs setup necessary for each call to checkConvergence.
const Real _nl_rel_div_tol
Nonlinear relative divergence tolerance.
DefaultNonlinearConvergence(const InputParameters ¶meters)
virtual bool checkRelativeConvergence(const unsigned int it, const Real fnorm, const Real ref_norm, const Real rel_tol, const Real abs_tol, std::ostringstream &oss)
Check the relative convergence of the nonlinear solution.
virtual MooseConvergenceStatus checkConvergence(unsigned int iter) override
Returns convergence status.
const bool _added_as_default
True if this object was added as a default instead of by the user.
const Real _nl_abs_div_tol
Nonlinear absolute divergence tolerance.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual const std::string & name() const
Get the name of the class.
MooseApp & getMooseApp() const
Get the MooseApp this class is associated with.
static InputParameters residualConvergenceParams()
const unsigned int _nl_max_pingpong
Maximum number of nonlinear ping-pong iterations for a solve.
Base class for convergence criteria.
void checkDuplicateSetSharedExecutionerParams() const
Throws an error if any of the parameters shared with the executioner have been set by the user in bot...
const T & getSharedExecutionerParam(const std::string &name)
This method is to be used for parameters that are shared with the executioner.
Executioner * getExecutioner() const
Retrieve the Executioner for this App.
MooseConvergenceStatus
Status returned by calls to checkConvergence.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
bool isParamSetByUser(const std::string &nm) const
Test if the supplied parameter is set by a user, as opposed to not set or set to default.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _nl_current_pingpong
Current number of nonlinear ping-pong iterations for the current solve.
unsigned int _nl_forced_its
Number of iterations to force.
std::vector< std::string > _duplicate_shared_executioner_params
List of shared executioner parameters that have been set by the user in both places.
const InputParameters & parameters() const
Get the parameters of the object.
const Real _div_threshold
Divergence threshold value.
FEProblemBase & _fe_problem
Default convergence criteria for FEProblem.