Lines Matching refs:numVertices
98 PetscInt *points = NULL, numPoints, p, numVertices = 0, v, m = -1; in DMPlexGenerate_CTetgen() local
109 if ((point >= vStart) && (point < vEnd)) points[numVertices++] = point; in DMPlexGenerate_CTetgen()
113 poly->numberofvertices = numVertices; in DMPlexGenerate_CTetgen()
115 for (v = 0; v < numVertices; ++v) { in DMPlexGenerate_CTetgen()
148 const PetscInt numVertices = out->numberofpoints; in DMPlexGenerate_CTetgen() local
157 PetscCall(PetscMalloc1(dim * numVertices, &meshCoords)); in DMPlexGenerate_CTetgen()
158 for (i = 0; i < dim * numVertices; ++i) meshCoords[i] = (PetscReal)out->pointlist[i]; in DMPlexGenerate_CTetgen()
170 …PetscCall(DMPlexCreateFromCellListPetsc(comm, dim, numCells, numVertices, numCorners, interpolate,… in DMPlexGenerate_CTetgen()
176 for (v = 0; v < numVertices; ++v) { in DMPlexGenerate_CTetgen()
422 const PetscInt numVertices = out->numberofpoints; in DMPlexRefine_CTetgen() local
432 PetscCall(PetscMalloc1(dim * numVertices, &meshCoords)); in DMPlexRefine_CTetgen()
433 for (i = 0; i < dim * numVertices; ++i) meshCoords[i] = (PetscReal)out->pointlist[i]; in DMPlexRefine_CTetgen()
445 …PetscCall(DMPlexCreateFromCellListPetsc(comm, dim, numCells, numVertices, numCorners, interpolate,… in DMPlexRefine_CTetgen()
451 for (v = 0; v < numVertices; ++v) { in DMPlexRefine_CTetgen()