petsc-3.14.6 2021-03-30
Report Typos and Errors

DMPlexDistributeOwnership

Compute owner information for shared points. This basically gets two-sided for an SF.

Synopsis

#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexDistributeOwnership(DM dm, PetscSection rootSection, IS *rootrank, PetscSection leafSection, IS *leafrank)
Collective on dm

Input Parameter

dm - The DM

Output Parameters

rootSection - The number of leaves for a given root point
rootrank - The rank of each edge into the root point
leafSection - The number of processes sharing a given leaf point
leafrank - The rank of each process sharing a leaf point

See Also

DMPlexCreateOverlapLabel(), DMPlexDistribute(), DMPlexDistributeOverlap()

Level

developer

Location

src/dm/impls/plex/plexdistribute.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages