petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscSFDistributeSection

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

Synopsis

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

Input Parameters

sf - The SF
rootSection - Section defined on root space

Output Parameters

remoteOffsets - root offsets in leaf storage, or NULL
leafSection - Section defined on the leaf space

See Also

PetscSFCreate()

Level

advanced

Location

src/vec/is/section/interface/section.c
Index of all PetscSection routines
Table of Contents for all manual pages
Index of all manual pages