H2Lib
3.0
|
Representation of a trial space with lowest order Raviart-Thomas basis functions on a three-dimensional tetrahedral mesh. More...
#include <tet3drt0.h>
Data Fields | |
pctet3d | t3 |
Triangular mesh, represented by tet3d object. | |
uint | ndof |
Number of degrees of freedom. | |
uint | nfix |
Number of fixed faces. | |
uint * | is_dof |
Determines whether an face is a degree or freedom or fixed. More... | |
uint * | idx2dof |
Consecutive indices for all degrees of freedom and all fixed faces. | |
Representation of a trial space with lowest order Raviart-Thomas basis functions on a three-dimensional tetrahedral mesh.
Since the mesh itself is represented by a tet3d object, we only have to keep track of which edges are degrees of freedom and provide them with consecutive indices for the algebraic functions.
The remaining edges are also provided with consecutive indices, allowing us to construct interaction matrices that describe how non-zero values in the fixed edges influence the right-hand side of a variational equation. This mechanism is useful, e.g., for handling inhomogeneous Dirichlet boundary conditions.
uint* is_dof |
Determines whether an face is a degree or freedom or fixed.
After the call of new_tet3drt0 : 0 inner face, 1 boundary face. Use 1 Dirichlet face and 2 Neumann face for mixed boundary conditions