Go to the documentation of this file.
97 bool processed =
false;
99 writeRandomField<vector>
107 writeRandomField<sphericalTensor>
115 writeRandomField<symmTensor>
123 writeRandomField<tensor>
135 <<
"Unable to process " << fieldName <<
nl
136 <<
"No call to randomise for fields of type "
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Simple random number generator.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void init()
Initialise - typically setting static variables,.
bool headerOk()
Read and check header info.
const word & headerClassName() const
Return name of the class name read from header.
defineTypeNameAndDebug(addSubtract, 0)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(calcType, addSubtract, dictionary)
Mesh data needed to do the Finite Volume discretisation.
virtual ~randomise()
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Time loop calculations.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
T argRead(const label index) const
Read a value from the argument at index.
randomise()
Construct null.
virtual void preCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Pre-time loop calculations.
Foam::argList args(argc, argv)
Base class for post-processing calculation functions.