Go to the documentation of this file.
32 #ifndef makeReactionThermo_H
33 #define makeReactionThermo_H
60 #define makeReaction(Thermo, ReactionType, ReactionRate) \
62 typedef Reaction<Thermo> Reaction##Thermo; \
64 typedef ReactionType<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(Thermo, Reaction, PressureDependentReactionRate, ReactionRate, FallOffFunction) \
85 typedef PressureDependentReactionRate<ReactionRate, FallOffFunction> \
86 PressureDependentReactionRate##ReactionRate##FallOffFunction; \
92 PressureDependentReactionRate##ReactionRate##FallOffFunction \
96 #define makeIRReactions(Thermo, ReactionRate) \
98 makeReaction(Thermo, IrreversibleReaction, ReactionRate) \
100 makeReaction(Thermo, ReversibleReaction, ReactionRate)
103 #define makeIRNReactions(Thermo, ReactionRate) \
105 makeIRReactions(Thermo, ReactionRate) \
107 makeReaction(Thermo, NonEquilibriumReversibleReaction, ReactionRate)
110 #define makePressureDependentReactions(Thermo, ReactionRate, FallOffFunction) \
112 makePressureDependentReaction \
115 IrreversibleReaction, \
116 FallOffReactionRate, \
121 makePressureDependentReaction \
124 ReversibleReaction, \
125 FallOffReactionRate, \
130 makePressureDependentReaction \
133 IrreversibleReaction, \
134 ChemicallyActivatedReactionRate, \
139 makePressureDependentReaction \
142 ReversibleReaction, \
143 ChemicallyActivatedReactionRate, \