dg1d: Add Bsplines (!210)
This adds multiple things: - A `Bspline` module for working with 2nd order Bsplines. - Extends `DGElement` with the `kind=:modal_bspline2` option. - Updates docstrings and refactors some tests. - Adds a `LG` module for Legendre-Gauss quadrature. - Adds a plotting script `plot/bspline.jl` to tinker with the `Bspline2` approximation. Also adds a new option to the `Mesh` parameters section: - `kind = "modal_bspline2"`: Utilize a 2nd order modal Bspline Ansatz for the DG evolution.
Showing
- plot/bspline2.jl 145 additions, 0 deletionsplot/bspline2.jl
- src/bernstein.jl 1 addition, 1 deletionsrc/bernstein.jl
- src/bspline.jl 209 additions, 0 deletionssrc/bspline.jl
- src/dg1d.jl 2 additions, 0 deletionssrc/dg1d.jl
- src/dgelement.jl 77 additions, 21 deletionssrc/dgelement.jl
- src/legendre.jl 1 addition, 1 deletionsrc/legendre.jl
- src/lg.jl 86 additions, 0 deletionssrc/lg.jl
- src/lgl.jl 1 addition, 1 deletionsrc/lgl.jl
- src/parameters.jl 39 additions, 23 deletionssrc/parameters.jl
- test/UnitTests/src/test_dgelement.jl 51 additions, 25 deletionstest/UnitTests/src/test_dgelement.jl
- test/UnitTests/src/test_utils.jl 1 addition, 2 deletionstest/UnitTests/src/test_utils.jl
Loading
Please register or sign in to comment