33 namespace functionObjects
43 bool Foam::functionObjects::scale::calc()
45 bool processed =
false;
47 #define processType(fieldType, none) \
48 processed = processed || calcScale<fieldType>();
86 dict.lookup(
"scale") >> scale_;
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.
void cannotFindObject(const word &fieldName)
Prints a warning message that fieldName cannot be found.
Multiplies a field by a scaling factor.
virtual ~scale()
Destructor.
scale(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool read(const dictionary &)
Read the randomise data.
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.
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)
#define processType(fieldType, none)