H2Lib  3.0
Data Fields
_tri2dp1 Struct Reference

Representation of a trial space with piecewise linear nodal basis functions on a two-dimensional triangular mesh. More...

#include <tri2dp1.h>

Data Fields

pctri2d t2
 Triangular Mesh, represented by tri2d object.
 
uint ndof
 Number of degrees of freedom.
 
uint nfix
 Number of fixed vertices.
 
boolis_dof
 Determines whether a vertex is a degree of freedom.
 
uintidx2dof
 Consecutive indices for all degrees of freedom and all fixed vertices.
 

Detailed Description

Representation of a trial space with piecewise linear nodal basis functions on a two-dimensional triangular mesh.

Since the mesh itself is represented by a tri2d 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 non-zero values in the fixed vertices influence the right-hand side of a variational equation. This mechanism is useful, e.g., for handling inhomogeneous Dirichlet boundary conditions.


The documentation for this struct was generated from the following file: