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

Macros for creating basic 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, Mixture, ThermoPhysics)
 
#define addThermo(SelectThermo, BaseThermo, Mixture, ThermoPhysics)
 
#define makeThermo(BaseThermo, Mixture, ThermoPhysics)
 

Detailed Description

Macros for creating basic thermo packages.

Original source file makeThermo.H

InClass Foam::fluidThermo

Definition in file makeThermo.H.

Macro Definition Documentation

◆ defineThermo

#define defineThermo (   BaseThermo,
  Mixture,
  ThermoPhysics 
)
Value:
\
typedef \
NamedThermo<BaseThermo::DerivedThermoType<Mixture<ThermoPhysics>>> \
BaseThermo##Mixture##ThermoPhysics; \
\
defineTemplateTypeNameAndDebugWithName \
( \
BaseThermo##Mixture##ThermoPhysics, \
( \
BaseThermo::derivedThermoName + "<" \
+ Mixture<ThermoPhysics>::typeName() + ">" \
).c_str(), \
0 \
);

Definition at line 41 of file makeThermo.H.

◆ addThermo

#define addThermo (   SelectThermo,
  BaseThermo,
  Mixture,
  ThermoPhysics 
)
Value:
\
addToRunTimeSelectionTable \
( \
SelectThermo, \
BaseThermo##Mixture##ThermoPhysics, \
fvMesh \
);

Definition at line 58 of file makeThermo.H.

◆ makeThermo

#define makeThermo (   BaseThermo,
  Mixture,
  ThermoPhysics 
)
Value:
\
defineThermo(BaseThermo, Mixture, ThermoPhysics); \
addThermo(basicThermo, BaseThermo, Mixture, ThermoPhysics); \
addThermo(BaseThermo, BaseThermo, Mixture, ThermoPhysics);
#define addThermo(SelectThermo, BaseThermo, Mixture, ThermoPhysics)
Definition: makeThermo.H:58

Definition at line 68 of file makeThermo.H.