firedrakeproject / tsfc

Two-stage form compiler
Other
15 stars 24 forks source link

Allow for string quadrature schemes #306

Closed pbrubeck closed 1 month ago

pbrubeck commented 8 months ago

This PR enables a more user-friendly interface to specify the quadrature scheme.

Users can now specify the quadraure scheme via dx(scheme=scheme), and can choose any scheme that is already supported by FIAT.create_quadrature, including "default" (GL on TP cells / XG on simplices), "canonical" (GL on TP cells / Stroud on simplices), "KMV" (for limited quadrature degree and only on simplices), or "GLL" (only on TP cells).

Depends on https://github.com/FInAT/FInAT/pull/122