33 namespace functionObjects
43 bool Foam::functionObjects::components::calc()
45 bool processed =
false;
47 processed = processed || calcComponents<vector>();
48 processed = processed || calcComponents<sphericalTensor>();
49 processed = processed || calcComponents<symmTensor>();
50 processed = processed || calcComponents<tensor>();
54 cannotFindObject(fieldName_);
88 written = written && writeObject(resultNames_[i]);
101 cleared = cleared && clearObject(resultNames_[i]);
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
virtual bool write()
Write the component fields.
defineTypeNameAndDebug(Qdot, 0)
components(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual ~components()
Destructor.
virtual bool clear()
Clear the component fields from the objectRegistry.