Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/tfs/
H A Dtfs.c12 Vec b, xd, xo; member
26 PetscCall(VecDestroy(&tfs->xo)); in PCDestroy_TFS()
70 PetscCall(VecPlaceArray(tfs->xo, xin + tfs->nd)); in PCTFSLocalMult_TFS()
72 PetscCall(MatMultAdd(a->B, tfs->xo, tfs->b, tfs->b)); in PCTFSLocalMult_TFS()
75 PetscCall(VecResetArray(tfs->xo)); in PCTFSLocalMult_TFS()
101 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, a->B->cmap->n, NULL, &tfs->xo)); in PCSetUp_TFS()
151 tfs->xo = NULL; in PCCreate_TFS()
/petsc/src/dm/impls/da/
H A Ddadd.c271 PetscInt xo, yo, zo; in DMDASubDomainDA_Private() local
346 xo = xs; in DMDASubDomainDA_Private()
360 xo -= xol; in DMDASubDomainDA_Private()
376 if (xo < 0) { in DMDASubDomainDA_Private()
377 xsize += xo; in DMDASubDomainDA_Private()
378 xo = 0; in DMDASubDomainDA_Private()
380 if (xo + xsize > info.mx - 1) xsize -= xo + xsize - info.mx; in DMDASubDomainDA_Private()
408 PetscCall(DMDASetOffset(da[idx], xo, yo, zo, info.mx, info.my, info.mz)); in DMDASubDomainDA_Private()
H A Ddaghost.c47 if (x) *x = dd->Xs / w + dd->xo; in DMDAGetGhostCorners()
H A Ddaview.c183 info->xs = dd->xs / w + dd->xo; in DMDAGetLocalInfo()
191 info->gxs = dd->Xs / w + dd->xo; in DMDAGetLocalInfo()
H A Dda.c332 PetscErrorCode DMDASetOffset(DM da, PetscInt xo, PetscInt yo, PetscInt zo, PetscInt Mo, PetscInt No… in DMDASetOffset() argument
338 PetscValidLogicalCollectiveInt(da, xo, 2); in DMDASetOffset()
344 dd->xo = xo; in DMDASetOffset()
351 …if (da->coordinates[0].dm) PetscCall(DMDASetOffset(da->coordinates[0].dm, xo, yo, zo, Mo, No, Po)); in DMDASetOffset()
375 PetscErrorCode DMDAGetOffset(DM da, PeOp PetscInt *xo, PeOp PetscInt *yo, PeOp PetscInt *zo, PeOp P… in DMDAGetOffset() argument
381 if (xo) *xo = dd->xo; in DMDAGetOffset()
896 starts2[0] = dd->Xs / dof + dd->xo; in DMDAMapMatStencilToGlobal()
H A Ddacorn.c249 if (x) *x = dd->xs / w + dd->xo; in DMDAGetCorners()
H A Ddacreate.c379 dd->xo = 0; in DMCreate_DA()
/petsc/src/ksp/ksp/tutorials/
H A Dex54f.F90309 PetscReal xo, xs, xt, yo, ys, yt, xsm, xsp, xtm
329 xo = xl(1, 1) - xl(1, 2) + xl(1, 3) - xl(1, 4)
330 xs = -xl(1, 1) + xl(1, 2) + xl(1, 3) - xl(1, 4) + xo*t
331 xt = -xl(1, 1) - xl(1, 2) + xl(1, 3) + xl(1, 4) + xo*s
/petsc/include/petsc/private/
H A Ddmdaimpl.h27 PetscInt xo, yo, zo; /* offsets for the indices in x y and z */ member