petsc-3.3-p7 2013-05-11

PetscSFDistributeSection

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

Synopsis

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

Input Parameters

sf - The SF
rootSection - Section defined on root space

Output Parameters

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

See Also

PetscSFCreate()

Level:intermediate
Location:
src/vec/vec/impls/seq/vsection.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages