26 #ifndef makeCombustionTypes_H 27 #define makeCombustionTypes_H 38 #define makeCombustion(Comp) \ 40 typedef CombustionModel<Comp> CombustionModel##Comp; \ 42 defineTemplateTypeNameAndDebugWithName \ 44 CombustionModel##Comp, \ 46 word(CombustionModel##Comp::typeName_()) + "<" + Comp::typeName \ 52 defineTemplateRunTimeSelectionTable \ 54 CombustionModel##Comp, \ 59 #define makeCombustionTypesThermo(CombModel, Comp, Thermo) \ 61 typedef combustionModels::CombModel<Comp, Thermo> \ 62 CombModel##Comp##Thermo; \ 64 defineTemplateTypeNameAndDebugWithName \ 66 CombModel##Comp##Thermo, \ 68 word(CombModel##Comp##Thermo::typeName_()) + "<" + Comp::typeName \ 69 + "," + Thermo::typeName() + ">" \ 74 CombustionModel<Comp>:: \ 75 add##dictionary##ConstructorToTable<CombModel##Comp##Thermo> \ 76 add##CombModel##Comp##Thermo##dictionary##ConstructorTo##\ 77 CombustionModel##Comp##Table_; 80 #define makeCombustionTypes(CombModel, Comp) \ 82 typedef combustionModels::CombModel<Comp> CombModel##Comp; \ 84 defineTemplateTypeNameAndDebugWithName \ 88 word(CombModel##Comp::typeName_()) + "<" + Comp::typeName + ">" \ 93 CombustionModel<Comp>:: \ 94 add##dictionary##ConstructorToTable<CombModel##Comp> \ 95 add##CombModel##Comp##dictionary##ConstructorTo##CombustionModel##Comp\ Macros for easy insertion into run-time selection tables.