Go to the documentation of this file.
102 #ifndef functionObjects_fieldExtents_H
103 #define functionObjects_fieldExtents_H
113 namespace functionObjects
122 public fvMeshFunctionObject,
155 const GeometricField<Type, fvPatchField, volMesh>&
field
162 const word& fieldName,
163 const bool calcMag =
false
180 const dictionary&
dict
labelHashSet patchIDs_
Patches to assess.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
tmp< volScalarField > calcMask(const GeometricField< Type, fvPatchField, volMesh > &field) const
Return the field mask.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
void calcFieldExtents(const word &fieldName, const bool calcMag=false)
Main calculation.
volFieldSelection fieldSet_
Fields to assess.
virtual bool execute()
Execute, currently does nothing.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual ~fieldExtents()=default
Destructor.
TypeName("fieldExtents")
Runtime type information.
Helper class to manage solver field selections.
bool internalField_
Flag to write the internal field extents.
point C0_
Reference position.
virtual void writeFileHeader(Ostream &os)
Output file header information.
fieldExtents(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar threshold_
Threshold value.
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Return the name of this functionObject.
virtual bool read(const dictionary &)
Read the field extents data.
virtual bool write()
Write the fieldExtents.
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
Computes the spatial minimum and maximum extents of an input field.
void operator=(const fieldExtents &)=delete
No copy assignment.