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.2608rc1

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.2608rc1
File Size Uploaded Provenance Actions
ngstents-0.1.2608rc1.tar.gz 1.4 MB Without provenance Details for ngstents-0.1.2608rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ngstents 0.1.2608rc1
File Actions
ngstents-0.1.2608rc1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for ngstents-0.1.2608rc1-cp314-cp314-win_amd64.whl
ngstents-0.1.2608rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for ngstents-0.1.2608rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2608rc1-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.2608rc1-cp314-cp314-macosx_10_9_universal2.whl
ngstents-0.1.2608rc1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ngstents-0.1.2608rc1-cp313-cp313-win_amd64.whl
ngstents-0.1.2608rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for ngstents-0.1.2608rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2608rc1-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.2608rc1-cp313-cp313-macosx_10_9_universal2.whl
ngstents-0.1.2608rc1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ngstents-0.1.2608rc1-cp312-cp312-win_amd64.whl
ngstents-0.1.2608rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for ngstents-0.1.2608rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2608rc1-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.2608rc1-cp312-cp312-macosx_10_9_universal2.whl
ngstents-0.1.2608rc1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ngstents-0.1.2608rc1-cp311-cp311-win_amd64.whl
ngstents-0.1.2608rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for ngstents-0.1.2608rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2608rc1-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.2608rc1-cp311-cp311-macosx_10_9_universal2.whl
ngstents-0.1.2608rc1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ngstents-0.1.2608rc1-cp310-cp310-win_amd64.whl
ngstents-0.1.2608rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for ngstents-0.1.2608rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.2608rc1-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.2608rc1-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 29.6 MB

Release files / ngstents-0.1.2608rc1.tar.gz

Download URL ngstents-0.1.2608rc1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
4f8c666e0fd7e1748a9165d0f03f3953315fb548424e5f49ac45e7971b40bc6f
BLAKE2b-256 checksum
How to use checksums
820daab21951ac77b7602956a5a85f87680b2c4163f4d35266f9316f65cea491
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.2608rc1-cp314-cp314-win_amd64.whl

Download URL ngstents-0.1.2608rc1-cp314-cp314-win_amd64.whl
Size 903.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
18c6d31567b761a8d382f7dd6ad30b25b3806687d8b4beea4796a29b5f8b8699
BLAKE2b-256 checksum
How to use checksums
9ee3a11315adaf28c0669f39487b499500d0cc6817b6ffa8ce464a69e213bfda
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.2608rc1-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2608rc1-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
f9924eed531a83543e8cf60784a8ca4b87804ab88c5412afb1e685c14c0a0d24
BLAKE2b-256 checksum
How to use checksums
7a7dc7c4b58f53048937f654eab2838cfef99333df26e12dc61127b91d9283b3
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.2608rc1-cp314-cp314-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2608rc1-cp314-cp314-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
fea8f52bd050a60ae8b270423e84c162de79a63e7335fefd039d4195a05435d0
BLAKE2b-256 checksum
How to use checksums
d147a5f12dbe42b1c1682f3845b644f55030c8fbef100ba16370bd3e7e68d9f9
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.2608rc1-cp313-cp313-win_amd64.whl

Download URL ngstents-0.1.2608rc1-cp313-cp313-win_amd64.whl
Size 878.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f47b0250d2ada38b773b3bb78d1968acf790c83a43a1f5ca8291bd5b332793fd
BLAKE2b-256 checksum
How to use checksums
4fb97b4bcd0b2d2876d8ffe52183098c93213b956353dc68044fc2719700dc0e
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.2608rc1-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2608rc1-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
c6b2a9b6e4376f115bbd33008bdfa899a7d599e33165c8647b5dc99d5ed639ec
BLAKE2b-256 checksum
How to use checksums
4dbf7d79cc5ea5f6559fef4f268bdabf48becd01d88454550ad55aa499c59e55
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.2608rc1-cp313-cp313-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2608rc1-cp313-cp313-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6b50df5e7ba2bc6ba34018bf9e12ec5c13bbed79579c13a06d0a5358597b19f0
BLAKE2b-256 checksum
How to use checksums
04ada682a20412f4d64fb81bfe1600ec42cee79a92547edca71f4be636e86df5
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.2608rc1-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.2608rc1-cp312-cp312-win_amd64.whl
Size 878.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7eede44df22631d800fbb390bf324ddcbca4cdf2f1b3a1a8cdf66f7aa9929e80
BLAKE2b-256 checksum
How to use checksums
a1b9955c79da4af4182eb19aa5c5f61da2aa4baf6b4e692a5311466a68a25809
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.2608rc1-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2608rc1-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
fd950132eba88243e758b35675f05a721f0c10c3230302524ba09705ae2dd85a
BLAKE2b-256 checksum
How to use checksums
f67bdb42cda6d9d5a4dc08a45f58d9cea5d2d1b245a2e05e8fe052e96838ffc0
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.2608rc1-cp312-cp312-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2608rc1-cp312-cp312-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
c0e25fa891f985594a886adee31ac399e347bd1418b14ce4fd06808dacc49585
BLAKE2b-256 checksum
How to use checksums
e29e12f99c553b162b61199227ba4dd408c456e4e0baebaf155afc52d91931b2
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.2608rc1-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.2608rc1-cp311-cp311-win_amd64.whl
Size 877.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
352dc67e85d92a55b66e1e295bc45e3cd903427bc97849fbb664a1ea9c1f66fe
BLAKE2b-256 checksum
How to use checksums
5bc19f05efa71c40caa850cee218aec51bd811446fe932d91f7c7a13e249abe3
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.2608rc1-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2608rc1-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
b1aebbd2137be636ece3d6bf672f923de2454338b22fd84e4e3b0aaceed174d7
BLAKE2b-256 checksum
How to use checksums
ca876240f3bf3f955ba13b5a5b687dab02a7971db23b83d1098a5e1d93b41f30
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.2608rc1-cp311-cp311-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2608rc1-cp311-cp311-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4fedbcc732cd3ae2e014851ae31c8e717b80c75dfc5b991d41062c64e491dc24
BLAKE2b-256 checksum
How to use checksums
84d2bd0548043bba5d3634491bcebfec036d49577c47ab51b5c9e8006d9b7c68
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.2608rc1-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.2608rc1-cp310-cp310-win_amd64.whl
Size 876.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a3121f6ac82630119ee06afe0a8ad9baef269e8eb308d3efef257b9e57364afb
BLAKE2b-256 checksum
How to use checksums
11f7a2e7abdba779b5c5089760d16d29c290167e6ba3d7dcc273c6bdd4aaa755
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.2608rc1-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.2608rc1-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
d78196259f0b9d02bfc931f1639a29b1d1a94b6ab8741afb706ef159e4dd7042
BLAKE2b-256 checksum
How to use checksums
206cd68b3f322cf97ecc67c2c17713f7629e008c3c3fc84edfbd520d4ca7a7b6
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.2608rc1-cp310-cp310-macosx_10_9_universal2.whl

Download URL ngstents-0.1.2608rc1-cp310-cp310-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
fd99b9e56f390c513caaaba3582a25c5ffe739229426161e840b1cd3e7288aac
BLAKE2b-256 checksum
How to use checksums
b94422516da2353aae10d7245d52b05f0474298dec4d1b0579bfdfde99d0eef6
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.2608rc1

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