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