Home
last modified time | relevance | path

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

/petsc/src/dm/tutorials/
H A Dex22.c38 …PetscInt gp = 2; /* grid point along sliceaxis to pick the slic… in main() local
64 …"-gp", "index along sliceaxis at which 2D slice is extracted", "ex22.c", gp, &gp, NULL, 0, PETSC_I… in main()
69 …PetscCheck(gp <= Mx, PETSC_COMM_WORLD, PETSC_ERR_USER_INPUT, "grid point along sliceaxis is larger… in main()
71 …PetscCheck(gp <= My, PETSC_COMM_WORLD, PETSC_ERR_USER_INPUT, "grid point along sliceaxis is larger… in main()
73 …PetscCheck(gp <= Mz, PETSC_COMM_WORLD, PETSC_ERR_USER_INPUT, "grid point along sliceaxis is larger… in main()
105 lower.i = gp; in main()
108 upper.i = gp; in main()
113 lower.j = gp; in main()
116 upper.j = gp; in main()
121 lower.k = gp; in main()
[all …]
/petsc/src/dm/impls/da/
H A Ddasub.c103 PetscErrorCode DMDAGetRay(DM da, DMDirection dir, PetscInt gp, Vec *newvec, VecScatter *scatter) in DMDAGetRay() argument
120 indices[0] = dd->w * gp; in DMDAGetRay()
135 indices[0] = gp * dd->M * dd->w; in DMDAGetRay()
146 indices[0] = dd->w * gp; in DMDAGetRay()
199 PetscErrorCode DMDAGetProcessorSubset(DM da, DMDirection dir, PetscInt gp, MPI_Comm *comm) in DMDAGetProcessorSubset() argument
214 …PetscCheck(gp >= 0 && gp <= dd->P, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "invalid grid point"… in DMDAGetProcessorSubset()
215 if (gp >= zs && gp < zs + zm) flag = 1; in DMDAGetProcessorSubset()
218 …PetscCheck(gp >= 0 && gp <= dd->N, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "invalid grid point"… in DMDAGetProcessorSubset()
219 if (gp >= ys && gp < ys + ym) flag = 1; in DMDAGetProcessorSubset()
221 …PetscCheck(gp >= 0 && gp <= dd->M, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "invalid grid point"… in DMDAGetProcessorSubset()
[all …]
H A Dgrglvis.c97 PetscInt sx, sy, sz, gsx, gsy, gsz, ist, jst, kst, gm, gn, gp; in DMDASampleGLVisFields_Private() local
107 PetscCall(DMDAGetGhostCorners(da, &gsx, &gsy, &gsz, &gm, &gn, &gp)); in DMDASampleGLVisFields_Private()
344 PetscInt gsx, gsy, gsz, gm, gn, gp, kst, jst, ist; in DMDAView_GLVis_ASCII() local
472 gp = ken; in DMDAView_GLVis_ASCII()
480 PetscCall(DMDAGetGhostCorners(da, &gsx, &gsy, &gsz, &gm, &gn, &gp)); in DMDAView_GLVis_ASCII()
/petsc/src/dm/impls/da/ftn-custom/
H A Dzdasubf.c12 PETSC_EXTERN void dmdagetprocessorsubset_(DM *da, DMDirection *dir, PetscInt *gp, MPI_Fint *fcomm, … in dmdagetprocessorsubset_() argument
15 *__ierr = DMDAGetProcessorSubset(*da, *dir, *gp, &comm); in dmdagetprocessorsubset_()
/petsc/lib/petsc/bin/maint/
H A Dexampleslog.py234 gp=testDict[fname]['gitPerson']
235 gitPerson=gp.replace("<","&lt").replace("<","&gt")
236 gpName=gp.split("<")[0].strip(); gpLastName=gpName.split()[-1]
238 allGitPersons[gpLastName]=(gp,gpName)
/petsc/src/dm/impls/plex/
H A Dplexpartition.c218 const PetscInt gp = DMPlex_GlobalID(cellNum[p - pStart]); in DMPlexCreatePartitionerGraph_Native() local
226 if (remoteCells[point] >= 0 && remoteCells[point] != gp) { in DMPlexCreatePartitionerGraph_Native()
236 if (remoteCells[child] >= 0 && remoteCells[child] != gp) { in DMPlexCreatePartitionerGraph_Native()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c805 PetscInt gp = gpoint[p - pStart]; in DMPlexDistributionView_HDF5_Private() local
808 gpoints[p - pStart] = (gp < 0 ? -(gp + 1) : gp); in DMPlexDistributionView_HDF5_Private()
/petsc/doc/
H A Dpetsc.bib1355 url = {http://www.amazon.com/gp/product/158883042X},
1374 url = {http://www.amazon.com/gp/product/0444518509},