29 #ifndef makeSolidChemistryModel_H 30 #define makeSolidChemistryModel_H 37 #define makeSolidChemistryModel(sChemistry, SS, Comp, SThermo) \ 39 typedef Foam::sChemistry<Foam::Comp, Foam::SThermo> \ 40 sChemistry##Comp##SThermo; \ 42 defineTemplateTypeNameAndDebugWithName \ 44 sChemistry##Comp##SThermo, \ 45 (Foam::word(sChemistry##Comp##SThermo::typeName_()) + "<"#Comp"," \ 46 + SThermo::typeName() + ">").c_str(), \ 51 #define makeSolidGasChemistryModel(sChemistry, SS, Comp, SThermo, GThermo) \ 53 typedef Foam::SS<Foam::Comp, Foam::SThermo, Foam::GThermo> \ 54 SS##Comp##SThermo##GThermo; \ 56 defineTemplateTypeNameAndDebugWithName \ 58 SS##Comp##SThermo##GThermo, \ 59 (Foam::word(SS##Comp##SThermo##GThermo::typeName_()) + "<"#Comp"," \ 60 + SThermo::typeName() + "," + GThermo::typeName() + ">").c_str(), \
Macros for easy insertion into run-time selection tables.