Home
last modified time | relevance | path

Searched refs:zi (Results 1 – 3 of 3) sorted by relevance

/petsc/src/benchmarks/
H A DIndex.c21 int i, ierr, *z, *zi, intval; in test1() local
31 PetscCall(PetscMalloc1(2000, &zi)); in test1()
46 zi[i] = intval; in test1()
96 for (i = 0; i < 2000; i++) x[z[i]] = y[zi[i]]; in test1()
101 PetscCall(PetscArraycpy(z, zi, 10)); in test1()
103 PetscCall(PetscFree(zi)); in test1()
114 int i, ierr, z[20000], zi[20000], intval, tmp; in test2() local
128 zi[i] = i; in test2()
143 tmp = zi[i]; in test2()
144 zi[i] = zi[intval]; in test2()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexply.c26 PetscInt dim = 2, cdim = 3, Nvp = 0, coordSize, xi = -1, yi = -1, zi = -1, v, c, p; in DMPlexCreatePLYFromFile() local
103 if (matchB) zi = Nvp; in DMPlexCreatePLYFromFile()
163 else if (p == zi) coords[v * cdim + 2] = rbuf[0]; in DMPlexCreatePLYFromFile()
H A Dplexgeometry.c2001 PetscInt zi = zToPlex[i]; in DMPlexComputeRectangleGeometry_Internal() local
2003 for (j = 0; j < dim; j++) zOrder[dim * i + j] = PetscRealPart(coords[dim * zi + j]); in DMPlexComputeRectangleGeometry_Internal()
2144 PetscInt zi = zToPlex[i]; in DMPlexComputeHexahedronGeometry_Internal() local
2146 for (j = 0; j < dim; j++) zOrder[dim * i + j] = PetscRealPart(coords[dim * zi + j]); in DMPlexComputeHexahedronGeometry_Internal()