#include "petscdmplex.h" static PetscErrorCode DMPlexRewriteSF(DM dm, PetscInt n, PetscInt *pointsToRewrite, PetscInt *targetOwners, const PetscInt *degrees)
dm | - The DMPlex object. | |
n | - The number of points. | |
pointsToRewrite | - The points in the SF whose ownership will change. | |
targetOwners | - New owner for each element in pointsToRewrite. | |
degrees | - Degrees of the points in the SF as obtained by PetscSFComputeDegreeBegin/PetscSFComputeDegreeEnd. |