petsc-3.4.2 2013-07-02

# DMMeshAssembleVector

Insert values into a vector

### Synopsis

    #include "petscdmmesh.h"
    PetscErrorCode DMMeshAssembleVector(Vec b, PetscInt e, PetscScalar v[], InsertMode mode)

Collective on A

### Input Parameters

| b | - the vector
| e | - The element number
| v | - The values
| 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

VecSetOption()

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