23 MooseEnum residual_types(
"FINAL INITIAL_BEFORE_PRESET INITIAL_AFTER_PRESET",
"FINAL");
24 params.
addParam<
MooseEnum>(
"residual_type", residual_types,
"Type of residual to be reported.");
43 mooseError(
"Dynamic cast to FEProblemBase failed in Residual Postprocessor");
static InputParameters validParams()
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
registerMooseObject("MooseApp", Residual)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
SubProblem & _subproblem
Reference to the Subproblem for this user object.
virtual Real finalNonlinearResidual(const unsigned int nl_sys_num) const
virtual Real getValue() const override
This will return the final nonlinear residual.
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
NonlinearSystemBase & getNonlinearSystemBase(const unsigned int sys_num)
SystemBase & _sys
Reference to the system object for this user object.
unsigned int number() const
Gets the number of this system.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Residual(const InputParameters ¶meters)
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.