Searched refs:trule2 (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 249 trule2 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi, ecc)) / six; /* U(i,j) */ in FormFunctionGradient() 253 trule6 = trule2; /* U(i,j+1) */ in FormFunctionGradient() 255 vdown = -(trule5 + trule2) * hyhy; 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 355 trule2 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi, ecc)) / six; /* U(i,j) */ in FormHessian() 359 trule6 = trule2; /* U(i,j+1) */ in FormHessian() 361 vdown = -(trule5 + trule2) * hyhy; in FormHessian() [all …]
|