35 namespace functionObjects
45 bool Foam::functionObjects::div::calc()
47 bool processed =
false;
49 processed = processed || calcDiv<surfaceScalarField>();
50 processed = processed || calcDiv<volVectorField>();
Macros for easy insertion into run-time selection tables.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Calculates the divergence of a field. The operation is limited to surfaceScalarFields and volVectorFi...
virtual ~div()
Destructor.
div(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const word fieldName_
Name of field to process.
void cannotFindObject(const word &fieldName)
Prints a warning message that fieldName cannot be found.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
word name(const bool)
Return a word representation of a bool.