25 ResidJacEval::ResidJacEval(doublereal atol) :
50 ResidEval::operator=(right);
87 "atol must be greater than zero");
102 for (
int i = 0; i <
neq_; i++) {
106 for (
int i = 0; i <
neq_; i++) {
128 user_out2(
const int ifunc,
const doublereal t,
const doublereal deltaT,
129 const doublereal* y,
const doublereal* ydot)
145 const doublereal* y,
const doublereal* ydot)
163 const doublereal* ydot)
187 const doublereal*
const ySolnDot, doublereal*
const deltaYSoln,
188 const doublereal*
const solnWeights)
191 for (
int i = 0; i <
neq_; i++) {
192 deltaYSoln[i] =
m_atol + fabs(1.0E-6 * ySoln[i]);
195 for (
int i = 0; i <
neq_; i++) {
196 deltaYSoln[i] =
std::max(1.0E-2 * solnWeights[i], 1.0E-6 * fabs(ySoln[i]));
212 calcSolnScales(
const doublereal t,
const doublereal*
const ysoln,
const doublereal*
const ysolnOld,
213 doublereal*
const ysolnScales)
216 if (ysolnScales[0] == 0.0) {
217 for (
int i = 0; i <
neq_; i++) {
218 ysolnScales[i] = 1.0;
266 const doublereal delta_t,
267 const doublereal*
const y,
268 const doublereal*
const ydot)
309 evalResidNJ(
const doublereal t,
const doublereal deltaT,
const doublereal* y,
311 const int id_x,
const doublereal delta_x)
313 throw CanteraError(
"ResidJacEval::evalResidNJ()",
"Not implemented\n");
320 double deltaT = -1.0;
337 evalJacobian(
const doublereal t,
const doublereal delta_t, doublereal cj,
338 const doublereal*
const y,
339 const doublereal*
const ydot,
341 doublereal*
const resid)
343 doublereal*
const* jac_colPts = J.
colPts();
344 return evalJacobianDP(t, delta_t, cj, y, ydot, jac_colPts, resid);
361 const doublereal c_j,
362 const doublereal*
const y,
363 const doublereal*
const ydot,
364 doublereal*
const* jac_colPts,
365 doublereal*
const resid)
367 throw CanteraError(
"ResidJacEval::evalJacobianDP()",
"Not implemented\n");