20 "The name of the postprocessor that computes the dt");
22 params.
addParam<
Real>(
"scale", 1,
"Multiple scale and supplied postprocessor value.");
23 params.
addParam<
Real>(
"offset", 0,
"Add an offset to the supplied postprocessor value.");
25 "Add an offset to the supplied postprocessor value",
26 "offset has replaced factor for that same purpose");
33 _pps_value(getPostprocessorValue(
"postprocessor")),
34 _has_initial_dt(isParamValid(
"dt")),
35 _initial_dt(_has_initial_dt ? getParam<
Real>(
"dt") : 0.),
36 _scale(getParam<
Real>(
"scale")),
37 _offset(isParamValid(
"offset") ? getParam<
Real>(
"offset") : getParam<
Real>(
"factor"))
static InputParameters validParams()
const Real & _scale
Multiplier applied to the postprocessor value.
Base class for time stepping.
registerMooseObject("MooseApp", PostprocessorDT)
const PostprocessorValue & _pps_value
virtual Real computeInitialDT() override
Called to compute _current_dt for the first timestep.
const Real & _offset
Offset added to the postprocessor value.
Computes the value of dt based on a postprocessor value.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
PostprocessorDT(const InputParameters ¶meters)
Interface class for classes which interact with Postprocessors.
virtual Real computeDT() override
Called to compute _current_dt for a normal step.