diff --git a/test_problems/ChemEquil_ionizedGas/Makefile.in b/test_problems/ChemEquil_ionizedGas/Makefile.in index d54a6e340..8ae6b465a 100644 --- a/test_problems/ChemEquil_ionizedGas/Makefile.in +++ b/test_problems/ChemEquil_ionizedGas/Makefile.in @@ -40,11 +40,14 @@ extension2 = @EXEEXT@ # the C++ compiler CXX = @CXX@ +# +# LOCAL_DEFS=-DDEBUG_CHEMEQUIL +# # C++ compile flags ifeq ($(src_dir_tree), 1) -CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@ + CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@ $(LOCAL_DEFS) else -CXX_FLAGS = @CXXFLAGS@ + CXX_FLAGS = @CXXFLAGS@ $(LOCAL_DEFS) endif # Ending C++ linking libraries diff --git a/test_problems/ChemEquil_ionizedGas/ionizedGasEquil.cpp b/test_problems/ChemEquil_ionizedGas/ionizedGasEquil.cpp index 796d2947a..7f0a43ab2 100644 --- a/test_problems/ChemEquil_ionizedGas/ionizedGasEquil.cpp +++ b/test_problems/ChemEquil_ionizedGas/ionizedGasEquil.cpp @@ -21,7 +21,7 @@ using namespace std; using namespace Cantera; int main(int argc, char **argv) { -#ifdef DEBUG_HKM +#ifdef DEBUG_CHEMEQUIL ChemEquil_print_lvl = 0; #endif try { diff --git a/test_problems/ChemEquil_red1/Makefile.in b/test_problems/ChemEquil_red1/Makefile.in index d33b70460..5afbf98c5 100644 --- a/test_problems/ChemEquil_red1/Makefile.in +++ b/test_problems/ChemEquil_red1/Makefile.in @@ -36,6 +36,9 @@ FORT_LIBS = @FLIBS@ # the C++ compiler CXX = @CXX@ +# LOCAL_DEFS = -DDEBUG_CHEMEQUIL +# LOCAL_DEFS = -DEBUG_BASISOPTIMIZE +# # C++ compile flags ifeq ($(src_dir_tree), 1) CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@ diff --git a/test_problems/ChemEquil_red1/basopt_red1.cpp b/test_problems/ChemEquil_red1/basopt_red1.cpp index d5ce952ad..0d76875b4 100644 --- a/test_problems/ChemEquil_red1/basopt_red1.cpp +++ b/test_problems/ChemEquil_red1/basopt_red1.cpp @@ -23,8 +23,10 @@ int main(int argc, char **argv) { try { IdealGasMix g("red1.xml", "gri30_mix"); -#ifdef DEBUG_HKM +#ifdef DEBUG_BASISOPTIMIZE Cantera::BasisOptimize_print_lvl = 0; +#endif +#ifdef DEBUG_CHEMEQUIL Cantera::ChemEquil_print_lvl = 0; #endif