43 #ifndef barotropicCompressibilityModel_H 44 #define barotropicCompressibilityModel_H 77 TypeName(
"barotropicCompressibilityModel");
92 (compressibilityProperties, gamma, psiName)
103 const word& psiName =
"psi" 117 const word& psiName =
"psi" 144 virtual bool read(
const dictionary& compressibilityProperties) = 0;
virtual void correct()=0
Correct the compressibility.
dictionary compressibilityProperties_
virtual bool read(const dictionary &compressibilityProperties)=0
Read compressibilityProperties dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator=(const barotropicCompressibilityModel &)=delete
Disallow default bitwise assignment.
virtual ~barotropicCompressibilityModel()
Destructor.
barotropicCompressibilityModel(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Construct from components.
A class for handling words, derived from string.
TypeName("barotropicCompressibilityModel")
Runtime type information.
const volScalarField & psi() const
Return the compressibility.
static autoPtr< barotropicCompressibilityModel > New(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Return a reference to the selected compressibility model.
const dictionary & compressibilityProperties() const
Return the phase transport properties dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
Abstract class for barotropic compressibility models.
const volScalarField & gamma_
declareRunTimeSelectionTable(autoPtr, barotropicCompressibilityModel, dictionary,(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName),(compressibilityProperties, gamma, psiName))