ElementMatSetDiagonalValues

his function puts only the diagonal entries of the element matrix into a global vector.

Synopsis

#include "grid.h" 
int ElementMatSetDiagonalValues(ElementMat mat, GVec d, InsertMode addv)
Collective on GVec

Input Parameters

mat - The element matrix
addv - The insertion mode

Output Parameter

d -The global vector

Keywords

element matrix, finite element

See Also

ElementMatSetValues

Level:beginner
Location:
src/grid/interface/elemvec.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages