From 56245f609479bfdb017df13971c78fc326ba66cc Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Mon, 19 May 2008 21:23:59 +0000 Subject: [PATCH] eliminated commented out code --- Cantera/src/equil/vcs_solve_TP.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/Cantera/src/equil/vcs_solve_TP.cpp b/Cantera/src/equil/vcs_solve_TP.cpp index f25b33a39..97140ba65 100644 --- a/Cantera/src/equil/vcs_solve_TP.cpp +++ b/Cantera/src/equil/vcs_solve_TP.cpp @@ -808,30 +808,6 @@ namespace VCSnonideal { dx = -0.9 * m_molNumSpecies_old[kspec]; m_deltaMolNumSpecies[kspec] = dx; m_molNumSpecies_new[kspec] = m_molNumSpecies_old[kspec] + dx; - /* - * Change major to minor if the current species - * has a mole number that is less than 1/100 of the - * total kmoles in the problem. - * However, it also has to be a small species within its - * own phase as well. - * we can't call vcs_species_type() because the phase moles - * would be wrong. - */ - // if (m_molNumSpecies_new[kspec] < 0.005 * m_totalMolNum) { - //iph = m_phaseID[kspec]; - //if (m_molNumSpecies_new[kspec] < (m_tPhaseMoles_old[iph] * 0.01)) { -#ifdef DEBUG_MODE - //if (m_debug_print_lvl >= 2) { - // plogf(" --- Major species changed to minor: "); - // plogf("%-12s", m_speciesName[kspec].c_str()); - // plogendl(); - //} -#endif - //m_rxnStatus[irxn] = VCS_SPECIES_MINOR; - //++m_numRxnMinorZeroed; - //im = (m_numRxnMinorZeroed == m_numRxnRdc); - //} - //} } else { /* * Section for single species phases: