102 #ifndef Foam_functionObjects_fieldExtents_H 103 #define Foam_functionObjects_fieldExtents_H 113 namespace functionObjects
122 public fvMeshFunctionObject,
154 const GeometricField<Type, fvPatchField, volMesh>&
field 161 const word& fieldName,
162 const bool calcMag =
false 202 virtual bool write();
Computes the spatial minimum and maximum extents of an input field.
void operator=(const fieldExtents &)=delete
No copy assignment.
labelList patchIDs_
Patches to assess.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< volScalarField > calcMask(const GeometricField< Type, fvPatchField, volMesh > &field) const
Return the field mask.
point C0_
Reference position.
TypeName("fieldExtents")
Runtime type information.
const word & name() const noexcept
Return the name of this functionObject.
scalar threshold_
Threshold value.
virtual bool write()
Write the fieldExtents.
virtual void writeFileHeader(Ostream &os)
Output file header information.
void calcFieldExtents(const word &fieldName, const bool calcMag=false)
Main calculation.
virtual ~fieldExtents()=default
Destructor.
OBJstream os(runTime.globalPath()/outputName)
volFieldSelection fieldSet_
Fields to assess.
vector point
Point is a vector.
virtual bool read(const dictionary &)
Read the field extents data.
bool internalField_
Flag to write the internal field extents.
virtual bool execute()
Execute, currently does nothing.
List< label > labelList
A List of labels.
A class for managing temporary objects.
fieldExtents(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.