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

DMPlexCreateClosureIndex

Calculate an index for the given PetscSection for the closure operation on the DM

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateClosureIndex(DM dm, PetscSection section)
Not collective Many br

Input Parameters

dm - The DM Many br
section - The section describing the layout in v, or NULL to use the default section Many br

Note

This should greatly improve the performance of the closure operations, at the cost of additional memory. Many br

Many br

See Also

DMPlexVecGetClosure(), DMPlexVecRestoreClosure(), DMPlexVecSetClosure(), DMPlexMatSetClosure()

Level:intermediate
Location:
src/dm/impls/plex/plexindices.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex62.c.html
src/snes/examples/tutorials/ex77.c.html