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