modepy: Basis Functions, Interpolation, and Quadrature (not just) for Finite Elements
Open Access
- 27 January 2026
- journal article
- Published by The Open Journal in Journal of Open Source Software
- Vol. 11 (117) , 9294
Abstract
Modepy is a Python library for defining reference elements, equipping them with appropriate approximation spaces, and numerically performing calculus operations (derivatives, integrals) on those spaces. It is written in pure, type-annotated Python 3, offering comprehensive documentation and minimal runtime dependencies (mainly NumPy). modepy focuses on high-order accuracy-given an element size ℎ, this refers to the asymptotic decay of the approximation error as 𝑂(ℎ 𝑛), for 𝑛 ≥ 3, assuming sufficient smoothness of the solution being approximated. For a problem in 𝑑 dimensions, the number of unknowns scales as 𝑂(ℎ-𝑑). Therefore, if accuracy is desired at manageable cost, high-order methods are crucial.Keywords
This publication has 14 references indexed in Scilit:
- High‐order symmetric cubature rules for tetrahedra and pyramidsInternational Journal for Numerical Methods in Engineering, 2020
- Julia: A Fresh Approach to Numerical ComputingSIAM Review, 2017
- On the identification of symmetric quadrature rules for finite element methodsComputers & Mathematics with Applications, 2015
- Spectra of Multiplication Operators as a Numerical ToolSIAM Journal on Scientific Computing, 2014
- A numerical algorithm for the construction of efficient quadrature rules in two and higher dimensionsComputers & Mathematics with Applications, 2010
- Gmsh: A 3‐D finite element mesh generator with built‐in pre‐ and post‐processing facilitiesInternational Journal for Numerical Methods in Engineering, 2009
- An explicit construction of interpolation nodes on the simplexJournal of Engineering Mathematics, 2006
- Spectral methods on triangles and other domainsJournal of Scientific Computing, 1991
- Spectral methods for problems in complex geometriesJournal of Computational Physics, 1980
- Invariant Integration Formulas for the n-Simplex by Combinatorial MethodsSIAM Journal on Numerical Analysis, 1978