Home
last modified time | relevance | path

Searched refs:trule3 (Results 1 – 1 of 1) sorted by relevance

/petsc/src/tao/bound/tutorials/
H A Djbearing2.c216 PetscReal ecc = user->ecc, trule1, trule2, trule3, trule4, trule5, trule6; in FormFunctionGradient() local
250 trule3 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi + hx, ecc)) / six; /* U(i+1,j) */ in FormFunctionGradient()
257 vright = -hxhx * (trule1 + trule3); 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
356 trule3 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi + hx, ecc)) / six; /* U(i+1,j) */ in FormHessian()
363 vright = -hxhx * (trule1 + trule3); in FormHessian()
365 …vmiddle = (hxhx) * (trule1 + trule2 + trule3 + trule4) + hyhy * (trule1 + trule2 + trule5 + trule6… in FormHessian()