73 #ifndef integrationScheme_H
74 #define integrationScheme_H
167 virtual scalar
dtEff(
const scalar dt,
const scalar Beta)
const = 0;
170 virtual scalar
sumDtEff(
const scalar dt,
const scalar Beta)
const = 0;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base for a set of schemes which integrate simple ODEs which arise from semi-implicit rate expressions...
Type partialDelta(const Type &phi, const scalar dt, const Type &Alpha, const scalar Beta, const Type &alphai, const scalar betai) const
Perform a part of the integration.
declareRunTimeSelectionTable(autoPtr, integrationScheme, word,(),())
Declare runtime constructor selection table.
virtual ~integrationScheme()
Destructor.
static autoPtr< integrationScheme > New(const word &phiName, const dictionary &dict)
Select an integration scheme.
virtual scalar sumDtEff(const scalar dt, const scalar Beta) const =0
Return the integral of the effective time step.
integrationScheme()
Construct.
virtual autoPtr< integrationScheme > clone() const =0
Construct and return clone.
Type delta(const Type &phi, const scalar dt, const Type &Alpha, const scalar Beta) const
Perform the integration.
TypeName("integrationScheme")
Runtime type information.
static Type explicitDelta(const Type &phi, const scalar dtEff, const Type &Alpha, const scalar Beta)
Perform the integration explicitly.
virtual scalar dtEff(const scalar dt, const scalar Beta) const =0
Return the integration effective time step.
A class for handling words, derived from string.
Macros to ease declaration of run-time selection tables.