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