26 #ifndef makeChemistrySolver_H 27 #define makeChemistrySolver_H 33 #define defineChemistrySolver(Model, ThermoPhysics) \ 35 typedef Model<ThermoPhysics> \ 36 Model##ThermoPhysics; \ 38 defineTemplateTypeNameAndDebugWithName \ 40 Model##ThermoPhysics, \ 42 word(Model##ThermoPhysics::typeName_()) \ 43 + "<" + ThermoPhysics::typeName() + ">" \ 49 #define makeChemistrySolver(Solver, Model, ThermoPhysics) \ 51 typedef Solver<Model<ThermoPhysics>> \ 52 Solver##Model##ThermoPhysics; \ 54 defineTemplateTypeNameAndDebugWithName \ 56 Solver##Model##ThermoPhysics, \ 58 word(Solver##Model##ThermoPhysics::typeName_()) \ 59 + "<" + word(Model<ThermoPhysics>::typeName_()) \ 60 + "<" + ThermoPhysics::typeName() + ">>" \ 65 addToRunTimeSelectionTable \ 67 basicChemistryModel, \ 68 Solver##Model##ThermoPhysics, \ 75 #define defineChemistrySolvers(nullArg, ThermoPhysics) \ 76 defineChemistrySolver \ 78 standardChemistryModel, \ 81 defineChemistrySolver \ 87 #define makeChemistrySolvers(Solver, ThermoPhysics) \ 91 standardChemistryModel, \ Macros for easy insertion into run-time selection tables.