PetscSFDistributeSection#

Create a new PetscSection reorganized, moving from the root to the leaves of the PetscSF

Synopsis#

#include "petscsf.h"   
PetscErrorCode PetscSFDistributeSection(PetscSF sf, PetscSection rootSection, PetscInt **remoteOffsets, PetscSection leafSection)

Collective

Input Parameters#

  • sf - The PetscSF

  • rootSection - Section defined on root space

Output Parameters#

  • remoteOffsets - root offsets in leaf storage, or NULL

  • leafSection - Section defined on the leaf space

Fortran Notes#

In Fortran, use PetscSFDistributeSectionF90()

See Also#

PetscSF, PetscSFCreate()

Level#

advanced

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