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.dev417

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.dev417
File Size Uploaded Provenance Actions
ngstents-0.1.dev417.tar.gz 352.9 kB Without provenance Details for ngstents-0.1.dev417.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ngstents 0.1.dev417
File Actions
ngstents-0.1.dev417-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ngstents-0.1.dev417-cp312-cp312-win_amd64.whl
ngstents-0.1.dev417-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for ngstents-0.1.dev417-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev417-cp312-cp312-macosx_10_15_universal2.whl CPython 3.12 CPython 3.12 macOS 10.15+ universal2 (ARM64, x86-64) Details for ngstents-0.1.dev417-cp312-cp312-macosx_10_15_universal2.whl
ngstents-0.1.dev417-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ngstents-0.1.dev417-cp311-cp311-win_amd64.whl
ngstents-0.1.dev417-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for ngstents-0.1.dev417-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev417-cp311-cp311-macosx_10_15_universal2.whl CPython 3.11 CPython 3.11 macOS 10.15+ universal2 (ARM64, x86-64) Details for ngstents-0.1.dev417-cp311-cp311-macosx_10_15_universal2.whl
ngstents-0.1.dev417-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ngstents-0.1.dev417-cp310-cp310-win_amd64.whl
ngstents-0.1.dev417-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for ngstents-0.1.dev417-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev417-cp310-cp310-macosx_10_15_universal2.whl CPython 3.10 CPython 3.10 macOS 10.15+ universal2 (ARM64, x86-64) Details for ngstents-0.1.dev417-cp310-cp310-macosx_10_15_universal2.whl
ngstents-0.1.dev417-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for ngstents-0.1.dev417-cp39-cp39-win_amd64.whl
ngstents-0.1.dev417-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for ngstents-0.1.dev417-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev417-cp39-cp39-macosx_10_15_universal2.whl CPython 3.9 CPython 3.9 macOS 10.15+ universal2 (ARM64, x86-64) Details for ngstents-0.1.dev417-cp39-cp39-macosx_10_15_universal2.whl
ngstents-0.1.dev417-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for ngstents-0.1.dev417-cp38-cp38-win_amd64.whl
ngstents-0.1.dev417-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for ngstents-0.1.dev417-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev417-cp38-cp38-macosx_10_15_universal2.whl CPython 3.8 CPython 3.8 macOS 10.15+ universal2 (ARM64, x86-64) Details for ngstents-0.1.dev417-cp38-cp38-macosx_10_15_universal2.whl

Total release size: 29.0 MB

Release files / ngstents-0.1.dev417.tar.gz

Download URL ngstents-0.1.dev417.tar.gz
Size 352.9 kB
Tags Source
SHA-256 checksum
How to use checksums
10bb34f461341058928017736ca5b3456f6de579044960c37371703ca48670d6
BLAKE2b-256 checksum
How to use checksums
67ecef28a5f64f472e9ebfea37de849e1f186085b223ade186467d9cec847a30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.dev417-cp312-cp312-win_amd64.whl
Size 768.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
60ae2dd580428096d8391486b28e2625868a12a25f33b6a641002cd9006f33ee
BLAKE2b-256 checksum
How to use checksums
449de92df0ee5c27a474b60945233ea28dc80a6fc8a1b0ac41b3d4973b35e090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev417-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
64ec970a947a90ff965ee9c7ad193f4658f5613225339b001b54db1bd8dd3c53
BLAKE2b-256 checksum
How to use checksums
5e30a60b398ca88163701e7e8afb343cee64c178f708b631359403ed1129329b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev417-cp312-cp312-macosx_10_15_universal2.whl
Size 3.8 MB
Tags CPython 3.12 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
70dc3204f76de9c990e374c61a5f4c631dc697fed472baf4b8ba037bb60c74e0
BLAKE2b-256 checksum
How to use checksums
42eebf59a0a19d4dd9eb54200274797d4b8f361640e7189469ae95bed28a5004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.dev417-cp311-cp311-win_amd64.whl
Size 765.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
6b0f8606661d935d47c50dfce3873c33bcd1cd35d2603d38dac1d6276d127a05
BLAKE2b-256 checksum
How to use checksums
1b7a0d35d1ef7edc10e23df9c2202759ea55ffa006b692e9f41bb5ee77a84689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev417-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
53e4896be8ba0643bcc669edd6fb253cf8c919f6028a31709ad41dfe08e00a56
BLAKE2b-256 checksum
How to use checksums
bc5dc07609260cb49db519e5692982cea0dabfee89530e644526fa7174367447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev417-cp311-cp311-macosx_10_15_universal2.whl
Size 3.8 MB
Tags CPython 3.11 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
f4b6d62ce8c6af54c2cc90cc92a7ace96d939fe8e88b037690f338c8f69002bd
BLAKE2b-256 checksum
How to use checksums
b7d17591eceae384000e05a3e4d2287ce29523c56e58066f63e4f7c96b9f6e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev417-cp310-cp310-win_amd64.whl
Size 765.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
abd22969fef3c137ffbd8243e566c60b2093119258ff7e0d6ea342b9578f5bbf
BLAKE2b-256 checksum
How to use checksums
11d9e3c184938f90b77616b7e24688b18cf1e89a760967a4da7abc3687b45bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev417-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ec18f5985be5032bd6e4674995e5475168068574b7a6a8b74765584b51165f7e
BLAKE2b-256 checksum
How to use checksums
8703830c7f2ba36c687a8794ec72e1b7968a2c67c7fdd06d8fff108a69208fbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev417-cp310-cp310-macosx_10_15_universal2.whl
Size 3.8 MB
Tags CPython 3.10 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
785531e57ea0a6f9de4da5868a208fbfa7ae04e4817dfd8a637785edbd35e6a0
BLAKE2b-256 checksum
How to use checksums
a397420ef5fb05bd612e1c8370df155761e1c1eec944a4d284cd09775aeacb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp39-cp39-win_amd64.whl

Download URL ngstents-0.1.dev417-cp39-cp39-win_amd64.whl
Size 764.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
aa772b5b68d2ee273b08a7fe3927967bf373ac8426e155e61d3387054528028d
BLAKE2b-256 checksum
How to use checksums
e1cdd202201c9ecdaca4b23c2e80a4e73e54e0b8c927c9ed8f265feafc18dc30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev417-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f4c67a6724aba7b59a1fa5add01e7134e4abba426c1677d43d69c12363251467
BLAKE2b-256 checksum
How to use checksums
200dfe54c576fa374676593efff65c283e4e6a2a2be26b43b0f557ef78a0c6d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev417-cp39-cp39-macosx_10_15_universal2.whl
Size 3.8 MB
Tags CPython 3.9 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
878042c5eb96956a2e01c6227ff229a55d78a2509c5f1d0b9cdfb4dd90247144
BLAKE2b-256 checksum
How to use checksums
ebe9d303f8a106e4d7f53aeb00e3666f89189a0b9b9e78e1f4d2e9b9f9ee777c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp38-cp38-win_amd64.whl

Download URL ngstents-0.1.dev417-cp38-cp38-win_amd64.whl
Size 765.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
5452bc75b0a954dde45756fb49f196f2c8839a27ffafb1a99b499d5816ebbc4b
BLAKE2b-256 checksum
How to use checksums
6aa23998162b63f2cd627882534e89e91c6e6f971c2756947966abb8908f0ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev417-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b9ea87091d2ecf8e254a00d9ac8f095cf663a2ac68e0ca37fe7644dd0eba2635
BLAKE2b-256 checksum
How to use checksums
ca644e4d1c9375c330d133f5783abb665bc9b07c66725f6bda8d9ecdbba26a8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ngstents-0.1.dev417-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev417-cp38-cp38-macosx_10_15_universal2.whl
Size 3.8 MB
Tags CPython 3.8 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e9c31a69cc1652989033cebcedc0761cc6764f9a9cc8901815c9e75434ea8d11
BLAKE2b-256 checksum
How to use checksums
78b367f06baad7bc3836a10c1c5fb1ad5742b184396a8c8a2f508843fc2045d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Security for ngstents 0.1.dev417

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