Lines Matching refs:points

54   PetscInt    sizes[16], points[1024];  in PetscPartitionerSetFromOptions_Shell()  local
66 …oints in each partition on rank 0", "PetscPartitionerShellSetPartition", points, &Npoints, &flgPoi… in PetscPartitionerSetFromOptions_Shell()
73 if (!rank) PetscCall(PetscPartitionerShellSetPartition(part, Npart, sizes, points)); in PetscPartitionerSetFromOptions_Shell()
76 PetscCall(PetscPartitionerShellSetPartition(part, Npart, sizes, points)); in PetscPartitionerSetFromOptions_Shell()
91 PetscInt *sizes, *points, v, p; in PetscPartitionerPartition_Shell() local
98 PetscCall(PetscCalloc2(nparts, &sizes, numVertices, &points)); in PetscPartitionerPartition_Shell()
99 for (v = 0; v < numVertices; ++v) points[v] = v; in PetscPartitionerPartition_Shell()
108 tmp = points[v]; in PetscPartitionerPartition_Shell()
109 points[v] = points[w]; in PetscPartitionerPartition_Shell()
110 points[w] = tmp; in PetscPartitionerPartition_Shell()
113 PetscCall(PetscPartitionerShellSetPartition(part, nparts, sizes, points)); in PetscPartitionerPartition_Shell()
114 PetscCall(PetscFree2(sizes, points)); in PetscPartitionerPartition_Shell()
182 …SetPartition(PetscPartitioner part, PetscInt size, const PetscInt sizes[], const PetscInt points[]) in PetscPartitionerShellSetPartition() argument
190 if (points) PetscAssertPointer(points, 4); in PetscPartitionerShellSetPartition()
200 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)part), numPoints, points, PETSC_COPY_VALUES… in PetscPartitionerShellSetPartition()