Added a setAtolConst routine.
This commit is contained in:
parent
6490892f95
commit
14a349a14a
2 changed files with 9 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
//================================================================================================
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ namespace Cantera {
|
|||
|
||||
|
||||
void setAtol(const doublereal atol[]);
|
||||
|
||||
void setAtolConst(const doublereal atolconst);
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue