47 virtual void init()
override {}
65 std::vector<Real>
buildSequence(
const std::vector<Real> & times)
const;
std::vector< Real > buildSequence(const std::vector< Real > ×) const
Build the canonical time sequence for the current start and end times.
virtual void init() override
Initialize the time stepper.
virtual void refreshSequence()
Re-read a time sequence source that can change during the simulation.
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int & _current_step
the step that the time stepper is currently at
Base class for time stepping.
TimeSequenceStepperBase(const InputParameters ¶meters)
void synchronizeCurrentStep(Real time, Real tolerance)
Set the current sequence position from time.
void setupSequence(const std::vector< Real > ×)
bool advanceToFutureTime(Real time, Real tolerance, Real &next_time)
Return the first sequence time that has not yet been reached, if any.
std::vector< Real >::const_iterator findFirstFutureTime(Real time, Real tolerance) const
Find the first sequence time greater than time by more than tolerance.
void increaseCurrentStep()
const bool _set_end_time
Whether to use the last t in sequence as Executioner end_time.
virtual Real getNextTimeInSequence()
Get the next time in the input time sequence.
std::vector< Real > & _time_sequence
stores the sequence of time points
virtual Real computeDT() override
Computes time step size after the initial time step.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeInitialDT() override
Computes time step size for the initial time step.
Solves the PDEs at a sequence of given time points.
static InputParameters validParams()
const bool _use_last_dt_after_last_t
Whether to use the final dt past the last t in sequence.
virtual void acceptStep() override
This gets called when time step is accepted.
void updateSequence(const std::vector< Real > ×)