PetscSFMerge#

append/merge indices of sfb into sfa, with preference for sfb

Synopsis#

#include "petscsf.h"   
PetscErrorCode PetscSFMerge(PetscSF sfa, PetscSF sfb, PetscSF *merged)

Collective

Input Arguments#

  • sfa - default PetscSF

  • sfb - additional edges to add/replace edges in sfa

Output Arguments#

  • merged - new PetscSF with combined edges

See Also#

: PetscSFCompose()

Level#

intermediate

Location#

src/vec/is/sf/utils/sfutils.c


Edit on GitLab

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