| /petsc/src/dm/impls/da/ |
| H A D | dageometry.c | 43 PetscInt zs, ze, Zs, Ze; in DMGetLocalBoundingBox_DA() local 52 PetscCall(DMDAGetCorners(da, &xs, &ys, &zs, &xe, &ye, &ze)); in DMGetLocalBoundingBox_DA() 60 ze += zs; in DMGetLocalBoundingBox_DA() 88 …c1 = (xe - 2 - Xs + 1) + (ye - 2 - Ys + 1) * (Xe - Xs) + (ze - 2 - Zs + 1) * (Xe - Xs) * (Ye - Ys); in DMGetLocalBoundingBox_DA() 113 if (bz == DM_BOUNDARY_PERIODIC && ze == P) { in DMGetLocalBoundingBox_DA() 115 ++ze; in DMGetLocalBoundingBox_DA() 125 if (dim > 2) ce[2] = ze; in DMGetLocalBoundingBox_DA() 198 PetscInt zs, ze, mzlocal; in private_DMDALocatePointsIS_3D_Regular() local 211 ze = ce[2]; in private_DMDALocatePointsIS_3D_Regular() 216 mzlocal = ze - zs - 1; in private_DMDALocatePointsIS_3D_Regular() [all …]
|
| H A D | dagetelem.c | 107 PetscInt k, zs, ze, Zs, Ze; in DMDAGetElements_3D() local 131 PetscCall(DMDAGetCorners(dm, &xs, &ys, &zs, &xe, &ye, &ze)); in DMDAGetElements_3D() 139 ze += zs; in DMDAGetElements_3D() 142 da->ne = ns * (xe - xs - 1) * (ye - ys - 1) * (ze - zs - 1); in DMDAGetElements_3D() 144 for (k = zs; k < ze - 1; k++) { in DMDAGetElements_3D() 169 corners[4] = (xs - Xs) + (ys - Ys) * (Xe - Xs) + (ze - 1 - Zs) * (Xe - Xs) * (Ye - Ys); in DMDAGetElements_3D() 170 corners[5] = (xe - 1 - Xs) + (ys - Ys) * (Xe - Xs) + (ze - 1 - Zs) * (Xe - Xs) * (Ye - Ys); in DMDAGetElements_3D() 171 corners[6] = (xs - Xs) + (ye - 1 - Ys) * (Xe - Xs) + (ze - 1 - Zs) * (Xe - Xs) * (Ye - Ys); in DMDAGetElements_3D() 172 corners[7] = (xe - 1 - Xs) + (ye - 1 - Ys) * (Xe - Xs) + (ze - 1 - Zs) * (Xe - Xs) * (Ye - Ys); in DMDAGetElements_3D() 249 PetscInt zs, ze, Zs; in DMDAGetElementsSizes() local [all …]
|
| H A D | da3.c | 110 if ((k >= dd->zs) && (k < dd->ze)) { in DMView_DA_3d() 208 PetscInt xs = 0, xe, ys = 0, ye, zs = 0, ze, x = 0, y = 0, z = 0; in DMSetUp_DA_3D() local 377 ze = zs + z; in DMSetUp_DA_3D() 438 if (ze + s <= P) { in DMSetUp_DA_3D() 439 Ze = ze + s; in DMSetUp_DA_3D() 440 IZe = ze + s; in DMSetUp_DA_3D() 442 if (bz) Ze = ze + s; in DMSetUp_DA_3D() 449 IZe = ze + s; in DMSetUp_DA_3D() 451 Ze = ze + s; in DMSetUp_DA_3D() 524 for (i = up; i < up + IZe - ze; i++) { in DMSetUp_DA_3D() [all …]
|
| H A D | daindex.c | 20 if (dim > 2) Nlocal *= (dd->ze - dd->zs); in DMDAGetNatural_Private() 37 for (k = dd->zs; k < dd->ze; k++) { in DMDAGetNatural_Private()
|
| H A D | daltol.c | 49 up = down + dd->ze - dd->zs; in DMLocalToLocalCreate_DA()
|
| H A D | daview.c | 189 info->zm = (dd->ze - dd->zs); in DMDAGetLocalInfo()
|
| H A D | dacorn.c | 255 if (p) *p = (dd->ze - dd->zs); in DMDAGetCorners()
|
| H A D | gr2.c | 541 if (dimension == 3) PetscCall(PetscHDF5IntCast(da->ze - da->zs, count + dim++)); in VecView_MPI_HDF5_DA() 616 PetscCall(PetscMPIIntCast(dd->ze - dd->zs, lsizes + 3)); in DMDAArrayMPIIO() 838 PetscCall(PetscHDF5IntCast(dd->ze - dd->zs, count + dim)); in VecLoad_HDF5_DA()
|
| H A D | da1.c | 292 dd->ze = 1; in DMSetUp_DA_1D()
|
| H A D | dalocal.c | 450 zm = dd->ze - dd->zs; in DMDAGetArray()
|
| H A D | dacreate.c | 367 dd->ze = -1; in DMCreate_DA()
|
| H A D | da2.c | 730 dd->ze = 1; in DMSetUp_DA_2D()
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu3d/ |
| H A D | bratu3d.py | 46 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 47 for k in range(zs, ze): 76 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 77 for k in range(zs, ze): 114 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 115 for k in range(zs, ze):
|
| /petsc/include/petsc/private/ |
| H A D | dmdaimpl.h | 15 PetscInt xs, xe, ys, ye, zs, ze; /* range of local values */ member
|
| /petsc/src/mat/impls/elemental/ |
| H A D | matelem.cxx | 269 El::DistMatrix<PetscElemScalar, El::VC, El::STAR> xe, ze; in MatMultAdd_Elemental() local 271 ze.Attach(A->rmap->N, 1, *a->grid, 0, 0, z, A->rmap->n); in MatMultAdd_Elemental() 272 El::Gemv(El::NORMAL, one, *a->emat, xe, one, ze); in MatMultAdd_Elemental() 291 El::DistMatrix<PetscElemScalar, El::VC, El::STAR> xe, ze; in MatMultTransposeAdd_Elemental() local 293 ze.Attach(A->cmap->N, 1, *a->grid, 0, 0, z, A->cmap->n); in MatMultTransposeAdd_Elemental() 294 El::Gemv(El::TRANSPOSE, one, *a->emat, xe, one, ze); in MatMultTransposeAdd_Elemental()
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmbutil.cxx | 255 PetscInt ix, ie, xe, ye, ze; in DMMoab_GenerateElements_Private() local 306 …ze = (genCtx.dim > 2 ? k * genCtx.C * genCtx.blockSizeElementXYZ[2] + c * genCtx.blockSizeElementX… in DMMoab_GenerateElements_Private() 320 … gids[ie + j] = 1 + ((xe + ii) + (ye + jj) * genCtx.nex + (ze + kk) * (genCtx.nex * genCtx.ney)); in DMMoab_GenerateElements_Private()
|
| /petsc/doc/ |
| H A D | petsc.bib | 21799 author = {P. Ladev{\`e}ze and J.G. Simmonds},
|