petsc-3.4.5 2014-06-29

SectionRealRestrict

Restricts the SectionReal to a subset of the topology, returning an array of values.

Synopsis

#include "petscdmmesh.h"   
PetscErrorCode  SectionRealRestrict(SectionReal section, PetscInt point, PetscScalar *values[])
Not collective

Input Parameters

section - the section object
point - the Sieve point

Output Parameter

values -The values associated with the submesh

See Also

SectionUpdate(), SectionCreate(), SectionView()

Level:advanced
Location:
src/dm/impls/mesh/section.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex10.c.html