Go to the documentation of this file.
38 deltaTchanged_(false),
40 primaryOutputTime_(false),
41 secondaryOutputTimeIndex_(0),
42 secondaryOutputTime_(false),
69 return timeToUserTime(value());
scalar timeOutputValue() const
Return current time value.
bool outputTime() const
Return true if this is an output time (primary or secondary)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
dimensionedScalar deltaT() const
Return time step.
virtual scalar timeToUserTime(const scalar t) const
Convert the real-time (s) into user-time (e.g. CA deg)
virtual scalar userTimeToTime(const scalar theta) const
Convert the user-time (e.g. CA deg) to real-time (s).
dimensionedScalar deltaT0() const
Return old time step.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Generic dimensioned Type class.
virtual ~TimeState()
Destructor.
label timeIndex() const
Return current time index.