An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Unit conversion structure. Contains the associated dimensions and the multiplier with which to conver...
virtual ~userTime()
Destructor.
userTime(const dictionary &controlDict)
Construct from controlDict.
virtual word unitName() const =0
Return user-time unit.
TypeName("userTime")
Runtime type information.
virtual bool read(const dictionary &controlDict)=0
Read the controlDict and set all the parameters.
static autoPtr< userTime > New(const dictionary &controlDict)
declareRunTimeSelectionTable(autoPtr, userTime, dictionary,(const dictionary &controlDict),(controlDict))
Declare runtime constructor selection table.
static const dictionary & dict(const dictionary &controlDict)
Return the userTime sub-dictionary.
virtual scalar timeToUserTime(const scalar t) const =0
Convert the real-time (s) into user-time (e.g. CA deg)
virtual scalar userTimeToTime(const scalar tau) const =0
Convert the user-time (e.g. CA deg) to real-time (s).
virtual const unitConversion & units() const =0
Return the user-time unit conversion.
A class for handling words, derived from string.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
Macros to ease declaration of run-time selection tables.