Go to the documentation of this file.
77 #ifndef functionObjects_fieldValue_H
78 #define functionObjects_fieldValue_H
89 namespace functionObjects
98 public fvMeshFunctionObject,
162 const word& valueType
171 const word& valueType
209 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static Ostream & output(Ostream &os, const IntRange< T > &range)
TypeName("fieldValue")
Run-time type information.
A class for handling words, derived from Foam::string.
virtual bool read(const dictionary &dict)
Read from dictionary.
A class for managing temporary objects.
virtual bool execute()
Execute.
const dictionary & dict() const
Return the reference to the construction dictionary.
scalar scaleFactor_
Scaling factor.
static autoPtr< fieldValue > New(const word &name, const objectRegistry &obr, const dictionary &dict, const bool output=true)
Return a reference to the selected fieldValue.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual ~fieldValue()=default
Destructor.
Registry of regIOobjects.
fieldValue(const word &name, const Time &runTime, const dictionary &dict, const word &valueType)
Construct from Time and dictionary.
declareRunTimeSelectionTable(autoPtr, fieldValue, dictionary,(const word &name, const objectRegistry &obr, const dictionary &dict),(name, obr, dict))
dictionary dict_
Construction dictionary.
bool writeFields_
Flag to output field values.
word regionName_
Name of region (patch, zone, etc.)
Generic templated field type.
const word & regionName() const
Return the region name.
wordList fields_
Names of operand fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const
Return the name of this functionObject.
Intermediate class for handling field value-based function objects.
virtual const objectRegistry & obr() const
The region or sub-region registry being used.
bool writeFields() const
Return the output field values flag.
const wordList & fields() const
Return the list of field names.
Base class for writing single files from the function objects.
virtual bool write()
Write.
void combineFields(Field< Type > &field)
Combine fields from all processor domains into single field.