28 #ifndef makeCombustionTypes_H 29 #define makeCombustionTypes_H 40 #define makeCombustion(Comp) \ 42 typedef CombustionModel<Comp> CombustionModel##Comp; \ 44 defineTemplateTypeNameAndDebugWithName \ 46 CombustionModel##Comp, \ 48 word(CombustionModel##Comp::typeName_()) + "<" + Comp::typeName \ 54 defineTemplateRunTimeSelectionTable \ 56 CombustionModel##Comp, \ 61 #define makeCombustionTypesThermo(CombModel, Comp, Thermo) \ 63 typedef combustionModels::CombModel<Comp, Thermo> \ 64 CombModel##Comp##Thermo; \ 66 defineTemplateTypeNameAndDebugWithName \ 68 CombModel##Comp##Thermo, \ 70 word(CombModel##Comp##Thermo::typeName_()) + "<" + Comp::typeName \ 71 + "," + Thermo::typeName() + ">" \ 76 CombustionModel<Comp>:: \ 77 add##dictionary##ConstructorToTable<CombModel##Comp##Thermo> \ 78 add##CombModel##Comp##Thermo##dictionary##ConstructorTo##\ 79 CombustionModel##Comp##Table_; 82 #define makeCombustionTypes(CombModel, Comp) \ 84 typedef combustionModels::CombModel<Comp> CombModel##Comp; \ 86 defineTemplateTypeNameAndDebugWithName \ 90 word(CombModel##Comp::typeName_()) + "<" + Comp::typeName + ">" \ 95 CombustionModel<Comp>:: \ 96 add##dictionary##ConstructorToTable<CombModel##Comp> \ 97 add##CombModel##Comp##dictionary##ConstructorTo##CombustionModel##Comp\ Macros for easy insertion into run-time selection tables.