Go to the documentation of this file.
82 #ifndef functionObjects_fieldExtents_H
83 #define functionObjects_fieldExtents_H
93 namespace functionObjects
102 public fvMeshFunctionObject,
134 const GeometricField<Type, fvPatchField, volMesh>&
field
141 const word& fieldName,
142 const bool calcMag =
false
182 virtual bool write();
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.
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; default = (0 0 0)
virtual void writeFileHeader(Ostream &os)
Output file header information.
fieldExtents(const fieldExtents &)=delete
No copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar threshold_
Threshold value.
virtual bool read(const dictionary &)
Read the field extents data.
const word & name() const
Return the name of this functionObject.
virtual bool write()
Write the fieldExtents.
functionObject base class for writing single files
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 with label keys and label hasher.
Calculates the spatial minimum and maximum extents of a field.
void operator=(const fieldExtents &)=delete
No copy assignment.