Go to the documentation of this file.
36 namespace functionObjects
46 bool Foam::functionObjects::components::calc()
48 bool processed =
false;
50 processed = processed || calcComponents<vector>();
51 processed = processed || calcComponents<sphericalTensor>();
52 processed = processed || calcComponents<symmTensor>();
53 processed = processed || calcComponents<tensor>();
78 for (
const word& result : resultNames_)
80 ok = writeObject(result) && ok;
91 for (
const word& result : resultNames_)
93 ok = clearObject(result) && ok;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
virtual bool clear()
Clear the component fields from the objectRegistry.
components(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
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.
virtual bool write()
Write the component fields.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.