40 #define typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie) \ 57 Transport##Type##Thermo##EqnOfState##Specie 60 #define defineThermoPhysicsThermo(BaseThermo,CThermo,Mixture,ThermoPhys) \ 68 CThermo##Mixture##ThermoPhys; \ 70 defineTemplateTypeNameAndDebugWithName \ 72 CThermo##Mixture##ThermoPhys, \ 73 (#CThermo"<" + Mixture<ThermoPhys>::typeName() + ">").c_str(), \ 78 #define addThermoPhysicsThermo(BaseThermo,CThermoMixtureThermoPhys) \ 80 addToRunTimeSelectionTable \ 83 CThermoMixtureThermoPhys, \ 88 #define makeThermoPhysicsThermo(BaseThermo,CThermo,Mixture,ThermoPhys) \ 90 defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 92 addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys) 95 #define makeThermoPhysicsThermos(BaseThermo,CThermo,Mixture,ThermoPhys) \ 97 defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 99 addThermoPhysicsThermo(basicThermo, CThermo##Mixture##ThermoPhys); \ 100 addThermoPhysicsThermo(fluidThermo, CThermo##Mixture##ThermoPhys); \ 101 addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys) 104 #define makeThermo(BaseThermo,CThermo,Mixture,Transport,Type,Thermo,EqnOfState,Specie) \ 106 typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \ 108 makeThermoPhysicsThermo \ 113 Transport##Type##Thermo##EqnOfState##Specie \ 117 #define makeThermos(BaseThermo,CThermo,Mixture,Transport,Type,Thermo,EqnOfState,Specie) \ 119 typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \ 121 makeThermoPhysicsThermos \ 126 Transport##Type##Thermo##EqnOfState##Specie \
Macros for easy insertion into run-time selection tables.