`NodesAndModes.jl`

is a package to compute “nodes” (interpolation and quadrature points) and “modes” (orthogonal polynomials) on various reference elements for use in high order finite element or discontinuous Galerkin methods.

The codes are partially inspired by the Matlab codes for the book “Nodal Discontinuous Galerkin methods” by Hesthaven and Warburton (2007), but provides support for more types of reference elements. In particular, we provide nodes and modes with a unified interface for

- 1D lines/intervals
- 2D triangles
- 2D quadrilaterals
- 3D tetrahedra
- 3D hexahedra
- 3D wedges/prisms
- 3D pyramids

I’d welcome any feedback - the CI and documentation may be a little rough, since I learned them on the fly and added them after I wrote most of the package.