31 #ifndef makeSolidChemistryModel_H 32 #define makeSolidChemistryModel_H 39 #define makeSolidChemistryModel(sChemistry, SS, Comp, SThermo) \ 41 typedef Foam::sChemistry<Foam::Comp, Foam::SThermo> \ 42 sChemistry##Comp##SThermo; \ 44 defineTemplateTypeNameAndDebugWithName \ 46 sChemistry##Comp##SThermo, \ 47 (Foam::word(sChemistry##Comp##SThermo::typeName_()) + "<"#Comp"," \ 48 + SThermo::typeName() + ">").c_str(), \ 53 #define makeSolidGasChemistryModel(sChemistry, SS, Comp, SThermo, GThermo) \ 55 typedef Foam::SS<Foam::Comp, Foam::SThermo, Foam::GThermo> \ 56 SS##Comp##SThermo##GThermo; \ 58 defineTemplateTypeNameAndDebugWithName \ 60 SS##Comp##SThermo##GThermo, \ 61 (Foam::word(SS##Comp##SThermo##GThermo::typeName_()) + "<"#Comp"," \ 62 + SThermo::typeName() + "," + GThermo::typeName() + ">").c_str(), \
Macros for easy insertion into run-time selection tables.