Took DEBUG_MODE ifdefs out of .h file
This commit is contained in:
parent
fa7e832b14
commit
8f863023a7
2 changed files with 2 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue