diff --git a/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C b/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C index c8bccd7453..18201e87dc 100644 --- a/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C +++ b/etc/codeTemplates/dynamicCode/basicChemistryModelTemplate.C @@ -86,8 +86,10 @@ namespace Foam makeChemistrySolver(${solver}, ${method}ChemistryModel, ThermoPhysics); } +#define standardChemistryModelCppTest 0 +#define TDACChemistryModelCppTest 1 -#if ${method} == TDAC +#if ${method}CppTest == TDACChemistryModelCppTest #include "makeChemistryReductionMethod.H" #include "makeChemistryTabulationMethod.H"