DMPlexCreateTwoSidedProcessSF#

Create an SF which just has process connectivity

Synopsis#

#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexCreateTwoSidedProcessSF(DM dm, PetscSF sfPoint, PetscSection rootRankSection, IS rootRanks, PetscSection leafRankSection, IS leafRanks, IS *processRanks, PetscSF *sfProcess)

Collective on dm

Input Parameters#

  • dm - The DM

  • sfPoint - The PetscSF which encodes point connectivity

  • rootRankSection -

  • rootRanks -

  • leftRankSection -

  • leafRanks -

Output Parameters#

  • processRanks - A list of process neighbors, or NULL

  • sfProcess - An SF encoding the two-sided process connectivity, or NULL

See Also#

PetscSFCreate(), DMPlexCreateProcessSF()

Level#

developer

Location#

src/dm/impls/plex/plexdistribute.c


Edit on GitLab

Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages