40 #ifndef fieldValue_functionObject_H
41 #define fieldValue_functionObject_H
56 namespace functionObjects
133 const bool output =
true
162 virtual bool write();
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const word & name() const
Return the name of this functionObject.
Base class for field value -based function objects.
const dictionary & dict() const
Return the reference to the construction dictionary.
const Switch & writeFields() const
Return the output field values flag.
const dictionary & resultDict() const
Return access to the latest set of results.
declareRunTimeSelectionTable(autoPtr, fieldValue, dictionary,(const word &name, const objectRegistry &obr, const dictionary &dict),(name, obr, dict))
dictionary resultDict_
Results dictionary for external access of results.
virtual wordList fields() const
Return the list of fields required.
TypeName("fieldValue")
Run-time type information.
Switch writeFields_
Output field values flag.
virtual ~fieldValue()
Destructor.
virtual bool read(const dictionary &dict)
Read from dictionary.
wordList fields_
List of field names to operate on.
const word valueType_
The name of the type of value (volFieldValue, or surfaceFieldValue)
fieldValue(const word &name, const Time &runTime, const dictionary &dict, const word &valueType)
Construct from Time and dictionary.
static autoPtr< fieldValue > New(const word &name, const objectRegistry &obr, const dictionary &dict, const bool output=true)
Return a reference to the selected fieldValue.
virtual bool execute()
Execute.
virtual bool write()
Write.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
functionObject base class for creating, maintaining and writing log files e.g. integrated of averaged...
Registry of regIOobjects.
A class for handling words, derived from string.