Skip to content

Add GaussLegendre quadrature type - #99

Merged
cmhamel merged 2 commits into
mainfrom
feature/gauss-legendre
Mar 23, 2026
Merged

cmhamel merged 2 commits into
mainfrom
feature/gauss-legendre

Conversation

@lxmota

@lxmota lxmota commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add GaussLegendre <: AbstractQuadratureType with the same cell_degree/surf_degree interface as GaussLobattoLegendre
  • Implement cell_quadrature_points_and_weights and surface_quadrature_points_and_weights for all element types (Edge, Quad, Hex, Tri, Tet)
  • Tri/Tet use dedicated simplex quadrature tables matching Norma.jl defaults: Tri deg 2→3pt, deg 3→4pt; Tet deg 2→4pt, deg 3→5pt
  • Export GaussLegendre and AbstractQuadratureType

lxmota added 2 commits March 23, 2026 12:54
Add GaussLegendre <: AbstractQuadratureType alongside existing
GaussLobattoLegendre for standard Gauss-Legendre integration.
Export both GaussLegendre and AbstractQuadratureType.
Replace GLL delegation with dedicated rules matching Norma defaults:
- Tri: deg 1→1pt, deg 2→3pt, deg 3→4pt (centroid + edge midpoints)
- Tet: deg 1→1pt, deg 2→4pt (symmetric), deg 3→5pt
@lxmota
lxmota requested a review from cmhamel March 23, 2026 21:16
@cmhamel
cmhamel merged commit 2aa3e31 into main Mar 23, 2026
3 of 4 checks passed
@cmhamel
cmhamel deleted the feature/gauss-legendre branch March 23, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants