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

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

Built distributions (wheels)

Table of built distributions (wheels) for ngstents 0.1.dev418
File Actions
ngstents-0.1.dev418-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ngstents-0.1.dev418-cp312-cp312-win_amd64.whl
ngstents-0.1.dev418-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.dev418-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev418-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.dev418-cp312-cp312-macosx_10_15_universal2.whl
ngstents-0.1.dev418-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ngstents-0.1.dev418-cp311-cp311-win_amd64.whl
ngstents-0.1.dev418-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.dev418-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev418-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.dev418-cp311-cp311-macosx_10_15_universal2.whl
ngstents-0.1.dev418-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ngstents-0.1.dev418-cp310-cp310-win_amd64.whl
ngstents-0.1.dev418-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.dev418-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev418-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.dev418-cp310-cp310-macosx_10_15_universal2.whl
ngstents-0.1.dev418-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for ngstents-0.1.dev418-cp39-cp39-win_amd64.whl
ngstents-0.1.dev418-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.dev418-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev418-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.dev418-cp39-cp39-macosx_10_15_universal2.whl
ngstents-0.1.dev418-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for ngstents-0.1.dev418-cp38-cp38-win_amd64.whl
ngstents-0.1.dev418-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.dev418-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev418-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.dev418-cp38-cp38-macosx_10_15_universal2.whl

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev418.tar.gz
Size 352.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4706aa3ad2aa68d6615fd978d8087bffd9d3d3fda6dcebf02a1a8636234788cd
BLAKE2b-256 checksum
How to use checksums
f9205b2212002da4bb1ebe542bbec30eae4a133b7b3e70a6defa1b5dacd63e91
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.dev418-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.dev418-cp312-cp312-win_amd64.whl
Size 768.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7abb6e892730ca3e86a11860349bc33863344df68ab1683eeba754b0d278f2dc
BLAKE2b-256 checksum
How to use checksums
5a59a2329b7850282f8c3e7641cf4b0fe374896839d5a46dad2864f53cd2f9ab
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.dev418-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev418-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
ca1dddb18c06faefc178d0b7a9b3961be927fb0b5ac7d4da3ae3e23de77d6415
BLAKE2b-256 checksum
How to use checksums
47e0ac0e642590d8407b5a180e12c475c03484566cb1073bf24e9309d9ad9d42
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.dev418-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev418-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
ac9befcca81bb99b0b4980840f67344eff50d44e594e54f67fc2cb45cf6c1d79
BLAKE2b-256 checksum
How to use checksums
c24490585ac3d06113f4e54eb8f17eceaf1c587ba180880e63576362d68659f1
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.dev418-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.dev418-cp311-cp311-win_amd64.whl
Size 765.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e88aa69a7ced4864947f61be4bf25604ee2d2c56e2344e0e4b6cfdf4b9b20d07
BLAKE2b-256 checksum
How to use checksums
c39d768eabb90e05f1fc20520a0c135c1d071712fe5781b09224d2c05823b2d8
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.dev418-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev418-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
015147d2852828a190dddd6de57f7a43669d0f458a916626df906fd0490cb301
BLAKE2b-256 checksum
How to use checksums
9d17fd2139d307abccbe20b73c5e056d08019c42095750236da0f7e3523f16f7
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.dev418-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev418-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
9795340e27e40e0fe6be5bbf94347dbdc728bb19b44cb64696546c34ec5fd304
BLAKE2b-256 checksum
How to use checksums
9a4e68f2e4980b62146c0a1e5c999f36fecaa85b26938110d69475d768e99252
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.dev418-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev418-cp310-cp310-win_amd64.whl
Size 765.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1885a21aa65c2c25ea77da2b0814c02a8386c71d8638cfad74f2e4f8ae675843
BLAKE2b-256 checksum
How to use checksums
90b1e6fbce9ae0b2f1a754e57e43cbb4236f86c5a5ad6345b559ef61eba89b90
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.dev418-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev418-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
1e1b08770c86a2d8cdd4fbf39b0a46dad77b0858389c2da523ec8cc9089549d9
BLAKE2b-256 checksum
How to use checksums
68c196f3ade2769a53402b3c5073cd6ebb3fa02827a8973ec41cb66fa29a68d4
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.dev418-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev418-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
c65d196c5c58e96fe745c4a56e0135839b0c32de80a3e7bfb3108dc1c6f38a19
BLAKE2b-256 checksum
How to use checksums
15c2bd79c8d71b25d36bbb406ea0700391b53f359177952a41e63cbc9c0b72ba
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.dev418-cp39-cp39-win_amd64.whl

Download URL ngstents-0.1.dev418-cp39-cp39-win_amd64.whl
Size 764.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
6b0ca33986abb6cfb08087711ef8992f6849a595dccd4f0a66149e2a6ad1600a
BLAKE2b-256 checksum
How to use checksums
4d2e08ac3c255ec05ff9c5dd3f8dac0f081ca56a4bf9bf46ab93c607651b775a
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.dev418-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev418-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
d9a809f964e8db1466e3316807e4fcacfcd9c08fca1fa07a97701cf2a690aea1
BLAKE2b-256 checksum
How to use checksums
eab75f2a7cc4e0d2e6c0d134bd7f6f3ea85e7cac760c0836177254f7345d01e7
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.dev418-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev418-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
f60485a326a6a44132ee2b3f797e1a8c22e837acc354ee19d60b15676c2651d3
BLAKE2b-256 checksum
How to use checksums
2cfae46e078393e17813761f38385d1a4eff5e7204304dffcaa872150161ffdc
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.dev418-cp38-cp38-win_amd64.whl

Download URL ngstents-0.1.dev418-cp38-cp38-win_amd64.whl
Size 765.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
0abdcc2a5d39f825d29c0edc07c79da6e09d2e18bd263a97dafc6f02df74a69c
BLAKE2b-256 checksum
How to use checksums
737cb37bad96836d8a20db9ce0f68c2cf0106896f0c13152112b3a5d61faab14
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.dev418-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev418-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
4f50056ac037fba992b2a3cc375f73d8d0dc5edc2460afb61d9ec2214ca704e3
BLAKE2b-256 checksum
How to use checksums
4e24c9a0d0fcedc5a8caa37b1d498d5802b26320200b797ff812f6e66e676d06
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.dev418-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev418-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
b830b19334a6caeb49c5d1479491581056ce41aee2f44492e391848b9f653a57
BLAKE2b-256 checksum
How to use checksums
d9862aade668825b6cd22f14db38c7f75283ffd9438622df2d43704224ca975a
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.dev418

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