GridCalcGeneralElementMatIndices

This function calculates the row and column indices for a particular element using alternate variable orderings.

Synopsis

#include "grid.h" 
int GridCalcGeneralElementMatIndices(Grid grid, int elem, VarOrdering sOrder, VarOrdering tOrder, PetscTruth useLocal,
                                     ElementMat mat)
Not collective

Input Parameters

grid - The Grid
elem - The element
sOrder - The global variable ordering for the shape functions
tOrder - The global variable ordering for the test functions
useLocal - The flag for local numbering of ghost nodes

Output Parameter

mat -The element matrix

Keywords

element matrix, index, general

See Also

ElementMatSetValues()

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