Go to the documentation of this file.
94 const objectRegistry&
obr_;
114 const word& gradName,
119 template<
class FieldType>
122 const word& fieldName,
123 const word& resultName,
149 const bool loadFromFiles =
false
178 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.
word resultName_
Name of result field.
const objectRegistry & obr_
Reference to the database.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
Dimension set for the base types.
virtual void end()
Execute at the final time-loop, currently does nothing.
This function object calculates the divergence of a field. The operation is limited to surfaceScalarF...
Mesh consisting of general polyhedral cells.
void calcDiv(const word &fieldName, const word &resultName, bool &processed)
Helper function to calculate the divergence of different field types.
Registry of regIOobjects.
bool active_
On/off switch.
calcFvcDiv(const calcFvcDiv &)
Disallow default bitwise copy construct.
virtual void write()
Calculate the calcFvcDiv and write.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
volScalarField & divField(const word &gradName, const dimensionSet &dims)
Helper function to create/store/return the divergence field.
TypeName("calcFvcDiv")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
word name_
Name of this calcFvcDiv object.
word fieldName_
Name of field to process.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
void operator=(const calcFvcDiv &)
Disallow default bitwise assignment.
virtual void execute()
Execute, currently does nothing.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual ~calcFvcDiv()
Destructor.
virtual const word & name() const
Return name of the set of calcFvcDiv.
Generic GeometricField class.
virtual void read(const dictionary &)
Read the calcFvcDiv data.
Switch log_
Switch to send output to Info as well as to file.