Skip to content
Snippets Groups Projects

dg1d: Add Bsplines1

Merged Florian Atteneder requested to merge fa/bspline1 into main

Continuation of !210 (merged)

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.

Merge request reports

Merge request pipeline #7208 passed

Merge request pipeline passed for 0ae37f86

Test coverage 65.93% from 1 job
Approval is optional

Merged by Florian AttenederFlorian Atteneder 7 months ago (Aug 23, 2024 8:37am UTC)

Merge details

  • Changes merged into main with cb7c756e (commits were squashed).
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #7209 passed

Pipeline passed for cb7c756e on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading