Home
last modified time | relevance | path

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

/petsc/src/tao/bound/tutorials/
H A Djbearing2.c214 PetscReal hx, hy, hxhy, hxhx, hyhy; in FormFunctionGradient() local
227 hxhy = hx * hy; in FormFunctionGradient()
248 trule1 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi, ecc)) / six; /* L(i,j) */ in FormFunctionGradient()
249 trule2 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi, ecc)) / six; /* U(i,j) */ in FormFunctionGradient()
250 trule3 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi + hx, ecc)) / six; /* U(i+1,j) */ in FormFunctionGradient()
251 trule4 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi - hx, ecc)) / six; /* L(i-1,j) */ in FormFunctionGradient()
329 PetscReal hx, hy, hxhy, hxhx, hyhy; in FormHessian() local
340 hxhy = hx * hy; in FormHessian()
354 trule1 = hxhy * (p(xi, ecc) + p(xi + hx, ecc) + p(xi, ecc)) / six; /* L(i,j) */ in FormHessian()
355 trule2 = hxhy * (p(xi, ecc) + p(xi - hx, ecc) + p(xi, ecc)) / six; /* U(i,j) */ in FormHessian()
[all …]