petsc-3.4.4 2014-03-13

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