32 #ifndef makeSolidReaction_H 33 #define makeSolidReaction_H 48 #define makeSolidReaction(ReactionType, Thermo, ReactionRate) \ 50 typedef SolidReaction<Thermo> SolidReaction##Thermo; \ 52 typedef Reaction<Thermo> Reaction##Thermo; \ 54 typedef ReactionType<SolidReaction, Thermo, ReactionRate> \ 55 ReactionType##Thermo##ReactionRate; \ 57 defineTemplateRunTimeSelectionTable(Reaction##Thermo, dictionary); \ 59 defineTemplateTypeNameAndDebug(SolidReaction##Thermo, 0); \ 60 defineTemplateTypeNameAndDebug(Reaction##Thermo, 0); \ 63 const word ReactionType##Thermo##ReactionRate::typeName \ 65 ReactionType::typeName_() \ 66 + ReactionRate::type() \ 67 + SolidReaction##Thermo::typeName_() \ 70 addToRunTimeSelectionTable \ 73 ReactionType##Thermo##ReactionRate, \ 77 #define makeSolidIRReactions(Thermo, ReactionRate) \ 79 makeSolidReaction(IrreversibleReaction, Thermo, ReactionRate)
Macros for easy insertion into run-time selection tables.