34 namespace functionObjects
48 class R = decltype(std::declval<A>() + std::declval<B>())
61 bool Foam::functionObjects::add::calc()
63 return calcOp<plusOpAuto>();
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.
virtual ~add()
Destructor.
add(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
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.
Combination-Reduction operation for a parallel run.
R operator()(const A &a, const B &b)