Searched refs:trule1 (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/tao/bound/tutorials/ |
| H A D | jbearing2.c | 216 PetscReal ecc = user->ecc, trule1, trule2, trule3, trule4, trule5, trule6; in FormFunctionGradient() local 248 trule1 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi, ecc)) / six; /* L(i,j) */ in FormFunctionGradient() 252 trule5 = trule1; /* L(i,j-1) */ in FormFunctionGradient() 257 vright = -hxhx * (trule1 + trule3); in FormFunctionGradient() 258 vup = -hyhy * (trule1 + trule6); in FormFunctionGradient() 259 …vmiddle = (hxhx) * (trule1 + trule2 + trule3 + trule4) + hyhy * (trule1 + trule2 + trule5 + trule6… in FormFunctionGradient() 331 PetscReal ecc = user->ecc, trule1, trule2, trule3, trule4, trule5, trule6; in FormHessian() local 354 trule1 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi, ecc)) / six; /* L(i,j) */ in FormHessian() 358 trule5 = trule1; /* L(i,j-1) */ in FormHessian() 363 vright = -hxhx * (trule1 + trule3); in FormHessian() [all …]
|