Skip to content
Snippets Groups Projects
Commit cb7c756e authored by Florian Atteneder's avatar Florian Atteneder
Browse files

dg1d: Add Bsplines1 (!215)

Continuation of !210

This adds a dispatch type `Bspline1` similar to `Bspline2`. Based on this we implement the necessary method to be able to use it in `DGElement`.

I also fixed a subtle bug in the quadrature rules I used in some of the `Bspline` methods.
That is, I accidentally used a LG rule with `Npts=2`, which corresponds to a `N=Npts-1=1` order rule that is exact for polynomials up to `2*N=2` order.
But for `Bspline2` we encounter fourth order polynomials, so we should be using `Npts=3`.

Also adds a new option to the `Mesh` parameters section:

* `kind = "modal_bspline1"`: Utilize a 1st order modal Bspline Ansatz for the DG evolution.
parent 0ff6f2b0
No related branches found
No related tags found
1 merge request!215dg1d: Add Bsplines1
Pipeline #7209 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment