element_construction

Functions

barycentric_coords(p, verts)

Compute barycentric coordinates of point p wrt listed of verts

barycentric_gradients(cell)

The barycentric coordinates of cell as symbols s_i, one for each vertex in cell.ordered_vertices(), and their gradients.

construct_dgN(dim)

construct_dgNminus(dim)

construct_tet_bdmN(deg)

construct_tet_cgN(deg)

construct_tet_ndN(deg)

construct_tet_ndN_2(deg)

construct_tet_rtN(deg)

construct_tri_bdmN(deg)

construct_tri_cgN(deg)

construct_tri_ndN(deg)

construct_tri_ndN_2(deg)

construct_tri_rtN(deg)

convert_to_generation(coords, verts[, ...])

Reduces a full list of cartesian coordinates to only those required for generation, and divides them into groups return idx argument returns generators as index into list.

find_permutation(lam_i, lam_j[, tol])

Find permutation sigma such that lam_j ≈ lam_i permuted by sigma.

from_barycentric(lmbda, verts)

group_by_symmetry(points, verts[, tol])

Group points into symmetry orbits using sorted barycentric coordinates.

group_with_mappings(points, verts[, ...])

lagrange_barycentric_basis(dim, verts, deg)

lagrange_facet_fns(cell, deg[, vector, action])

lagrange_facet_pts(cell, deg)

multiindices(k, n)

nedelec_bubble_fns(cell, entity, deg[, ...])

Moments against the Nedelec (first kind) functions of degree deg that vanish tangentially on the boundary of entity.

periodic_table(col, dim, k, deg)

points_close(p, q[, tol])

proxy_field_bfs(cell[, rot])

The proxy field of the first entity of cell (entity being edge other that for rot on a tetrahedron, where it is the face), and the transversal that generates it onto the other entities.

rt_space(dim, deg)

The Raviart-Thomas space of degree deg (lowest order 1) on a dim-dimensional simplex.

vector_basis_fns(cell, deg[, rot, action])

Returns dofs that are moments against vector valued basis functions of a given degree over a given cell, by default returning Nedelec basis functions, and returning Raviart Thomas if rot=True

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.