40 #ifndef functionObjects_fieldValue_H
41 #define functionObjects_fieldValue_H
56 namespace functionObjects
147 const bool output =
true
176 virtual bool write();
Pre-declare SubField and related Field type.
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 keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
Base class for field value -based function objects.
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.
dictionary dict_
Construction dictionary.
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.
const dictionary & dict() const
Return the reference to the construction dictionary.
virtual bool execute()
Execute.
virtual bool write()
Write.
void combineFields(Field< Type > &field)
Combine fields from all processor domains into single field.
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 managing temporary objects.
A class for handling words, derived from string.