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)
 

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() + "<" \
).c_str(), \
0 \
);
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.

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.