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