35#ifndef granularPressureModel_H
36#define granularPressureModel_H
47namespace kineticTheoryModels
54class granularPressureModel
60 const dictionary&
dict_;
const volScalarField & alpha1
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,...
virtual tmp< volScalarField > granularPressureCoeff(const volScalarField &alpha1, const volScalarField &g0, const volScalarField &rho1, const dimensionedScalar &e) const =0
Granular pressure coefficient.
TypeName("granularPressureModel")
Runtime type information.
static autoPtr< granularPressureModel > New(const dictionary &dict)
granularPressureModel(const dictionary &dict)
Construct from components.
declareRunTimeSelectionTable(autoPtr, granularPressureModel, dictionary,(const dictionary &dict),(dict))
virtual ~granularPressureModel()=default
Destructor.
static autoPtr< granularPressureModel > New(const dictionary &dict)
virtual tmp< volScalarField > granularPressureCoeffPrime(const volScalarField &alpha1, const volScalarField &g0, const volScalarField &g0prime, const volScalarField &rho1, const dimensionedScalar &e) const =0
Derivative of the granular pressure coefficient.
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.