32 #ifndef makeSolidThermo_H 33 #define makeSolidThermo_H 40 #define defineSolidThermo(BaseThermo, CThermo, Mixture, ThermoPhys) \ 45 BaseThermo::composite, \ 47 > heThermo##Mixture##ThermoPhys; \ 52 BaseThermo::composite, \ 54 > CThermo##Mixture##ThermoPhys; \ 56 defineTemplateTypeNameAndDebugWithName \ 58 CThermo##Mixture##ThermoPhys, \ 60 #CThermo"<"#Mixture"<" \ 61 + ThermoPhys::typeName() \ 68 #define addSolidThermo(BaseThermo, CThermoMixtureThermoPhys, Table) \ 70 addToRunTimeSelectionTable \ 73 CThermoMixtureThermoPhys, \ 78 #define makeSolidThermo(BaseThermo, CThermo, Mixture, ThermoPhys) \ 80 defineSolidThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 82 addSolidThermo(BaseThermo, CThermo##Mixture##ThermoPhys, fvMesh 85 #define makeSolidThermos(BaseThermo, CThermo, Mixture, ThermoPhys) \ 87 defineSolidThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \ 89 addSolidThermo(basicThermo, CThermo##Mixture##ThermoPhys, fvMesh); \ 90 addSolidThermo(BaseThermo, CThermo##Mixture##ThermoPhys, fvMesh); \ 91 addSolidThermo(BaseThermo, CThermo##Mixture##ThermoPhys, dictionary)
Macros for easy insertion into run-time selection tables.