| /petsc/src/dm/impls/da/ ! |
| H A D | dageometry.c | 42 PetscInt ys, ye, Ys, Ye; in DMGetLocalBoundingBox_DA() local 52 PetscCall(DMDAGetCorners(da, &xs, &ys, &zs, &xe, &ye, &ze)); in DMGetLocalBoundingBox_DA() 58 ye += ys; in DMGetLocalBoundingBox_DA() 84 c1 = (xe - 2 - Xs + 1) + (ye - 2 - Ys + 1) * (Xe - Xs); 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() 109 if (by == DM_BOUNDARY_PERIODIC && ye == N) { in DMGetLocalBoundingBox_DA() 111 ++ye; in DMGetLocalBoundingBox_DA() 124 if (dim > 1) ce[1] = ye; in DMGetLocalBoundingBox_DA() 135 PetscInt ys, ye, mylocal; in private_DMDALocatePointsIS_2D_Regular() local 146 ye = ce[1]; in private_DMDALocatePointsIS_2D_Regular() [all …]
|
| H A D | dagetelem.c | 41 PetscInt j, ys, ye, Ys, Ye; in DMDAGetElements_2D() local 65 PetscCall(DMDAGetCorners(dm, &xs, &ys, NULL, &xe, &ye, NULL)); in DMDAGetElements_2D() 70 ye += ys; in DMDAGetElements_2D() 73 da->ne = ns * (xe - xs - 1) * (ye - ys - 1); in DMDAGetElements_2D() 75 for (j = ys; j < ye - 1; j++) { in DMDAGetElements_2D() 92 corners[2] = (xs - Xs) + (ye - 1 - Ys) * (Xe - Xs); in DMDAGetElements_2D() 93 corners[3] = (xe - 1 - Xs) + (ye - 1 - Ys) * (Xe - Xs); in DMDAGetElements_2D() 106 PetscInt j, ys, ye, Ys, Ye; in DMDAGetElements_3D() local 131 PetscCall(DMDAGetCorners(dm, &xs, &ys, &zs, &xe, &ye, &ze)); in DMDAGetElements_3D() 136 ye += ys; in DMDAGetElements_3D() [all …]
|
| H A D | daindex.c | 19 if (dim > 1) Nlocal *= (dd->ye - dd->ys); in DMDAGetNatural_Private() 30 for (j = dd->ys; j < dd->ye; j++) { in DMDAGetNatural_Private() 38 for (j = dd->ys; j < dd->ye; j++) { in DMDAGetNatural_Private()
|
| H A D | da2.c | 92 ymax = dd->ye - 1; in DMView_DA_2d() 202 PetscInt xs, xe, ys, ye, x, y, Xs, Xe, Ys, Ye, IXs, IXe, IYs, IYe; in DMSetUp_DA_2D() local 304 ye = ys + y; in DMSetUp_DA_2D() 349 if (ye + s <= N) { in DMSetUp_DA_2D() 350 Ye = ye + s; in DMSetUp_DA_2D() 351 IYe = ye + s; in DMSetUp_DA_2D() 354 Ye = ye + s; in DMSetUp_DA_2D() 363 IYe = ye + s; in DMSetUp_DA_2D() 365 Ye = ye + s; in DMSetUp_DA_2D() 428 for (i = up; i < up + IYe - ye; i++) { in DMSetUp_DA_2D() [all …]
|
| H A D | da3.c | 113 ymax = dd->ye - 1; in DMView_DA_3d() 129 base = (dd->base + (dd->xe - dd->xs) * (dd->ye - dd->ys) * (k - dd->zs)) / dd->w; 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 375 ye = ys + y; in DMSetUp_DA_3D() 414 if (ye + s <= N) { in DMSetUp_DA_3D() 415 Ye = ye + s; in DMSetUp_DA_3D() 416 IYe = ye + s; in DMSetUp_DA_3D() 418 if (by) Ye = ye + s; in DMSetUp_DA_3D() 425 IYe = ye + s; in DMSetUp_DA_3D() 427 Ye = ye + s; in DMSetUp_DA_3D() [all …]
|
| H A D | daltol.c | 38 up = down + dd->ye - dd->ys; in DMLocalToLocalCreate_DA() 47 top = bottom + dd->ye - dd->ys; in DMLocalToLocalCreate_DA()
|
| H A D | daview.c | 187 info->ym = (dd->ye - dd->ys); in DMDAGetLocalInfo()
|
| H A D | dacorn.c | 254 if (n) *n = (dd->ye - dd->ys); in DMDAGetCorners()
|
| H A D | gr2.c | 542 if (dimension > 1) PetscCall(PetscHDF5IntCast(da->ye - da->ys, count + dim++)); in VecView_MPI_HDF5_DA() 615 PetscCall(PetscMPIIntCast(dd->ye - dd->ys, lsizes + 2)); in DMDAArrayMPIIO() 843 PetscCall(PetscHDF5IntCast(dd->ye - dd->ys, count + dim)); in VecLoad_HDF5_DA()
|
| H A D | da1.c | 290 dd->ye = 1; in DMSetUp_DA_1D()
|
| H A D | dalocal.c | 449 ym = dd->ye - dd->ys; in DMDAGetArray()
|
| /petsc/src/binding/petsc4py/demo/python_types/ ! |
| H A D | mat.py | 46 (xs, xe), (ys, ye) = self.da.getRanges() 56 for j in range(ys, ye): 76 (xs, xe), (ys, ye) = self.da.getRanges() 81 for j in range(ys, ye): 90 (xs, xe), (ys, ye) = self.da.getRanges() 91 for j in range(ys, ye):
|
| /petsc/src/ksp/pc/impls/kaczmarz/ ! |
| H A D | kaczmarz.c | 18 PetscInt xs, xe, ys, ye, ncols, i, j; in PCApply_Kaczmarz() local 28 PetscCall(MatGetOwnershipRangeColumn(pc->pmat, &ys, &ye)); in PCApply_Kaczmarz() 38 if (cols[j] >= ys && cols[j] < ye) r -= yarray[cols[j] - ys] * vals[j]; in PCApply_Kaczmarz() 43 if (cols[j] >= ys && cols[j] < ye) yarray[cols[j] - ys] += vals[j] * lambda * r / anrm; in PCApply_Kaczmarz() 54 if (cols[j] >= ys && cols[j] < ye) r -= yarray[cols[j] - ys] * vals[j]; in PCApply_Kaczmarz() 59 if (cols[j] >= ys && cols[j] < ye) yarray[cols[j] - ys] += vals[j] * lambda * r / anrm; in PCApply_Kaczmarz()
|
| /petsc/src/tao/unconstrained/tutorials/ ! |
| H A D | eptorsion2.c | 159 PetscInt xs, ys, xm, ym, gxm, gym, gxs, gys, xe, ye; in FormInitialGuess() local 169 ye = ys + ym; in FormInitialGuess() 170 for (j = ys; j < ye; j++) { /* for (j=0; j<my; j++) */ in FormInitialGuess() 200 PetscInt xe, ye, xsm, ysm, xep, yep; in FormFunctionGradient() local 233 ye = ys + ym; in FormFunctionGradient() 240 if (ye == my) yep = ye + 1; in FormFunctionGradient() 241 else yep = ye; in FormFunctionGradient() 244 for (j = ysm; j < ye; j++) { /* for (j=-1; j<my; j++) */ in FormFunctionGradient() 322 PetscCall(PetscLogFlops((ye - ysm) * (xe - xsm) * 20 + (xep - xs) * (yep - ys) * 16)); in FormFunctionGradient()
|
| H A D | eptorsion2f.F90 | 55 PetscInt i, j, k, xe, ye 71 ye = ys + ym 72 do j = ys, ye - 1 121 PetscInt xe, ye, xsm, ysm 153 ye = ys + ym 169 if (ye == my) then 170 yep = ye + 1 172 yep = ye 177 do j = ysm, ye - 1 255 PetscCall(PetscLogFlops(20.0d0*(ye - ysm)*(xe - xsm) + 16.0d0*(xep - xs)*(yep - ys), ierr))
|
| /petsc/src/snes/tutorials/ ! |
| H A D | ex5f.F90 | 40 PetscInt ys, ye, ym, gys, gye, gym 114 PetscScalar x(xs:xe, ys:ye) 129 do j = ys, ye 165 PetscScalar f(xs:xe, ys:ye) 177 ye = ys + info%YM - 1 191 do j = ys, ye 287 do j = ys, ye 457 ye = ys + ym - 1
|
| H A D | ex5f90t.F90 | 41 PetscInt ys, ye, ym, gys, gye, gym 177 PetscScalar x(ctx%xs:ctx%xe, ctx%ys:ctx%ye) 193 do j = ctx%ys, ctx%ye 225 PetscScalar f(ctx%xs:ctx%xe, ctx%ys:ctx%ye) 243 do j = ctx%ys, ctx%ye 422 do j = ctx%ys, ctx%ye 534 ctx%ye = ctx%ys + ctx%ym - 1
|
| H A D | ex5f90.F90 | 41 PetscInt ys, ye, ym, gys, gye, gym 187 PetscScalar x(ctx%xs:ctx%xe, ctx%ys:ctx%ye) 203 do j = ctx%ys, ctx%ye 235 PetscScalar f(ctx%xs:ctx%xe, ctx%ys:ctx%ye) 253 do j = ctx%ys, ctx%ye 433 do j = ctx%ys, ctx%ye 546 ctx%ye = ctx%ys + ctx%ym - 1
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson2d/ ! |
| H A D | poisson2d.py | 39 (xs, xe), (ys, ye) = self.da.getRanges() 40 for j in range(ys, ye): 52 (xs, xe), (ys, ye) = self.da.getRanges() 53 for j in range(ys, ye):
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ ! |
| H A D | Bratu2D.F90 | 29 PetscInt my, ys, ye, ym, gys, gye, gym 49 grd%ye = grd%ys + grd%ym - 1 59 PetscScalar x(grd%xs:grd%xe, grd%ys:grd%ye) 71 do j = grd%ys, grd%ye 91 PetscScalar f(grd%xs:grd%xe, grd%ys:grd%ye) 107 do j = grd%ys, grd%ye 147 do j = grd%ys, grd%ye
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu3d/ ! |
| H A D | bratu3d.py | 46 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 49 for j in range(ys, ye): 76 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 78 for j in range(ys, ye): 114 (xs, xe), (ys, ye), (zs, ze) = self.da.getRanges() 116 for j in range(ys, ye):
|
| /petsc/src/sys/classes/draw/impls/image/ ! |
| H A D | drawimage.h | 24 int y, ys = img->clip[1], ye = img->clip[3]; in PetscImageClear() local 25 for (y = ys; y < ye; y++) in PetscImageClear() 78 int ys = PetscMax(y, img->clip[1]), ye = PetscMin(y + h, img->clip[3]); in PetscImageDrawRectangle() local 79 if (xs >= xe || ys >= ye) return; in PetscImageDrawRectangle() 80 for (y = ys; y < ye; y++) in PetscImageDrawRectangle()
|
| /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 | 226 El::DistMatrix<PetscElemScalar, El::VC, El::STAR> xe, ye; in MatMult_Elemental() local 228 ye.Attach(A->rmap->N, 1, *a->grid, 0, 0, y, A->rmap->n); in MatMult_Elemental() 229 El::Gemv(El::NORMAL, one, *a->emat, xe, zero, ye); in MatMult_Elemental() 247 El::DistMatrix<PetscElemScalar, El::VC, El::STAR> xe, ye; in MatMultTranspose_Elemental() local 249 ye.Attach(A->cmap->N, 1, *a->grid, 0, 0, y, A->cmap->n); in MatMultTranspose_Elemental() 250 El::Gemv(El::TRANSPOSE, one, *a->emat, xe, zero, ye); in MatMultTranspose_Elemental()
|
| /petsc/src/dm/impls/moab/ ! |
| H A D | dmmbutil.cxx | 255 PetscInt ix, ie, xe, ye, ze; in DMMoab_GenerateElements_Private() local 305 …ye = (genCtx.dim > 1 ? n * genCtx.B * genCtx.blockSizeElementXYZ[1] + b * 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()
|