Modes and nodes for high-order methods
Project description
modepy helps you create well-behaved high-order discretizations on simplices (i.e. segments, triangles and tetrahedra) and tensor products of simplices (i.e. squares, cubes, prisms, etc.). These are a key building block for high-order unstructured discretizations, as often used in a finite element context. Features include:
Support for simplex and tensor product elements in any dimension.
- Orthogonal bases:
Jacobi polynomials with derivatives
Orthogonal polynomials for simplices up to 3D and tensor product elements and their derivatives.
All bases permit symbolic evaluation, for code generation.
- Access to numerous quadrature rules:
Jacobi-Gauss, Jacobi-Gauss-Lobatto in 1D (includes Legendre, Chebyshev, ultraspherical, Gegenbauer)
Clenshaw-Curtis and Fejér in 1D
Grundmann-Möller on the simplex
Xiao-Gimbutas on the simplex
Vioreanu-Rokhlin on the simplex
Jaśkowiec-Sukumar on the tetrahedron
Witherden-Vincent on the hypercube
Generic tensor products built on the above, e.g. for prisms and hypercubes
- Tools to construct new quadrature rules:
A basic iterative Gauss-Newton process to optimize/tighten rules
Vioreanu-Rokhlin node initial generation based on multiplication operators
- Matrices for FEM, usable across all element types:
generalized Vandermonde,
mass matrices (including lumped diagonal),
face mass matrices,
differentiation matrices, and
resampling matrices.
Objects to represent ‘element shape’ and ‘function space’, generic node/mode/quadrature retrieval based on them.
Its roots closely followed the approach taken in the book
J. S. Hesthaven and T. Warburton (2007). Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications (1st ed.). doi:10.1007/978-0-387-72067-8. (source code)
but much has been added beyond that basic functionality.
Resources:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modepy-2026.1.tar.gz.
File metadata
- Download URL: modepy-2026.1.tar.gz
- Upload date:
- Size: 474.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25e0be56a109ae69ed5d73b0032c5dbeafbc8aa88552f4cb338c7fa9b98cb1d4
|
|
| MD5 |
92ddd71b1bad7276f12a49cce0fe6711
|
|
| BLAKE2b-256 |
64eb3a5b651e8637ad57ec255cd0292b16b0173c633c933407c97a97cf420a71
|
Provenance
The following attestation bundles were made for modepy-2026.1.tar.gz:
Publisher:
release.yml on inducer/modepy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modepy-2026.1.tar.gz -
Subject digest:
25e0be56a109ae69ed5d73b0032c5dbeafbc8aa88552f4cb338c7fa9b98cb1d4 - Sigstore transparency entry: 835637704
- Sigstore integration time:
-
Permalink:
inducer/modepy@64b20508f0790d58ee6f5f2a85e45cd5044de192 -
Branch / Tag:
refs/tags/v2026.1 - Owner: https://github.com/inducer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@64b20508f0790d58ee6f5f2a85e45cd5044de192 -
Trigger Event:
push
-
Statement type:
File details
Details for the file modepy-2026.1-py3-none-any.whl.
File metadata
- Download URL: modepy-2026.1-py3-none-any.whl
- Upload date:
- Size: 343.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba7117f98bd7fb5f219d8686dd24df2720902e714125c8a9d07edd581e5991fa
|
|
| MD5 |
402ef84946a85bc1831a806e656f83b9
|
|
| BLAKE2b-256 |
06822f591e700aa740e9e13eb6f21440ab8ea3b08037cbfb5005037174d555e1
|
Provenance
The following attestation bundles were made for modepy-2026.1-py3-none-any.whl:
Publisher:
release.yml on inducer/modepy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modepy-2026.1-py3-none-any.whl -
Subject digest:
ba7117f98bd7fb5f219d8686dd24df2720902e714125c8a9d07edd581e5991fa - Sigstore transparency entry: 835637707
- Sigstore integration time:
-
Permalink:
inducer/modepy@64b20508f0790d58ee6f5f2a85e45cd5044de192 -
Branch / Tag:
refs/tags/v2026.1 - Owner: https://github.com/inducer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@64b20508f0790d58ee6f5f2a85e45cd5044de192 -
Trigger Event:
push
-
Statement type: