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, CThermoMixtureThermoPhys)
 
#define makeThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
 
#define makeThermos(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, \
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,
  CThermoMixtureThermoPhys 
)
Value:
\
addToRunTimeSelectionTable \
( \
BaseThermo, \
CThermoMixtureThermoPhys, \
fvMesh \
)

Definition at line 61 of file makeThermo.H.

◆ makeThermo

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

Definition at line 71 of file makeThermo.H.

◆ makeThermos

#define makeThermos (   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, CThermoMixtureThermoPhys)
Definition: makeThermo.H:61

Definition at line 78 of file makeThermo.H.