Skip to content

Commit

Permalink
Add gll quadrature
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 15, 2023
1 parent b291664 commit 547e77d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion symfem/quadrature.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_quadrature(
Args:
rule: The quadrature rule.
Supported values: equispaced, lobatto, radau, legendre
Supported values: equispaced, lobatto, radau, legendre, gll
n: Number of points
Expand All @@ -136,6 +136,8 @@ def get_quadrature(
return equispaced(n)
if rule == "lobatto":
return lobatto(n)
if rule == "gll":
return lobatto(n)
if rule == "radau":
return radau(n)
if rule == "legendre":
Expand Down

0 comments on commit 547e77d

Please sign in to comment.