Go to the documentation of this file.
35 namespace functionObjects
45 bool Foam::functionObjects::randomise::calc()
47 bool processed =
false;
49 processed = processed || calcRandomised<scalar>();
50 processed = processed || calcRandomised<vector>();
51 processed = processed || calcRandomised<sphericalTensor>();
52 processed = processed || calcRandomised<symmTensor>();
53 processed = processed || calcRandomised<tensor>();
86 dict.readEntry(
"magPerturbation", magPerturbation_);
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
Same as readInt32.
virtual ~randomise()
Destructor.
virtual bool read(const dictionary &dict)
Read the fieldExpression data.
addToRunTimeSelectionTable(functionObject, add, dictionary)
randomise(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool read(const dictionary &)
Read the randomise data.
word name(const complex &c)
Return string representation of complex.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
Base class for field expression function objects.