petsc-3.3-p7 2013-05-11

DMComplexVecGetClosure

Get an array of the values on the closure of 'point'

Synopsis

#include "petscdmcomplex.h"   
PetscErrorCode DMComplexVecGetClosure(DM dm, PetscSection section, Vec v, PetscInt point, const PetscScalar *values[])
Not collective

Input Parameters

dm - The DM
section - The section describing the layout in v, or PETSC_NULL to use the default section
v - The local vector
point - The sieve point in the DM

Output Parameters

values -The array of values, which is a borrowed array and should not be freed

See Also

DMComplexVecSetClosure(), DMComplexMatSetClosure()

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

Examples

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