Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void tryInit()
Initialise - typically setting static variables,.
defineTypeNameAndDebug(calcType, 0)
virtual void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Time loop calculations.
void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(calcType, dictionary)
virtual void postCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Post-time loop calculations.
calcType()
Construct null.
virtual ~calcType()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
virtual void preCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Pre-time loop calculations.
void tryCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Time loop calculations.
virtual void init()
Initialise - typically setting static variables,.
Foam::argList args(argc, argv)
Base class for post-processing calculation functions.
void tryPostCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Post-time loop calculations.
void tryPreCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Pre-time loop calculations.