All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
makeThermo.H File Reference

Macros for creating basic fluid thermo packages. More...

Include dependency graph for makeThermo.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define defineThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
 
#define addThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
 
#define makeThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
 

Detailed Description

Macros for creating basic fluid thermo packages.

Original source file makeThermo.H

InClass Foam::fluidThermo

Definition in file makeThermo.H.

Macro Definition Documentation

◆ defineThermo

#define defineThermo (   BaseThermo,
  CThermo,
  Mixture,
  ThermoPhys 
)
Value:
\
typedef \
CThermo \
< \
BaseThermo::composite, \
Mixture<ThermoPhys> \
> \
CThermo##Mixture##ThermoPhys; \
\
defineTemplateTypeNameAndDebugWithName \
( \
CThermo##Mixture##ThermoPhys, \
( \
word(CThermo##Mixture##ThermoPhys::typeName_()) + "<" \
+ Mixture<ThermoPhys>::typeName() + ">" \
).c_str(), \
0 \
)

Definition at line 40 of file makeThermo.H.

◆ addThermo

#define addThermo (   BaseThermo,
  CThermo,
  Mixture,
  ThermoPhys 
)
Value:
\
addToRunTimeSelectionTable \
( \
BaseThermo, \
CThermo##Mixture##ThermoPhys, \
fvMesh \
)

Definition at line 61 of file makeThermo.H.

◆ makeThermo

#define makeThermo (   BaseThermo,
  CThermo,
  Mixture,
  ThermoPhys 
)
Value:
\
defineThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \
addThermo(basicThermo, CThermo, Mixture, ThermoPhys); \
addThermo(fluidThermo, CThermo, Mixture, ThermoPhys); \
addThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
#define addThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
Definition: makeThermo.H:61

Definition at line 71 of file makeThermo.H.