38 namespace functionObjects
52 class R = decltype(std::declval<A>()/std::declval<B>())
65 bool Foam::functionObjects::divide::calc()
67 return calcOp<divideOpAuto>();
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.
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.
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.
Specialisation of FieldField<Field, T> for sphericalTensor.
R operator()(const A &a, const B &b)