Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Spacetime Tents in NGSolve

This NGS-Tents (ngstents) package is a c++ extension of the NGSolve finite element library, designed to ease experimentation with solvers based on spacetime tents for hyperbolic systems. A python front-end allows new equations (linear or nonlinear conservation laws) to be solved by easily defining required fluxes and numerical fluxes in a few lines of code.

Install

Build using pip

On a computer with a build system (compiler etc), you can install NGS-Tents by

python3 -m pip install git+https://github.com/jayggg/ngstents.git

If you do not have the dependency ngsolve installed, this command will attempt to install ngsolve first, before proceeding to install ngstents. If you prefer to use your own existing install of ngsolve, please use the --no-build-isolation argument:

python3 -m pip install --no-build-isolation git+https://github.com/jayggg/ngstents.git

Build using CMake

If you built ngsolve from source, you can also build and install ngstents in the traditional manner. After cloning this repository, compile the c++ code here and install as follows:

cd src
mkdir build && cd build
cmake -DNGSolve_DIR=<Path2YourNGSolveInstallCMake>  ..
make install

(Often CMake is able to correctly detect the path to your NGSolve installation in which case you do not have to specify the NGSolve_DIR variable.)

Binary install

If you do not have a compiler, then you can install NGS-Tents using a binary installer. To do so on linux, mac, and windows (with python>= 3.9), use the following command.

pip install --pre ngstents

Use

To start using this code's python interface, import the module after installation:

import ngstents

It contains classes named Tent and TentSlab used to partition spacetime into tents. It also has a submodule named conslaw which contains specific pre-programmed hyperbolic equations and also facilities to define and solve new hyperbolic systems using the python interface. Use python's help system to query for documentation on each object. The demo folder contains example scripts. The docs folder contains more documentation, explained next.

Documentation

Read the docs online. This documentation is generated from hands-on style tutorial notebooks in the docs folder.

Offline, to build and test the docs locally, navigate to the ngstents/docs folder and run these:

pip install -r requirements.txt
sphinx-build -b html . _build_docs

You can then open the docs from ngstents/docs/_build_docs/INDEX.html.

Alternately, you can build a jupyter book of the documentation by navigating to the ngstents/docs folder and issuing

jupyter-book build .

which creates documentation in ngstents/docs/_build/INDEX.html.

Check

If you extend the code, your new code changes can be cross-checked against a test suite provided in the 'tests' folder. For example, if you have pytest installed, move to the ngstents/tests folder and use pytest:

pytest .

Organization

  • src: c++ source code
  • py: python packaging files
  • doc: tutorials and explanations
  • demo: examples of applications
  • tests: test suite

Metadata

Release files for ngstents 0.1.2607rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ngstents 0.1.2607rc1
File Size Uploaded Provenance Actions
ngstents-0.1.2607rc1.tar.gz 1.4 MB Without provenance Details for ngstents-0.1.2607rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ngstents 0.1.2607rc1
File Actions
ngstents-0.1.2607rc1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for ngstents-0.1.2607rc1-cp314-cp314-win_amd64.whl
ngstents-0.1.2607rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.2607rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2607rc1-cp314-cp314-macosx_10_9_universal2.whl CPython 3.14 CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64) Details for ngstents-0.1.2607rc1-cp314-cp314-macosx_10_9_universal2.whl
ngstents-0.1.2607rc1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ngstents-0.1.2607rc1-cp313-cp313-win_amd64.whl
ngstents-0.1.2607rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.2607rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2607rc1-cp313-cp313-macosx_10_9_universal2.whl CPython 3.13 CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64) Details for ngstents-0.1.2607rc1-cp313-cp313-macosx_10_9_universal2.whl
ngstents-0.1.2607rc1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ngstents-0.1.2607rc1-cp312-cp312-win_amd64.whl
ngstents-0.1.2607rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.2607rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2607rc1-cp312-cp312-macosx_10_9_universal2.whl CPython 3.12 CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) Details for ngstents-0.1.2607rc1-cp312-cp312-macosx_10_9_universal2.whl
ngstents-0.1.2607rc1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ngstents-0.1.2607rc1-cp311-cp311-win_amd64.whl
ngstents-0.1.2607rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.2607rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2607rc1-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for ngstents-0.1.2607rc1-cp311-cp311-macosx_10_9_universal2.whl
ngstents-0.1.2607rc1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ngstents-0.1.2607rc1-cp310-cp310-win_amd64.whl
ngstents-0.1.2607rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.2607rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2607rc1-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for ngstents-0.1.2607rc1-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 29.0 MB

Release files / ngstents-0.1.2607rc1.tar.gz

Download URL ngstents-0.1.2607rc1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
26b81d59e0dc4db14d39b39c6afd0caae4f38c7b77e19568c9383aeef3a88189
BLAKE2b-256 checksum
How to use checksums
e2c7c12b5ea9d50e898ad783e4a450428111a3d5c09e4dc28f9425f2c77ef19c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp314-cp314-win_amd64.whl

Download URL ngstents-0.1.2607rc1-cp314-cp314-win_amd64.whl
Size 895.8 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ccc079e1571056d5172ffb922e6d7bd40b2a5936a0a4390fdfbb78cc50e668cc
BLAKE2b-256 checksum
How to use checksums
4a3257024aafe6909bb0c5a26560063a58c21d0203b9780a240db7261d2c3011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2607rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f4c10c98e1810ee66c0e04f581c5d71e020d48498a8f5282467bddb28837aaf8
BLAKE2b-256 checksum
How to use checksums
429abcfb055721580f54105b6a614d9a02554ae63e33c3b47bbc153375f9426f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp314-cp314-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2607rc1-cp314-cp314-macosx_10_9_universal2.whl
Size 3.3 MB
Tags CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
521bfb6acd3adb5540d100ac30a0a70c00d82d63299402c51d4c3924e0e61e48
BLAKE2b-256 checksum
How to use checksums
4c9722dec7e0f9a4adaabc6400cf6892a87ab907befc93a93c92b8522f6e8747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp313-cp313-win_amd64.whl

Download URL ngstents-0.1.2607rc1-cp313-cp313-win_amd64.whl
Size 870.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
7adf682f2440d4da44786c1f972200ca154706a3e54913b8275501aa924017a6
BLAKE2b-256 checksum
How to use checksums
1eff8c1620fc5b271c5619a70b832e7cdd51e035d716e38c4833cf9d0c2a4d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2607rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
483733decc1f4c8ac568e321f88239cbe0c63bab04cf7000eb0a09c933de31a2
BLAKE2b-256 checksum
How to use checksums
9775c58f89ef497f86ce95e9e3c3205b2f1f9772d2acbe5faf6fa7540d57e78f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp313-cp313-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2607rc1-cp313-cp313-macosx_10_9_universal2.whl
Size 3.3 MB
Tags CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
d6198e6315323bc4813bc8a205f9ae5d63fed8f1c4b16ac7a5f4281daf0f1107
BLAKE2b-256 checksum
How to use checksums
18aa7f214ede2b9861b04fbd957381d0b55272eeafaccbd21f3c707d2a1bcd59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.2607rc1-cp312-cp312-win_amd64.whl
Size 870.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c6c76253f36ace2a73c2a93f7b63c351738c7a2c14738c02c639e4ba03f0c8f2
BLAKE2b-256 checksum
How to use checksums
e9efdbc73328b2984873121b7e5fcdf2e3a5b982ea65e02226d4c7f9222c17a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2607rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
aa661302cd3a2b43da615c570421957b47359c9a36cb110de395e8c160c96ecb
BLAKE2b-256 checksum
How to use checksums
c8d68887c5117285309c3851a5c4e49a2998f3a6e40c92382c25aca840cc9461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp312-cp312-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2607rc1-cp312-cp312-macosx_10_9_universal2.whl
Size 3.3 MB
Tags CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
90c517cf210c5d9975d6b27a651c508eb7f67564032da6b4ae0eca2132b14463
BLAKE2b-256 checksum
How to use checksums
ed6281fa1ca9dc1ae1748974b5c70802b6e6596d298d2858b9e25ba3c5135fc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.2607rc1-cp311-cp311-win_amd64.whl
Size 869.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
952f2092e009dfff1c2524e7ddd19ce7ba5de7ce2d1684a60422e16e7b435965
BLAKE2b-256 checksum
How to use checksums
fc889d0e2bb878c2a6796ba3d32011fe0221892c20b862dd536e1f10c04cdd7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2607rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
17bcd7ec858258e14856d76a370dd81969ccf6bf5f0e6ac7d1458f0f4f16a1ca
BLAKE2b-256 checksum
How to use checksums
e6d9922e90fc8009f00c97a76ce781592a0691f216bcf5406d613258356194d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp311-cp311-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2607rc1-cp311-cp311-macosx_10_9_universal2.whl
Size 3.3 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8c311de37202eb4c378dcf7ed3374889dc6890ea47c04670a208bb3c117b44b3
BLAKE2b-256 checksum
How to use checksums
3c6f46609abccfaa4893e9a871ae7e6f0e73ca4349187016c48c7fc9af788155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.2607rc1-cp310-cp310-win_amd64.whl
Size 867.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a9a01c719e6dbe1dc5fc041d4b9659ea9a1b37533bc9714cfd73b520a30df97f
BLAKE2b-256 checksum
How to use checksums
562d586b5f9dd26e36600ba11d35b0d63628b08c46804ca7ae0a45e2cae747b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2607rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5689678ef869f3efa0c5a8468a30f0ef68b7af2ba857ec8448aa964a4ca13dae
BLAKE2b-256 checksum
How to use checksums
23dc8716fbd6163ca75c36dda24d34e49cf064d3718dc151f902cd8d8421ec54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ngstents-0.1.2607rc1-cp310-cp310-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2607rc1-cp310-cp310-macosx_10_9_universal2.whl
Size 3.3 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3e487773dbd5bdd304979901d4e627bbde485248bfe56e34b91e26c77f7b0ba3
BLAKE2b-256 checksum
How to use checksums
a870fadeeb840ce035a81f8fcec502dabf304dac4154b127ff150d277362cf48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ngstents 0.1.2607rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page