petsc-3.5.4 2015-05-23
Report Typos and Errors


Get the cache of points in the closure of each point in the section


#include "petscvec.h"   
PetscErrorCode PetscSectionGetClosureIndex(PetscSection section, PetscObject obj, PetscSection *clSection, IS *clPoints)

Input Parameters

section - The PetscSection
obj - A PetscObject which serves as the key for this index

Output Parameters

clSection - Section giving the size of the closure of each point
clPoints - IS giving the points in each closure

Note: We compress out closure points with no dofs in this section

See Also

PetscSectionSetClosureIndex(), DMPlexCreateClosureIndex()

Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages