RT0 Lowest Order Edge Element in 2D
We explain degree of freedoms and basis functions for Raviart-Thomas edge element on triangles. The dofs and basis depends on the orientation of the mesh. Read Simplicial complex in two dimensions for the discussion of indexing, ordering and orientation.
Contents
Local bases of RT0 element
Suppose are the vertices of the -th face. The basis is
Inside one tetrahedron, the 4 basis functions corresponding to 4 local faces [2 3 4; 1 4 3; 1 2 4; 1 3 2] are:
The dual basis is the line integral over an orientated face
Data Structure
We use ascend ordering system. [elem,bdFlag] = sortelem3(elem,bdFlag); [elem2dof,face] = dof3face(elem); NT = size(elem,1); NF = size(face,1); localFace = [2 3 4; 1 3 4; 1 2 4; 1 2 3];
Matrix for divergence operator
Mass Matrix
We use the integral formula
see Poisson3RT0.m