Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplex.c7849 PetscInt *newPoints, *indices, *newIndices, *tmpIndices, *tmpNewIndices; in DMPlexAnchorsGetSubMatModification() local
7953 PetscCall(DMGetWorkArray(dm, 2 * newNumPoints, MPIU_INT, &newPoints)); in DMPlexAnchorsGetSubMatModification()
7954 PetscCall(PetscArrayzero(newPoints, 2 * newNumPoints)); in DMPlexAnchorsGetSubMatModification()
7971 newPoints[2 * newP] = a; in DMPlexAnchorsGetSubMatModification()
7972newPoints[2 * newP + 1] = 0; // orientations are accounted for in constructing the matrix, newly a… in DMPlexAnchorsGetSubMatModification()
7977 newPoints[2 * newP] = b; in DMPlexAnchorsGetSubMatModification()
7978 newPoints[2 * newP + 1] = points[2 * p + 1]; in DMPlexAnchorsGetSubMatModification()
7997 …PetscCall(DMPlexAnchorsGetSubMatIndices(newNumPoints, newPoints, section, section, tmpNewIndices, … in DMPlexAnchorsGetSubMatModification()
8060 *outPoints = newPoints; in DMPlexAnchorsGetSubMatModification()
8062 PetscCall(DMRestoreWorkArray(dm, 2 * newNumPoints, MPIU_INT, &newPoints)); in DMPlexAnchorsGetSubMatModification()