Searched refs:trule4 (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 251 trule4 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi - hx, ecc)) / six; /* L(i-1,j) */ in FormFunctionGradient() 256 vleft = -hxhx * (trule2 + trule4); 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 357 trule4 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi - hx, ecc)) / six; /* L(i-1,j) */ in FormHessian() 362 vleft = -hxhx * (trule2 + trule4); in FormHessian() 365 …vmiddle = (hxhx) * (trule1 + trule2 + trule3 + trule4) + hyhy * (trule1 + trule2 + trule5 + trule6… in FormHessian()
|