ngstSpaceKit is an add-on to ngsolve and ngstrefftz, and provides a collection of finite element spaces. The goal of this project is to explore possibilities of the conforming Trefftz Method, and provide concrete example uses for it.
Implemented Spaces
ngstSpaceKit implements a series of well-known finite elements, that are not yet implemented in ngsolve:
On top of that, there are other exotic spaces defined:
- a weakly H1-conforming element, with the option to use the inner dofs with an embedded Trefftz formulation
- an H(div)-conforming element, with the option to use the inner dofs with an embedded Trefftz formulation
- a Stokes mixed element, where the velocity part is weakly H(div)-conforming, and the remaining dofs adhering to a Stokes embedded Trefftz formulation
- a P1 / Q1 Immersed Finite Element Space, which is suitable to solve interface problems on a domain with a cut. Refer to Lin et al. for a proper introduction of the Immersed Finite Element method.
For demonstration purposes, there are some spaces implemented, which already have a native ngsolve implementation:
Citing
ngstSpaceKit is published on Zenodo. You may cite it as
Meyer, J. C., & Lehrenfeld, C. (2025). ngstSpaceKit. Zenodo. https://doi.org/10.5281/zenodo.17281221
License
ngstSpaceKit is available under the LGPL-3.0 license.
Release files for ngstSpaceKit 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ngstspacekit-2.0.0.tar.gz | 1.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ngstspacekit-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / ngstspacekit-2.0.0.tar.gz
| Download URL | ngstspacekit-2.0.0.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d972c81b0393f7ef43c72a433f7b389bec781455b0d110ee0551d905ccfde00e
|
|
BLAKE2b-256 checksum How to use checksums |
9f8d12c58a2543bf2be43fd8027570c1de4d9d0ed0f024a8f05f96684a99e4da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ngstspacekit-2.0.0-py3-none-any.whl
| Download URL | ngstspacekit-2.0.0-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
525260343c9009848e83e2d4eb738ba4111596d3d03326d465c2ce52bf23901c
|
|
BLAKE2b-256 checksum How to use checksums |
5c3b6cae530e3847f9d73688e6740caf7811e78e616e858fdcf1a824b127bb83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|