26 #ifndef makeChemistrySolver_H 27 #define makeChemistrySolver_H 38 #define defineChemistrySolver(Model, ReactionThermo, ThermoPhysics) \ 40 typedef Model<ReactionThermo, ThermoPhysics> \ 41 Model##ReactionThermo##ThermoPhysics; \ 43 defineTemplateTypeNameAndDebugWithName \ 45 Model##ReactionThermo##ThermoPhysics, \ 47 word(Model##ReactionThermo##ThermoPhysics::typeName_()) + "<" \ 48 + ReactionThermo::typeName + "," + ThermoPhysics::typeName() + ">" \ 54 #define makeChemistrySolver(Solver, Model, ReactionThermo, ThermoPhysics) \ 56 typedef Solver<Model<ReactionThermo, ThermoPhysics>> \ 57 Solver##Model##ReactionThermo##ThermoPhysics; \ 59 defineTemplateTypeNameAndDebugWithName \ 61 Solver##Model##ReactionThermo##ThermoPhysics, \ 63 word(Solver##Model##ReactionThermo##ThermoPhysics::typeName_()) \ 64 + "<" + word(Model<ReactionThermo, ThermoPhysics>::typeName_()) \ 65 + "<" + word(ReactionThermo::typeName_()) + "," \ 66 + ThermoPhysics::typeName() + ">>" \ 71 BasicChemistryModel<ReactionThermo>:: \ 72 addthermoConstructorToTable \ 73 <Solver##Model##ReactionThermo##ThermoPhysics> \ 74 add##Solver##Model##ReactionThermo##ThermoPhysics##\ 75 thermoConstructorToTable_; Macros for easy insertion into run-time selection tables.