32 #ifndef makeReaction_H 33 #define makeReaction_H 60 #define makeReaction(Thermo, ReactionType, ReactionRate) \ 62 typedef Reaction<Thermo> Reaction##Thermo; \ 64 typedef ReactionType<Reaction, Thermo, ReactionRate> \ 65 ReactionType##Thermo##ReactionRate; \ 68 const word ReactionType##Thermo##ReactionRate::typeName \ 70 ReactionType::typeName_() \ 71 + ReactionRate::type() \ 72 + Reaction##Thermo::typeName_() \ 75 addToRunTimeSelectionTable \ 78 ReactionType##Thermo##ReactionRate, \ 83 #define makePressureDependentReaction\ 87 PressureDependentReactionRate, \ 92 typedef PressureDependentReactionRate<ReactionRate, FallOffFunction> \ 93 PressureDependentReactionRate##ReactionRate##FallOffFunction; \ 99 PressureDependentReactionRate##ReactionRate##FallOffFunction \ 103 #define makeIRReactions(Thermo, ReactionRate) \ 105 makeReaction(Thermo, IrreversibleReaction, ReactionRate) \ 107 makeReaction(Thermo, ReversibleReaction, ReactionRate) 110 #define makeIRNReactions(Thermo, ReactionRate) \ 112 makeIRReactions(Thermo, ReactionRate) \ 114 makeReaction(Thermo, NonEquilibriumReversibleReaction, ReactionRate) 117 #define makePressureDependentReactions(Thermo, ReactionRate, FallOffFunction) \ 119 makePressureDependentReaction \ 122 IrreversibleReaction, \ 123 FallOffReactionRate, \ 128 makePressureDependentReaction \ 131 ReversibleReaction, \ 132 FallOffReactionRate, \ 137 makePressureDependentReaction \ 140 IrreversibleReaction, \ 141 ChemicallyActivatedReactionRate, \ 146 makePressureDependentReaction \ 149 ReversibleReaction, \ 150 ChemicallyActivatedReactionRate, \
Macros for easy insertion into run-time selection tables.