Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex4.c462 PetscScalar det, hx, hy, xt = 0, yt = 0; in FormBoundaryConditions_Enneper() local
490 yt = b; in FormBoundaryConditions_Enneper()
495 yt = t; in FormBoundaryConditions_Enneper()
500 yt = b; in FormBoundaryConditions_Enneper()
505 yt = b; in FormBoundaryConditions_Enneper()
513 u2 = -yt; in FormBoundaryConditions_Enneper()
516 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in FormBoundaryConditions_Enneper()
530 else yt = yt + hy; /* if (j==2 || j==3) */ in FormBoundaryConditions_Enneper()
554 PetscScalar hx, hy, xt = 0, yt = 0; in FormBoundaryConditions_Sins() local
581 yt = b; in FormBoundaryConditions_Sins()
[all …]
H A Dex58.c466 PetscScalar det, hx, hy, xt = 0, yt = 0; in FormBoundaryConditions() local
500 yt = b; in FormBoundaryConditions()
505 yt = t; in FormBoundaryConditions()
510 yt = b; in FormBoundaryConditions()
515 yt = b; in FormBoundaryConditions()
523 u2 = -yt; in FormBoundaryConditions()
526 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in FormBoundaryConditions()
540 else yt = yt + hy; /* if (j==2 || j==3) */ in FormBoundaryConditions()
H A Dex19.c386 PetscScalar yu = 0, yv = 0, yo = 0, yt = 0; in NonlinearGS() local
579 yt = (ftemp - (dftdu * yu + dftdv * yv)) / dftdt; in NonlinearGS()
583 x[j][i].temp = x[j][i].temp - yt; in NonlinearGS()
590 yt = ftemp; in NonlinearGS()
598 yt = ftemp; in NonlinearGS()
606 yt = ftemp; in NonlinearGS()
614 yt = ftemp; in NonlinearGS()
621 pynorm = PetscRealPart(yu * yu + yv * yv + yo * yo + yt * yt); in NonlinearGS()
/petsc/src/ksp/ksp/tutorials/
H A Dex54f.F90309 PetscReal xo, xs, xt, yo, ys, yt, xsm, xsp, xtm
334 yt = -xl(2, 1) - xl(2, 2) + xl(2, 3) + xl(2, 4) + yo*s
338 xsj1 = xs*yt - xt*ys
354 yt = (yt + yt)*xsj1
358 ytm = yt*tm
360 ytp = yt*tp
/petsc/src/tao/complementarity/tutorials/
H A Dminsurf1.c429 PetscReal fnorm, det, hx, hy, xt = 0, yt = 0; in MSA_BoundaryConditions() local
450 yt = b; in MSA_BoundaryConditions()
455 yt = t; in MSA_BoundaryConditions()
460 yt = b; in MSA_BoundaryConditions()
465 yt = b; in MSA_BoundaryConditions()
473 u2 = -yt; in MSA_BoundaryConditions()
476 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in MSA_BoundaryConditions()
492 yt = yt + hy; in MSA_BoundaryConditions()
/petsc/src/binding/petsc4py/test/
H A Dtest_mat_dense.py120 xt, yt = AT.createVecs()
125 AT.mult(xt, yt)
126 self.assertTrue(yt.equal(x))
130 x.copy(yt)
131 AT.multTranspose(yt, xt)
H A Dtest_mat_py.py629 xt, yt = AT.createVecs()
634 AT.mult(xt, yt)
635 self.assertTrue(yt.equal(x))
639 x.copy(yt)
640 AT.multTranspose(yt, xt)
H A Dtest_mat_aij.py364 xt, yt = AT.createVecs()
369 AT.mult(xt, yt)
370 self.assertTrue(yt.equal(x))
374 x.copy(yt)
375 AT.multTranspose(yt, xt)
/petsc/src/tao/unconstrained/tutorials/
H A Dminsurf1.c477 PetscReal fnorm, det, hx, hy, xt = 0, yt = 0; in MSA_BoundaryConditions() local
498 yt = b; in MSA_BoundaryConditions()
503 yt = t; in MSA_BoundaryConditions()
508 yt = b; in MSA_BoundaryConditions()
513 yt = b; in MSA_BoundaryConditions()
521 u2 = -yt; in MSA_BoundaryConditions()
524 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in MSA_BoundaryConditions()
540 yt = yt + hy; in MSA_BoundaryConditions()
H A Dminsurf2.c694 PetscReal fnorm, det, hx, hy, xt = 0, yt = 0; in MSA_BoundaryConditions() local
720 yt = b; in MSA_BoundaryConditions()
725 yt = t; in MSA_BoundaryConditions()
730 yt = b + hy * ys; in MSA_BoundaryConditions()
735 yt = b + hy * ys; in MSA_BoundaryConditions()
743 u2 = -yt; in MSA_BoundaryConditions()
746 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in MSA_BoundaryConditions()
762 yt = yt + hy; in MSA_BoundaryConditions()
/petsc/src/tao/bound/tutorials/
H A Dplate2f.F90520 PetscReal yt, hx, hy, u1, u2, nf1, nf2
536 yt = 0
560 yt = b
566 yt = t
572 yt = b + hy*ys
578 yt = b + hy*ys
587 u2 = -yt
593 nf2 = -u2 - u1*u1*u2 + u2*u2*u2/three - yt
613 yt = yt + hy
H A Dplate2.c610 PetscReal fnorm, det, hx, hy, xt = 0, yt = 0; in MSA_BoundaryConditions() local
642 yt = b; in MSA_BoundaryConditions()
647 yt = t; in MSA_BoundaryConditions()
652 yt = b + hy * ys; in MSA_BoundaryConditions()
657 yt = b + hy * ys; in MSA_BoundaryConditions()
665 u2 = -yt; in MSA_BoundaryConditions()
668 nf2 = -u2 - u1 * u1 * u2 + u2 * u2 * u2 / three - yt; in MSA_BoundaryConditions()
684 yt = yt + hy; in MSA_BoundaryConditions()
/petsc/src/dm/impls/plex/
H A Dplexfem.c584 PetscScalar yt[2] = {y[0], y[1]}, zt[2] = {0.0, 0.0}; in DMPlexBasisTransformApplyReal_Internal() local
586 PetscCall(DMPlexBasisTransformApply_Internal(dm, x, l2g, dim, yt, zt, ctx)); in DMPlexBasisTransformApplyReal_Internal()
591 PetscScalar yt[3] = {y[0], y[1], y[2]}, zt[3] = {0.0, 0.0, 0.0}; in DMPlexBasisTransformApplyReal_Internal() local
593 PetscCall(DMPlexBasisTransformApply_Internal(dm, x, l2g, dim, yt, zt, ctx)); in DMPlexBasisTransformApplyReal_Internal()