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