27 virtual bool conditionMet(
const unsigned int & i)
override;
Base class for controls that enable/disable object(s) based on some condition.
const InputParameters & parameters() const
Get the parameters of the object.
Control for enabling/disabling objects when near or past times from a Times object.
const Real _time_window
The tolerance on hitting time points with the current simulation time.
const Times & _times
The time object providing the times.
static InputParameters validParams()
const bool _act_on_time_stepping_across_time_point
Whether to consider that going past a time point should trigger the control.
virtual bool conditionMet(const unsigned int &i) override
Condition that must be true for an entry of the "enable" list to be enabled and/or an entry of the "d...
Real _t_current
To keep track of the current time step.
Real _prev_time_point_current
To keep track of the current threshold to hit.
Real _prev_time_point
To keep track of the next threshold to hit.
Times objects are under the hood Reporters, but limited to a vector of Real.