33 namespace functionObjects
43 bool Foam::functionObjects::grad::calc()
45 bool processed =
false;
47 processed = processed || calcGrad<scalar>();
48 processed = processed || calcGrad<vector>();
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.
const word fieldName_
Name of field to process.
Calculates the gradient of a field.
virtual ~grad()
Destructor.
grad(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
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.