petsc-3.7.1 2016-05-15
Report Typos and Errors

# PetscSection

Mapping from integers in a designated range to contiguous sets of integers.

### Synopsis

    typedef struct _p_PetscSection *PetscSection;

In contrast to IS, which maps from integers to single integers, the range of a PetscSection is in the space of Many brcontiguous sets of integers. These ranges are frequently interpreted as domains of other array-like objects, Many brespecially other PetscSections, Vecs, and ISs. The domain is set with PetscSectionSetChart() and does not need to Many brstart at 0. For each point in the domain of a PetscSection, the output set is represented through an offset and a Many brcount, which are set using PetscSectionSetOffset() and PetscSectionSetDof() respectively. Lookup is typically using Many braccessors or routines like VecGetValuesSection(). Many br

Many br

### See Also

PetscSectionCreate(), PetscSectionDestroy()

Level:developer
Location:src/vec/is/is/../../../../include/petscistypes.h
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/ts/examples/tutorials/ex11.c.html