petsc-3.4.5 2014-06-29

SectionRealToVecDM

Maps the given section to a Vec

Synopsis

#include "petscdmmesh.h"   
PetscErrorCode  SectionRealToVecDM(SectionReal section, DM dm, ScatterMode mode, Vec vec)
Collective on Section

Input Parameters

section - the real Section
mesh - The DMMesh

Output Parameter

vec -the Vec

See Also

VecCreate(), SectionRealCreate()

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