GridCalcBoundaryElementVecIndices

This function calculates the global row indices for a particular boundary element.

Synopsis

#include "grid.h" 
int GridCalcBoundaryElementVecIndices(Grid grid, int bd, int edge, int midNode, VarOrdering order, PetscTruth useLocal,
                                      ElementVec vec)
Not collective

Input Parameters

grid - The discretization context
bd - The boundary index
edge - The boundary element
midNode - The midnode on an edge, or -1 if none exists
order - The new global variable ordering
useLocal - The flag for local numbering of ghost nodes

Output Parameter

vec -The element vector

Note

The boundary is specified by its index, not marker. Use MeshGetBoundaryIndex() to retrieve this from the marker.

Keywords

element vector, index, boundary

See Also

GridCalcElementVecIndices(), GridCalcLocalElementVecIndices(), GridCalcInterpolationElementVecIndices(),
ElementVecSetValues()

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