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>();
85 written = written && writeObject(resultNames_[i]);
98 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...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool write()
Write the component fields.
components(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual ~components()
Destructor.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
virtual bool clear()
Clear the component fields from the objectRegistry.
addToRunTimeSelectionTable(functionObject, add, dictionary)