34 #ifndef makeReaction_H 35 #define makeReaction_H 62 #define makeReaction(Thermo, ReactionType, ReactionRate) \ 64 typedef Reaction<Thermo> Reaction##Thermo; \ 66 typedef ReactionType<Reaction, Thermo, ReactionRate> \ 67 ReactionType##Thermo##ReactionRate; \ 70 const word ReactionType##Thermo##ReactionRate::typeName \ 72 ReactionType::typeName_() \ 73 + ReactionRate::type() \ 74 + Reaction##Thermo::typeName_() \ 77 addToRunTimeSelectionTable \ 80 ReactionType##Thermo##ReactionRate, \ 85 #define makePressureDependentReaction\ 89 PressureDependentReactionRate, \ 94 typedef PressureDependentReactionRate<ReactionRate, FallOffFunction> \ 95 PressureDependentReactionRate##ReactionRate##FallOffFunction; \ 101 PressureDependentReactionRate##ReactionRate##FallOffFunction \ 105 #define makeIRReactions(Thermo, ReactionRate) \ 107 makeReaction(Thermo, IrreversibleReaction, ReactionRate) \ 109 makeReaction(Thermo, ReversibleReaction, ReactionRate) 112 #define makeIRNReactions(Thermo, ReactionRate) \ 114 makeIRReactions(Thermo, ReactionRate) \ 116 makeReaction(Thermo, NonEquilibriumReversibleReaction, ReactionRate) 119 #define makePressureDependentReactions(Thermo, ReactionRate, FallOffFunction) \ 121 makePressureDependentReaction \ 124 IrreversibleReaction, \ 125 FallOffReactionRate, \ 130 makePressureDependentReaction \ 133 ReversibleReaction, \ 134 FallOffReactionRate, \ 139 makePressureDependentReaction \ 142 IrreversibleReaction, \ 143 ChemicallyActivatedReactionRate, \ 148 makePressureDependentReaction \ 151 ReversibleReaction, \ 152 ChemicallyActivatedReactionRate, \
Macros for easy insertion into run-time selection tables.