38 namespace functionObjects
52 class R = decltype(std::declval<A>()/std::declval<B>())
65 bool Foam::functionObjects::divide::calc()
67 return calcOp<divideOpAuto>();
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("B", Foam::dimless, 18.678)
#define R(A, B, C, D, E, F, K, M)
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.
divide(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual ~divide()
Destructor.
Base class for expressions involving multiple fields.
void setResultName(const word &functionName, const wordList &defaultFieldNames=wordList::null())
Set the result name.
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.
Specialisation of FieldField<Field, T> for sphericalTensor.
R operator()(const A &a, const B &b)