23 "accumulate_over_step",
25 "When set to true, accumulates to count the total over all Picard iterations for each step");
33 _accumulate_over_step(getParam<bool>(
"accumulate_over_step")),
virtual unsigned int nNonlinearIterations(const unsigned int nl_sys_num) const
virtual void timestepSetup() override
Initialization to be done at each timestep.
virtual Real & time() const
NumNonlinearIterations(const InputParameters ¶meters)
NumNonlinearIterations is a postprocessor that reports the number of nonlinear iterations.
static InputParameters validParams()
Real _time
Stores the last time this was executed.
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
unsigned int _num_iters
Stores the nonlinear iteration count.
auto max(const L &left, const R &right)
SubProblem & _subproblem
Reference to the Subproblem for this user object.
static InputParameters validParams()
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
FEProblemBase * _fe_problem
Pointer to the FEProblemBase.
SystemBase & _sys
Reference to the system object for this user object.
unsigned int number() const
Gets the number of this system.
bool _accumulate_over_step
True if we should accumulate over all nonlinear solves done as part of Picard iterations in a step...
registerMooseObject("MooseApp", NumNonlinearIterations)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
virtual Real getValue() const override
Get the number of nonlinear iterations.