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

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

Built distributions (wheels)

Table of built distributions (wheels) for ngstents 0.1.dev442
File Actions
ngstents-0.1.dev442-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ngstents-0.1.dev442-cp312-cp312-win_amd64.whl
ngstents-0.1.dev442-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.dev442-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev442-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.dev442-cp312-cp312-macosx_10_15_universal2.whl
ngstents-0.1.dev442-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ngstents-0.1.dev442-cp311-cp311-win_amd64.whl
ngstents-0.1.dev442-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.dev442-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev442-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.dev442-cp311-cp311-macosx_10_15_universal2.whl
ngstents-0.1.dev442-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ngstents-0.1.dev442-cp310-cp310-win_amd64.whl
ngstents-0.1.dev442-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.dev442-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev442-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.dev442-cp310-cp310-macosx_10_15_universal2.whl
ngstents-0.1.dev442-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for ngstents-0.1.dev442-cp39-cp39-win_amd64.whl
ngstents-0.1.dev442-cp39-cp39-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for ngstents-0.1.dev442-cp39-cp39-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
ngstents-0.1.dev442-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.dev442-cp39-cp39-macosx_10_15_universal2.whl

Total release size: 20.1 MB

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

Download URL ngstents-0.1.dev442.tar.gz
Size 353.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cff88609c00c4a31294a5391f10f41060305998a1bc78bb2de0db9c513fbd23c
BLAKE2b-256 checksum
How to use checksums
362370e75631c760e5d1609dc0982aa384d2a7c1049420228a73424eab03f70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp312-cp312-win_amd64.whl
Size 729.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
95ee893e75a0b975643d07d57e3f531d5946e16d2e897ad8d4e3e8f1cdc4d1d5
BLAKE2b-256 checksum
How to use checksums
1009b1e59e9ee01a189ab536f072c122f1731d36833ce0bd1b68faa8e1b9447b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / ngstents-0.1.dev442-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev442-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a8de905f3c815080e9e169821b66d6b27059877e42de63a11f672f00ff3b9960
BLAKE2b-256 checksum
How to use checksums
a75c3b030e5dd84169dfa43fb19c23929963f883063ca1a71bf4aafbaef0d8b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp312-cp312-macosx_10_15_universal2.whl
Size 3.1 MB
Tags CPython 3.12 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
faf083d7efcc5dffc56f630ffb5d95872d3e099bb276f74a3d24c483b0957bdb
BLAKE2b-256 checksum
How to use checksums
b34bc765d4c5887bfddda106bbbd0978b6b6e3d6e697c8720714c4d5d29ef8d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp311-cp311-win_amd64.whl
Size 728.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
12fb8bb94ebd99731f40420ffc6def95710cd5c4f3b77a14952b3f202b1ead21
BLAKE2b-256 checksum
How to use checksums
f19457382bb1cde2247e6952949f9dc0314bb4fd485aae4ce905314319d46bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / ngstents-0.1.dev442-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev442-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6288eb307aba25f82a29c5da96e80f86a7db63c00c265db8278240b0674ed300
BLAKE2b-256 checksum
How to use checksums
a375fe97bf974318f9697fe96d379a07ce10d19a17a5ad88462284192492fb8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp311-cp311-macosx_10_15_universal2.whl
Size 3.1 MB
Tags CPython 3.11 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
32707958b794f82312b14533c45339aaafd060511c083e107905580bf5fb65dd
BLAKE2b-256 checksum
How to use checksums
5323b5ac092e5ffd773bf90a923410875b8ab9fa9f71b196e40b489022cd62ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp310-cp310-win_amd64.whl
Size 726.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
7fad19a6fde61cb7a7860eea9eda479f3390db1d907a8fb9c3a0ba6794566ddf
BLAKE2b-256 checksum
How to use checksums
734e620e4f12b54b7769ec26958e0a8d3825bb872385d8cf4604b211d6317beb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / ngstents-0.1.dev442-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev442-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
611ae2eb294422e611bbf025486f804f1b6898aabbb23e4cab472bb668975320
BLAKE2b-256 checksum
How to use checksums
fee7392b07b6985ef1a436211681a8e35f1988ced57e563ee8f2f125fe3acf00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp310-cp310-macosx_10_15_universal2.whl
Size 3.1 MB
Tags CPython 3.10 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9343236c70732278ff4c563d2e9345280e1df43c09c9443dd1504af996e5a6da
BLAKE2b-256 checksum
How to use checksums
b5b9b627286dd33ac71d27d75f1644a6e658af7afea176bf9ab4b858ce4bea8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp39-cp39-win_amd64.whl
Size 730.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
466e8d11e508d3be5335920022d42b4409e4b853f57f2b8ececeb8da8819bbea
BLAKE2b-256 checksum
How to use checksums
08a54959393d653ec7c2795d46e9b8ad4c70a81c8e45d3c3259a4cfa46871231
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / ngstents-0.1.dev442-cp39-cp39-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev442-cp39-cp39-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1a20d6c2b3bb62b02c62f7e51fc7be3526b20b56308df1fee407fb3e890d977d
BLAKE2b-256 checksum
How to use checksums
33790d948e01e929e8e41bf526a05da4d3165236746209c3e437c8d2905acc1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL ngstents-0.1.dev442-cp39-cp39-macosx_10_15_universal2.whl
Size 3.1 MB
Tags CPython 3.9 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
675ef8fe73eb604a708269ee4e78ddf4f1012b5c97f1cc20e9a6a8ef0f701fb5
BLAKE2b-256 checksum
How to use checksums
52558e9a320f20748869a4dfcb633e8c65296987ece6ab32986df05c3c94b373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for ngstents 0.1.dev442

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