75 #ifndef functionObjects_fieldMinMax_H 76 #define functionObjects_fieldMinMax_H 86 namespace functionObjects
95 public fvMeshFunctionObject,
130 const word& outputName,
135 const label minProci,
136 const label maxProci,
145 const word& fieldName,
186 virtual bool write();
virtual bool write()
Write the fieldMinMax.
mode_t mode(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file mode.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool execute()
Execute, currently does nothing.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
fieldMinMax(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
wordList fieldSet_
Fields to assess min/max.
virtual void writeFileHeader(const label i)
Output file header information.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void calcMinMaxFields(const word &fieldName, const modeType &mode)
Calculate the field min/max.
virtual bool read(const dictionary &)
Read the field min/max data.
A class for handling words, derived from string.
void operator=(const fieldMinMax &)=delete
Disallow default bitwise assignment.
virtual ~fieldMinMax()
Destructor.
Switch location_
Switch to write location of min/max values.
static const NamedEnum< modeType, 2 > modeTypeNames_
Mode type names.
void output(const word &fieldName, const word &outputName, const label minCell, const label maxCell, const vector &minC, const vector &maxC, const label minProci, const label maxProci, const Type &minValue, const Type &maxValue)
Helper function to write the output.
List< word > wordList
A List of words.
modeType mode_
Mode for min/max - only applicable for ranks > 0.
Calculates the value and location of scalar minimum and maximum for a list of user-specified fields...
TypeName("fieldMinMax")
Runtime type information.