40 #define defineThermo(BaseThermo, CThermo, Mixture, ThermoPhys) \ 48 CThermo##Mixture##ThermoPhys; \ 50 defineTemplateTypeNameAndDebugWithName \ 52 CThermo##Mixture##ThermoPhys, \ 54 word(CThermo##Mixture##ThermoPhys::typeName_()) + "<" \ 55 + Mixture<ThermoPhys>::typeName() + ">" \ 61 #define addThermo(BaseThermo, CThermoMixtureThermoPhys) \ 63 addToRunTimeSelectionTable \ 66 CThermoMixtureThermoPhys, \ 71 #define makeThermo(BaseThermo, CThermo, Mixture, ThermoPhys) \ 73 defineThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 75 addThermo(BaseThermo, CThermo##Mixture##ThermoPhys) 78 #define makeThermos(BaseThermo, CThermo, Mixture, ThermoPhys) \ 80 defineThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 82 addThermo(basicThermo, CThermo##Mixture##ThermoPhys); \ 83 addThermo(fluidThermo, CThermo##Mixture##ThermoPhys); \ 84 addThermo(BaseThermo, CThermo##Mixture##ThermoPhys)
Macros for easy insertion into run-time selection tables.