34 namespace functionObjects
48 class R = decltype(std::declval<A>() + std::declval<B>())
61 bool Foam::functionObjects::add::calc()
63 return calcOp<plusOpAuto>();
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
const volSymmTensorField R(IOobject("R", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), turbulence->R())
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
static const coefficient B("B", dimless, 18.678)
static const coefficient A("A", dimPressure, 611.21)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Combination-Reduction operation for a parallel run.
R operator()(const A &a, const B &b)