petsc-3.3-p7 2013-05-11

DMMeshGetSectionReal

Returns a SectionReal of the given name from the DMMesh.

Synopsis

#include "petscdmmesh.h"   
PetscErrorCode DMMeshGetSectionReal(DM dm, const char name[], SectionReal *section)
Collective on DMMesh

Input Parameters

mesh - The DMMesh object
name - The section name

Output Parameter

section -The SectionReal

Note: The section is a new object, and must be destroyed by the user

Keywords

mesh, elements

See Also

DMMeshCreate(), SectionRealDestroy()

Level:intermediate
Location:
src/dm/impls/mesh/mesh.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