removed some diagnostic output
This commit is contained in:
parent
4ed7e64194
commit
318b639211
3 changed files with 10 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue