From 8f863023a76f87406be3bce31235989f43bc0da9 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 18 Jan 2008 18:12:53 +0000 Subject: [PATCH] Took DEBUG_MODE ifdefs out of .h file --- Cantera/src/equil/vcs_prob.cpp | 7 +------ Cantera/src/equil/vcs_prob.h | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Cantera/src/equil/vcs_prob.cpp b/Cantera/src/equil/vcs_prob.cpp index ccbc97cc3..a62cd4fd8 100644 --- a/Cantera/src/equil/vcs_prob.cpp +++ b/Cantera/src/equil/vcs_prob.cpp @@ -53,11 +53,8 @@ VCS_PROB::VCS_PROB(int nsp, int nel, int nph) : tolmin(1.0E-6), m_Iterations(0), m_NumBasisOptimizations(0), - m_printLvl(0) -#ifdef DEBUG_MODE - , + m_printLvl(0), vcs_debug_print_lvl(0) -#endif { NSPECIES0 = nspecies; if (nspecies <= 0) { @@ -623,11 +620,9 @@ void VCS_PROB::reportCSV(const std::string &reportFile) { } -#ifdef DEBUG_MODE void VCS_PROB::setDebugPrintLvl(int lvl) { vcs_debug_print_lvl = lvl; } -#endif } diff --git a/Cantera/src/equil/vcs_prob.h b/Cantera/src/equil/vcs_prob.h index 2fa99eee0..87a6e6e1e 100644 --- a/Cantera/src/equil/vcs_prob.h +++ b/Cantera/src/equil/vcs_prob.h @@ -239,10 +239,9 @@ namespace VCSnonideal { //! Print level for print routines int m_printLvl; -#ifdef DEBUG_MODE + //! Debug print lvl int vcs_debug_print_lvl; -#endif //! Constructor /*! @@ -361,13 +360,11 @@ namespace VCSnonideal { void reportCSV(const std::string &reportFile); -#ifdef DEBUG_MODE //! Set the debug level /*! * @param vcs_debug_print_lvl input debug level */ void setDebugPrintLvl(int vcs_debug_print_lvl); -#endif }; }