36 #ifndef saturationTemperatureModel_H
37 #define saturationTemperatureModel_H
45 #define DEFINE_TSAT(FieldType, Modifier) \
47 virtual tmp<FieldType> Tsat(const FieldType& p) const Modifier; \
49 virtual tmp<FieldType> TsatPrime(const FieldType& p) const Modifier; \
52 #define IMPLEMENT_TSAT(ModelType, FieldType) \
54 Foam::tmp<Foam::FieldType> \
55 Foam::ModelType::Tsat(const FieldType& p) const \
57 return Tsat<FieldType>(p); \
60 Foam::tmp<Foam::FieldType> \
61 Foam::ModelType::TsatPrime(const FieldType& p) const \
63 return TsatPrime<FieldType>(p); \
83 template<
class FieldType>
87 template<
class FieldType>
94 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Model to describe the dependence of saturation temperature on pressure.
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 managing temporary objects.
A class for handling words, derived from string.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Macros to ease declaration of run-time selection tables.
#define DEFINE_TSAT(FieldType, Modifier)