26 #ifndef makeChemistryReductionMethod_H
27 #define makeChemistryReductionMethod_H
33 #define defineChemistryReductionMethod(nullArg, ThermoPhysics) \
35 typedef chemistryReductionMethod<ThermoPhysics> \
36 chemistryReductionMethod##ThermoPhysics; \
38 defineTemplateTypeNameAndDebugWithName \
40 chemistryReductionMethod##ThermoPhysics, \
42 word(chemistryReductionMethod##ThermoPhysics::typeName_()) \
43 + "<" + ThermoPhysics::typeName() + ">" \
48 defineTemplateRunTimeSelectionTable \
50 chemistryReductionMethod##ThermoPhysics, \
54 #define makeChemistryReductionMethod(Method, ThermoPhysics) \
56 typedef chemistryReductionMethod<ThermoPhysics> \
57 chemistryReductionMethod##ThermoPhysics; \
59 typedef chemistryReductionMethods::Method<ThermoPhysics> \
60 chemistryReductionMethod##Method##ThermoPhysics; \
62 defineTemplateTypeNameAndDebugWithName \
64 chemistryReductionMethod##Method##ThermoPhysics, \
66 word(chemistryReductionMethod##Method##ThermoPhysics::typeName_()) \
67 + "<" + ThermoPhysics::typeName() + ">" \
72 addToRunTimeSelectionTable \
74 chemistryReductionMethod##ThermoPhysics, \
75 chemistryReductionMethod##Method##ThermoPhysics, \
Macros for easy insertion into run-time selection tables.