147 struct step_attribute_t
150 step_attribute_t() : dt(0.0), tcurr(0.0), frame(0)
162 step_attribute_t _step;
Base class for objects which can be advanced in time.
Definition: wxstepper.h:26
void setDt(time_t dt)
Set time-step for the step method.
void setCurrentFrame(int frame)
Set current frame number.
virtual WxStepperStatus step()=0
Advance the stepper by assigned time step.
time_t getDt() const
Get time-step for the step method.
Definition: wxstepper.h:63
virtual WxStepperStatus end()
Perform actions only done at simulation end.
Definition: wxstepper.h:141
int getCurrentFrame() const
Get the current frame number.
Definition: wxstepper.h:118
virtual ~WxStepper()
Dtor: destroy object.
WxStepper()
Create a new stepper.
Definition: wxstepper.h:44
void setCurrentTime(time_t tcurr)
Set current time.
int incrementCurrentFrame()
Increment current frame number.
time_t getCurrentTime() const
Get the current time.
Definition: wxstepper.h:95
time_t incrementCurrentTime(time_t tadd)
Increment current time.
real time_t
Time scalar data type.
Definition: wxstepper.h:31
void setTimeData(const WxStepper &timeData)
Set time data for the step method.
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
int dt
Definition: avisc_artificial_dissipation_1d.py:184
frame
Definition: postproc_1d.py:35
#define real
Definition: wmoclunstructuredreconstruction.h:11