Lines Matching refs:points
35 PetscInt *points = NULL, numPoints, p, dof, cldof = 0; in DMPlexCreateClosureIndex() local
37 PetscCall(DMPlexGetTransitiveClosure(dm, point, PETSC_TRUE, &numPoints, &points)); in DMPlexCreateClosureIndex()
39 if ((points[p] >= sStart) && (points[p] < sEnd)) { in DMPlexCreateClosureIndex()
40 PetscCall(PetscSectionGetDof(section, points[p], &dof)); in DMPlexCreateClosureIndex()
44 PetscCall(DMPlexRestoreTransitiveClosure(dm, point, PETSC_TRUE, &numPoints, &points)); in DMPlexCreateClosureIndex()
51 PetscInt *points = NULL, numPoints, p, q, dof, cldof, cloff; in DMPlexCreateClosureIndex() local
55 PetscCall(DMPlexGetTransitiveClosure(dm, point, PETSC_TRUE, &numPoints, &points)); in DMPlexCreateClosureIndex()
57 if ((points[p] >= sStart) && (points[p] < sEnd)) { in DMPlexCreateClosureIndex()
58 PetscCall(PetscSectionGetDof(section, points[p], &dof)); in DMPlexCreateClosureIndex()
60 clPoints[cloff + q * 2] = points[p]; in DMPlexCreateClosureIndex()
61 clPoints[cloff + q * 2 + 1] = points[p + 1]; in DMPlexCreateClosureIndex()
66 PetscCall(DMPlexRestoreTransitiveClosure(dm, point, PETSC_TRUE, &numPoints, &points)); in DMPlexCreateClosureIndex()