43 #define typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie) \ 60 Transport##Type##Thermo##EqnOfState##Specie 63 #define defineThermoPhysicsThermo(BaseThermo,CThermo,Mixture,ThermoPhys) \ 71 CThermo##Mixture##ThermoPhys; \ 73 defineTemplateTypeNameAndDebugWithName \ 75 CThermo##Mixture##ThermoPhys, \ 76 (#CThermo"<" + Mixture<ThermoPhys>::typeName() + ">").c_str(), \ 81 #define addThermoPhysicsThermo(BaseThermo,CThermoMixtureThermoPhys) \ 83 addToRunTimeSelectionTable \ 86 CThermoMixtureThermoPhys, \ 90 addToRunTimeSelectionTable \ 93 CThermoMixtureThermoPhys, \ 98 #define makeThermoPhysicsThermo(BaseThermo,CThermo,Mixture,ThermoPhys) \ 100 defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 102 addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys) 105 #define makeThermoPhysicsThermos(BaseThermo,CThermo,Mixture,ThermoPhys) \ 107 defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 110 addThermoPhysicsThermo(basicThermo, CThermo##Mixture##ThermoPhys); \ 111 addThermoPhysicsThermo(fluidThermo, CThermo##Mixture##ThermoPhys); \ 112 addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys) 115 #define makeThermo(BaseThermo,CThermo,Mixture,Transport,Type,Thermo,EqnOfState,Specie) \ 117 typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \ 119 makeThermoPhysicsThermo \ 124 Transport##Type##Thermo##EqnOfState##Specie \ 128 #define makeThermos(BaseThermo,CThermo,Mixture,Transport,Type,Thermo,EqnOfState,Specie) \ 130 typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \ 132 makeThermoPhysicsThermos \ 137 Transport##Type##Thermo##EqnOfState##Specie \
Macros for easy insertion into run-time selection tables.