petsc-3.6.2 2015-10-02
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