petsc-3.3-p7 2013-05-11

PetscSFCreateSectionSF

Create an expanded SF of dofs, assuming the input SF relates points

Synopsis

#include "petscvec.h"   
PetscErrorCode PetscSFCreateSectionSF(PetscSF sf, PetscSection rootSection, PetscInt remoteOffsets[], PetscSection leafSection, PetscSF *sectionSF)

Input Parameters

sf - The SF
rootSection - Data layout of remote points for outgoing data (this is usually the serial section), or PETSC_NULL
remoteOffsets - Offsets for point data on remote processes (these are offsets from the root section), or PETSC_NULL

Output Parameters

leafSection - Data layout of local points for incoming data (this is the distributed section)
sectionSF - The new SF

Note: Either rootSection or remoteOffsets can be specified

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