petsc-3.3-p7 2013-05-11

DMMeshAssembleVectorComplete

Insert values from a local ghosted vector into a global vector

Synopsis

#include "petscdmmesh.h"   
PetscErrorCode DMMeshAssembleVectorComplete(Vec g, Vec l, InsertMode mode)
Collective on g

Input Parameters

g - The global vector
l - The local vector
mode - either ADD_VALUES or INSERT_VALUES, where ADD_VALUES adds values to any existing entries, and INSERT_VALUES replaces existing entries with new values

See Also

MatSetOption()

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