H2Lib
3.0

Representation of a trial space with piecewise linear nodal basis functions on a threedimensional tetrahedral mesh. More...
#include <tet3dp1.h>
Data Fields  
pctet3d  gr 
Tetrahedral mesh, represented by tet3d object.  
uint  ndof 
Number of degrees of freedom.  
uint  nfix 
Number of fixed vertices.  
bool *  is_dof 
Determines whether a vertex is a degree of freedom or fixed.  
uint *  idx2dof 
Consecutive indices for all degrees of freedom and all fixed vertices.  
Representation of a trial space with piecewise linear nodal basis functions on a threedimensional tetrahedral mesh.
Since the mesh itself is represented by a tet3d object, we only have to keep track of which vertices are degrees of freedom and provide them with consecutive indices for the algebraic functions.
The remaining vertices are also provided with consecutive indices, allowing us to construct interaction matrices that describe how nonzero values in the fixed vertices influence the righthand side of a variational equation. This mechanism is useful, e.g., for handling inhomogeneous Dirichlet boundary conditions.