33 namespace functionObjects
47 class R = decltype(std::declval<A>() - std::declval<B>())
60 bool Foam::functionObjects::subtract::calc()
62 return calcOp<minusOpAuto>();
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.
Base class for expressions involving multiple fields.
void setResultName(const word &functionName, const wordList &defaultFieldNames=wordList::null())
Set the result name.
From the first field subtract the remaining fields in the list.
virtual ~subtract()
Destructor.
subtract(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
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.
R operator()(const A &a, const B &b)