Searched refs:pidlist (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/swarm/ |
| H A D | swarmpic_sort.c | 164 …cErrorCode DMSwarmSortGetPointsPerCell(DM sw, PetscInt cell, PetscInt *npoints, PetscInt **pidlist) in DMSwarmSortGetPointsPerCell() argument 175 PetscCall(DMGetWorkArray(sw, *npoints, MPIU_SCALAR, pidlist)); in DMSwarmSortGetPointsPerCell() 179 (*pidlist)[p] = pid_unsorted; in DMSwarmSortGetPointsPerCell() 202 …ErrorCode DMSwarmSortRestorePointsPerCell(DM dm, PetscInt e, PetscInt *npoints, PetscInt **pidlist) in DMSwarmSortRestorePointsPerCell() argument 205 PetscCall(DMRestoreWorkArray(dm, *npoints, MPIU_SCALAR, pidlist)); in DMSwarmSortRestorePointsPerCell()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMSwarm.pyx | 860 cdef list pidlist = [] 863 for i from 0 <= i < npoints: pidlist.append(asInt(cpidlist[i])) 864 return pidlist
|