40#ifndef TimeScaleModel_H
41#define TimeScaleModel_H
A field of fields is a PtrList of fields with reference counting.
Base class for time scale models.
virtual autoPtr< TimeScaleModel > clone() const =0
Construct and return a clone.
virtual tmp< FieldField< Field, scalar > > oneByTau(const FieldField< Field, scalar > &alpha, const FieldField< Field, scalar > &r32, const FieldField< Field, scalar > &uSqr, const FieldField< Field, scalar > &f) const =0
Member Functions.
static autoPtr< TimeScaleModel > New(const dictionary &dict)
Selector.
TypeName("timeScaleModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, TimeScaleModel, dictionary,(const dictionary &dict),(dict))
Declare runtime constructor selection table.
virtual ~TimeScaleModel()
Destructor.
scalar e_
Coefficient of restitution.
scalar alphaPacked_
Close pack volume fraction.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.