37 #ifndef saturationTemperatureModel_H
38 #define saturationTemperatureModel_H
46 #define DEFINE_TSAT(FieldType, Modifier) \
48 virtual tmp<FieldType> Tsat(const FieldType& p) const Modifier; \
51 #define IMPLEMENT_TSAT(ModelType, FieldType) \
53 Foam::tmp<Foam::FieldType> \
54 Foam::saturationModels::ModelType::Tsat(const FieldType& p) const \
56 return Tsat<FieldType>(p); \
74 TypeName(
"saturationTemperatureModel");
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
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....
Model to describe the dependence of saturation pressure on temperature, and vice versa.
static autoPtr< saturationTemperatureModel > New(const dictionary &dict)
Select with dictionary.
saturationTemperatureModel()
Default construct.
TypeName("saturationTemperatureModel")
Runtime type information.
virtual ~saturationTemperatureModel()
Destructor.
declareRunTimeSelectionTable(autoPtr, saturationTemperatureModel, dictionary,(const dictionary &dict),(dict))
Declare runtime construction.
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
Macros to ease declaration of run-time selection tables.
#define DEFINE_TSAT(FieldType, Modifier)