PETSc version 3.16.5
Fix/Edit manual page

# PetscSFDistributeSection

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

### Synopsis

    #include "petscsf.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/sf/utils/sfutils.c
Index of all SF routines
Table of Contents for all manual pages
Index of all manual pages