26 #ifndef makeChemistryReductionMethod_H 27 #define makeChemistryReductionMethod_H 38 #define defineChemistryReductionMethod(ReactionThermo, ThermoPhysics) \ 40 typedef chemistryReductionMethod<ReactionThermo, ThermoPhysics> \ 41 chemistryReductionMethod##ReactionThermo##ThermoPhysics; \ 43 defineTemplateTypeNameAndDebugWithName \ 45 chemistryReductionMethod##ReactionThermo##ThermoPhysics, \ 49 chemistryReductionMethod##ReactionThermo##ThermoPhysics:: \ 52 + "<" + word(ReactionThermo::typeName_()) \ 53 + "," + ThermoPhysics::typeName() + ">" \ 58 defineTemplateRunTimeSelectionTable \ 60 chemistryReductionMethod##ReactionThermo##ThermoPhysics, \ 64 #define makeChemistryReductionMethod(Method, ReactionThermo, ThermoPhysics) \ 66 typedef chemistryReductionMethods::Method<ReactionThermo, ThermoPhysics> \ 67 chemistryReductionMethod##Method##ReactionThermo##ThermoPhysics; \ 69 defineTemplateTypeNameAndDebugWithName \ 71 chemistryReductionMethod##Method##ReactionThermo##ThermoPhysics, \ 75 chemistryReductionMethod##Method##ReactionThermo##\ 76 ThermoPhysics::typeName_() \ 78 + "<" + word(ReactionThermo::typeName_()) \ 79 + "," + ThermoPhysics::typeName() + ">" \ 84 chemistryReductionMethod<ReactionThermo, ThermoPhysics>:: \ 85 adddictionaryConstructorToTable \ 86 <chemistryReductionMethod##Method##ReactionThermo##ThermoPhysics> \ 87 add##chemistryReductionMethod##Method##ReactionThermo##ThermoPhysics##\ 88 dictionaryConstructorToTable_; Macros for easy insertion into run-time selection tables.