Added a setAtolConst routine.

This commit is contained in:
Harry Moffat 2010-07-28 18:50:22 +00:00
parent 6490892f95
commit 14a349a14a
2 changed files with 9 additions and 2 deletions

View file

@ -985,10 +985,17 @@ namespace Cantera {
#endif
//================================================================================================
void solveProb::setAtol(const doublereal atol[]) {
for (int k = 0; k < m_neq; k++, k++) {
m_atol[k] = atol[k];
}
}
//================================================================================================
void solveProb::setAtolConst(const doublereal atolconst) {
for (int k = 0; k < m_neq; k++, k++) {
m_atol[k] = atolconst;
}
}
//================================================================================================
}

View file

@ -213,7 +213,7 @@ namespace Cantera {
void setAtol(const doublereal atol[]);
void setAtolConst(const doublereal atolconst);
private: