40 #ifndef functionObjects_fieldValue_H 41 #define functionObjects_fieldValue_H 56 namespace functionObjects
129 const word& valueType
138 const word& valueType
147 const bool output =
true 179 virtual bool write();
virtual bool execute()
Execute.
dictionary dict_
Construction dictionary.
virtual ~fieldValue()
Destructor.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &dict)
Read from dictionary.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
const Switch & writeFields() const
Return the output field values flag.
Switch writeFields_
Output field values flag.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
dictionary resultDict_
Results dictionary for external access of results.
TypeName("fieldValue")
Run-time type information.
void combineFields(Field< Type > &field)
Combine fields from all processor domains into single field.
Pre-declare SubField and related Field type.
fieldValue(const word &name, const Time &runTime, const dictionary &dict, const word &valueType)
Construct from Time and dictionary.
A class for handling words, derived from string.
const dictionary & resultDict() const
Return access to the latest set of results.
const dictionary & dict() const
Return the reference to the construction 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.
wordList fields_
List of field names to operate on.
declareRunTimeSelectionTable(autoPtr, fieldValue, dictionary,(const word &name, const objectRegistry &obr, const dictionary &dict),(name, obr, dict))
const wordList & fields() const
Return the list of field names.
word regionName_
Name of region (patch, zone, etc.)
const word & regionName() const
Return the region name.
Base class for field value -based function objects.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
A class for managing temporary objects.
Registry of regIOobjects.
virtual bool write()
Write.
functionObject base class for creating, maintaining and writing log files e.g. integrated of averaged...