From 318b639211fdb20266b291d25a4dd87b5d70e7ed Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Sun, 13 Nov 2005 11:15:26 +0000 Subject: [PATCH] removed some diagnostic output --- Cantera/src/CVodesIntegrator.cpp | 6 ++---- Cantera/src/InterfaceKinetics.cpp | 16 ++++++++-------- Cantera/src/misc.cpp | 1 - 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/Cantera/src/CVodesIntegrator.cpp b/Cantera/src/CVodesIntegrator.cpp index d5350d2a1..d4f91d960 100644 --- a/Cantera/src/CVodesIntegrator.cpp +++ b/Cantera/src/CVodesIntegrator.cpp @@ -210,7 +210,6 @@ namespace Cantera { throw CVodesErr("Error in CVodeSensMalloc"); vector_fp atol(m_np, m_abstolsens); double rtol = m_reltolsens; - cout << "atol = " << atol[0] << " " << atol[m_np-1] << endl; flag = CVodeSetSensTolerances(m_cvode_mem, CV_SS, rtol, atol.begin()); } @@ -271,7 +270,6 @@ namespace Cantera { else throw CVodesErr("CVodeMalloc failed."); } - cout << "returned from CVodeMalloc. m_cvode_mem = " << m_cvode_mem << endl; if (m_type == DENSE + NOJAC) { @@ -335,8 +333,8 @@ namespace Cantera { m_itol, m_reltol, &m_abstols); } - cout << "returned from CVodeReInit. m_cvode_mem = " << m_cvode_mem << endl; - if (result != CV_SUCCESS) throw CVodesErr("CVReInit failed. result = "+int2str(result)); + if (result != CV_SUCCESS) + throw CVodesErr("CVReInit failed. result = "+int2str(result)); if (m_type == DENSE + NOJAC) { long int N = m_neq; diff --git a/Cantera/src/InterfaceKinetics.cpp b/Cantera/src/InterfaceKinetics.cpp index 4b68b2ff7..f30d9bf3e 100644 --- a/Cantera/src/InterfaceKinetics.cpp +++ b/Cantera/src/InterfaceKinetics.cpp @@ -291,14 +291,14 @@ namespace Cantera { writelog("warning: modified E < 0.\n"); } kf[i] *= exp(-eamod*rrt); - if (kf[i] == 0.0) { - for (n = 0; n < np; n++) { - cout << "phi " << n << " " << thermo(n).electricPotential() << " " << m_phi[n] << endl; - } - cout << "Zero rate coeff." << endl; - cout << "eamod = " << eamod << " " << eamod*rrt << endl; - cout << eamod/Faraday << endl; - } +// if (kf[i] == 0.0) { +// for (n = 0; n < np; n++) { +// cout << "phi " << n << " " << thermo(n).electricPotential() << " " << m_phi[n] << endl; +// } +// cout << "Zero rate coeff." << endl; +// cout << "eamod = " << eamod << " " << eamod*rrt << endl; +// cout << eamod/Faraday << endl; +// } } } } diff --git a/Cantera/src/misc.cpp b/Cantera/src/misc.cpp index 798cfe524..05bdbb6cb 100755 --- a/Cantera/src/misc.cpp +++ b/Cantera/src/misc.cpp @@ -773,7 +773,6 @@ namespace Cantera { writelog("Logfile error." "\n beginLogGroup: "+ __app->loggroups.back()+ "\n endLogGroup: "+title+"\n"); - cout << "calling write_logfile..." << endl; write_logfile("logerror"); //__app->loggroups.clear(); //__app->loglevels.clear();