dg1d: Add Bsplines
This adds multiple things:
- A
Bsplinemodule for working with 2nd order Bsplines. - Extends
DGElementwith thekind=:modal_bspline2option. - Updates docstrings and refactors some tests.
- Adds a
LGmodule for Legendre-Gauss quadrature. - Adds a plotting script
plot/bspline.jlto tinker with theBspline2approximation.
Also adds a new option to the Mesh parameters section:
-
kind = "modal_bspline2": Utilize a 2nd order modal Bspline Ansatz for the DG evolution.