45 calc(args, runTime, mesh);
57 int main(
int argc,
char *argv[])
64 "suppress writing results" 75 runTime.setTime(timeDirs[timeI], timeI);
void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Mesh data needed to do the Finite Volume discretisation.
Function prototype for all simple post-processing functions e.g. calcDivPhi, calcMagU etc...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void tryCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Extract command arguments and options from the supplied argc and argv parameters. ...
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
Foam::argList args(argc, argv)
static instantList timeDirs
int main(int argc, char *argv[])
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.