fuse.element_construction.whitney_bubbles

fuse.element_construction.whitney_bubbles(cell, entity)

The Whitney fields of the edges of entity starting from its first vertex, each times the barycentric coordinates of the other vertices of entity, in the barycentric coordinates of cell.

With the vertices of entity at positions v_0, …, v_n in cell.ordered_vertices(), and the Whitney field of the edge (i, j)

W_ij = l_i grad(l_j) - l_j grad(l_i),

these are, for t = 1, …, n,

B_t = (prod over s = 1, …, n, s != t of l_{v_s}) W_{v_0 v_t}.

On a triangle (0, 1, 2) this gives l_2 W_01 and l_1 W_02; on a tetrahedron l_2 l_3 W_01, l_1 l_3 W_02 and l_1 l_2 W_03; on an edge just W_01.

They vanish tangentially on the boundary of entity, and every symmetry of entity preserves their span.