Go to the documentation of this file.
104 public functionObjectState,
105 public functionObjectFile
126 const objectRegistry&
obr_;
151 const label minProcI,
152 const label maxProcI,
183 const bool loadFromFiles =
false
209 const word& fieldName,
214 virtual void write();
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Base class for function objects, adding functionality to read/write state information (data required ...
const objectRegistry & obr_
Reference to the database.
void calcMinMaxFields(const word &fieldName, const modeType &mode)
Calculate the field min/max.
virtual ~fieldMinMax()
Destructor.
void output(const word &fieldName, const word &outputName, const vector &minC, const vector &maxC, const label minProcI, const label maxProcI, const Type &minValue, const Type &maxValue)
Helper function to write the output.
mode_t mode(const fileName &)
Return the file mode.
Mesh consisting of general polyhedral cells.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
Registry of regIOobjects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
wordList fieldSet_
Fields to assess min/max.
modeType mode_
Mode for min/max - only applicable for ranks > 0.
This function object calculates the value and position of scalar minimim and maximum for a list of us...
virtual void read(const dictionary &)
Read the field min/max data.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
virtual void execute()
Execute, currently does nothing.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void write()
Write the fieldMinMax.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void operator=(const fieldMinMax &)
Disallow default bitwise assignment.
Switch log_
Switch to send output to Info as well.
fieldMinMax(const fieldMinMax &)
Disallow default bitwise copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for output file data handling.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Switch writeLocation_
Switch to write location of min/max values.
TypeName("fieldMinMax")
Runtime type information.
static const NamedEnum< modeType, 2 > modeTypeNames_
Mode type names.
const word & name() const
Return the name.
virtual void writeFileHeader(Ostream &os) const
Output file header information.