35namespace integrationSchemes
62 return dt/(1 + Beta*dt);
72 return sqr(dt)/(1 + Beta*dt);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions.
virtual ~Euler()
Destructor.
virtual scalar sumDtEff(const scalar dt, const scalar Beta) const
Return the integral of the effective time step (using an Euler.
virtual scalar dtEff(const scalar dt, const scalar Beta) const
Return the integration effective time step.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedSymmTensor sqr(const dimensionedVector &dv)