38 #ifndef Foam_TimeState_H 39 #define Foam_TimeState_H
dimensionedScalar deltaT0() const
Return old time step.
scalar deltaTValue() const noexcept
Return time step value.
The time value with time-stepping information, user-defined remapping, etc.
virtual ~TimeState()=default
Destructor.
bool writeTime() const noexcept
True if this is a write time.
virtual scalar timeToUserTime(const scalar t) const
Convert the real-time (s) into user-time (e.g. CA deg)
bool outputTime() const noexcept
Deprecated(2016-05) return true if this is a write time.
virtual scalar userTimeToTime(const scalar theta) const
Convert the user-time (e.g. CA deg) to real-time (s).
label timeIndex() const noexcept
Return current time index.
scalar deltaT0Value() const noexcept
Return old time step value.
scalar timeOutputValue() const
Return current time value.
TimeState()
Construct a zero time state, using the current time formatting.
dimensionedScalar deltaT() const
Return time step.