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

Binary installers are available for linux, mac, and windows (with python >= 3.9).

  • pip install ngstents

But note that the binaries are not generally kept up to date. The recommended option is to build from source (see below).

Build

If you built NGSolve from source, you can build and install ngstents. After cloning this repository, compile the c++ code here and install:

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

Use

To start using this code, 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.

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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev404.tar.gz
Size 351.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eb5ace57890af43205d86028716ef54ab61f71da2254a1b9d67d5fc7720af8f8
BLAKE2b-256 checksum
How to use checksums
311e63b5d02c96b2d2677e80eaccca94d16929534a7e14ce00c1f1842766bcca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-cp312-cp312-win_amd64.whl
Size 768.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
cba00eb5e9644e05ecd5adf5f4ee39465fb898f5ace7870c3fb726293282d677
BLAKE2b-256 checksum
How to use checksums
c8550f9ada527986882186055853484e5cc53445a69735445f15a86a6c634f1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
1593bac9508cf5eee9c29a25c55cbf4a9dc03e35c583d2d0f76ff09dd02c47c9
BLAKE2b-256 checksum
How to use checksums
1fba9bfbc00ccad823c9025780a368f2e7423263212357c2351770a502400302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
d474ae50d653f01be1ae45f6cd95275ef2717a93c467970c1bc55d64b5133b71
BLAKE2b-256 checksum
How to use checksums
780d8c097038b6945c6bed0337b11b2f01f98fcabc2df9ea4aa1c31e65180637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-cp311-cp311-win_amd64.whl
Size 765.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
c20586132264e816c93df2e8285075ad753cf0eeb7a2cad100b3c28a33d8faba
BLAKE2b-256 checksum
How to use checksums
6376db926cdf5a45539b37584480030fb704d2a254fb17b28453e55ca9c9a917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
c8ed850fe1f0c1823fd09c87dfd42c8834f0aa934586861b823275042392fdfe
BLAKE2b-256 checksum
How to use checksums
e5a247111e62e11caaccc02c1300a4f725943fb3da4629297bf5b233a05018d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
3953f71fdad95d941cf2d9030b768f129bcde3c43ff5fd6c28650483b1602167
BLAKE2b-256 checksum
How to use checksums
1d1f77652f66a6159cc34e1fd507dd8702f01e66b6e9feb3120862fc817a4100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-cp310-cp310-win_amd64.whl
Size 765.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e415fb76ef1b9fc6a4838779819ad5ac130c19769e4f8a7d090bf5fb3daeca1a
BLAKE2b-256 checksum
How to use checksums
81418ef3f1bec825ab1f0b6252c241bd04f5ffe02d7e823c56bd63d746ae2b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
e1ad3408f0b650d913e5c9d2f8718277e21e3e3204045ba544f9059685860c37
BLAKE2b-256 checksum
How to use checksums
a98e2ba864aa9b3525457795d547d5f434e7731c9794fa13cba865cb490fb81b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
89549f75a86baf85d4cf727331d3833f9ee3abc1c7aef9ae4eba93353ba7d62c
BLAKE2b-256 checksum
How to use checksums
08b4fc6b8cd6ba8256f84a66f4f41b1ed71a521bf1f1ba30a3d01dfaebd06408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-cp39-cp39-win_amd64.whl
Size 763.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
339a79357cd3a78278cb5b8027be4e2d1797f0ec7db22e0ff2117896cc0ad0be
BLAKE2b-256 checksum
How to use checksums
4890153e58210e9cc6018ab205a0edf4a9ea5b076f143f4b44456854b33264db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
abfde57e4e6079304f75430334957fbf66a0298139a5d9c8811999b6100a630f
BLAKE2b-256 checksum
How to use checksums
8eca62a63dc1825670af1c205ef3d5150c03905810254381ff4247cf9ed482f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
15ad44f1565cc568ddd8d043e4c10b6ad6e2279f615e861243bf20fdfb9db654
BLAKE2b-256 checksum
How to use checksums
685d10f466b48f5a19c6a64322647cfa3b1a55e33be51eb5e3362c0cda1319e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-cp38-cp38-win_amd64.whl
Size 765.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c1b274853b4d97d22d341462b36867644ef132077f203709050c9fdbd3ec5240
BLAKE2b-256 checksum
How to use checksums
28238af351b77c48b4ab554e7861399c94995e0c047696ee77a5d1ca67b15e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
d81ae6924e2f9c06056a9655471681258ec2b838cd7d217046a55072d613fee9
BLAKE2b-256 checksum
How to use checksums
cea713dad33b498231cc1186032d7cfaa968f8b98c48aaaab931deea4a6bcf99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

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

Download URL ngstents-0.1.dev404-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
142951325572d6add6bec8af5d7d49535853742d4c2b919a2c5937f04adf60f1
BLAKE2b-256 checksum
How to use checksums
d5954c674a4a7c9e3ad9e8bdd0f6937c939f6c3232156f08b25da623916afb45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

Security for ngstents 0.1.dev404

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