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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev407.tar.gz
Size 352.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a2c2b72f8a15572085464c43c914c8ad7f1cf73c1ee49728548067f9af39bd4f
BLAKE2b-256 checksum
How to use checksums
d8c07066a8c3f63f51aafa7e515d2e9cc30fec578d285ab339cf5d8dfc7ca4c7
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.dev407-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.dev407-cp312-cp312-win_amd64.whl
Size 768.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
bb126c20da501cc456f8e4d7e47eee2fb9c3e50ea8a37de4d3a22bf8647d87cd
BLAKE2b-256 checksum
How to use checksums
97d0f021481d0df071c4ce1d6d6c03a01b33386f61d86bc4aa1e0da709b2c588
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.dev407-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev407-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
f972275b2546e206f41ddbbe0d5935097a297dcfa6f576d0d5af45b7596962ee
BLAKE2b-256 checksum
How to use checksums
57fbeb4cb810f9392102ff748a5bd1723c3ec5521996cdc2aaaf9f5118160f2f
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.dev407-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev407-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
dfd6d4896c0c7ae36033af9576c832dc851733237875507d8c3aac9c6817ff99
BLAKE2b-256 checksum
How to use checksums
eee2af7bcd0cdc2c8702f479e5b7078d96b57d94c257e2b87515cd3ca005e5d5
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.dev407-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.dev407-cp311-cp311-win_amd64.whl
Size 765.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
66d7041ea6faedf73a2920054b7de501b63706426d759cec6093d5237c6f4f15
BLAKE2b-256 checksum
How to use checksums
1af825e12b21e195247cbd27abb9eb138c2ef3a813e73048dab079d58c4b6039
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.dev407-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev407-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
bc5df9323144be2ad88b8eadd2f14acdd693aa378d4a1fc31e4af7d7601da32f
BLAKE2b-256 checksum
How to use checksums
4d10b82fe7be66c7780bc195f43b961bed8239be51d47647fa4174cc966b665c
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.dev407-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev407-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
5c96fa662f64a1257df2b1aa1f388bee50a382ade5e8c879a568a4b8c49bedac
BLAKE2b-256 checksum
How to use checksums
c75ac67535ed4020ed26343946a9007901da64271a74c8f8a6db4d5509881e0e
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.dev407-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev407-cp310-cp310-win_amd64.whl
Size 765.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e4022169d5b671b6f511ef28253b9639664556a94b5faee32e810e00e46eb6dd
BLAKE2b-256 checksum
How to use checksums
3ae3cb9031ab93c4b6a5592e68880233a9a2261cfa982d6d8ec128b6ab91a209
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.dev407-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev407-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
189d3b3a4702f24b7c6d39727a108b3c6539a69c7d45ff0ba086ffd772229cbe
BLAKE2b-256 checksum
How to use checksums
c824c6390c449b96a23a7c734950ff11f206d8f265c5e718d2cbac2821006a5f
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.dev407-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev407-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
e7fa5e08393b59281400481465b2c86d6ab0294995722ab5506c36947f1226eb
BLAKE2b-256 checksum
How to use checksums
3b1f3dcfe710081e6f92de9115f49f096c40dd3ee3b1dae460b3e4608692183c
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.dev407-cp39-cp39-win_amd64.whl

Download URL ngstents-0.1.dev407-cp39-cp39-win_amd64.whl
Size 763.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
7045b937bc353f917c3d6ac4a9233177c15690f29c62c6482bda6a76f7d4db34
BLAKE2b-256 checksum
How to use checksums
76f9fe1ca23cae367e970c36a4a345c11a84c922b83cedd7913ae6d06baaf36b
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.dev407-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev407-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
a25242327082829b073efba73f83efd1d723f8bc13378dea706aefc31e412de1
BLAKE2b-256 checksum
How to use checksums
d2aac441bb04518f02eac4293dca4d0c4b06d0c5273343043d6d0a43eb4f09ab
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.dev407-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev407-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
6f8178d3801291d4990fa45713f53cc3827cda907ed5452ad12d3d0d50f5c4c5
BLAKE2b-256 checksum
How to use checksums
94f9e6c1b63f20efb83757df26398380b527f9e056c4a14be22b83245e856c67
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.dev407-cp38-cp38-win_amd64.whl

Download URL ngstents-0.1.dev407-cp38-cp38-win_amd64.whl
Size 765.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
03e14a130263a9575407393b41aa71bd49b480f99698b119d5abafb9fa56ba87
BLAKE2b-256 checksum
How to use checksums
44cabdd1ed69ea0b677d2fcfb7dfd97e3bf446755d33aa5e6d188f8593c2a3f3
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.dev407-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev407-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
a06c4576c2cf5e0755c760082c2dda6135cea8fadf8eb9dd40901e922cd05c59
BLAKE2b-256 checksum
How to use checksums
568acc681332bc85cd6c4fd21d3f2580bb23050edea51561c469452390a21099
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.dev407-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev407-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
5bfc6d80ac97bea69eaab74be64f0d3cf5b48d83a3e69b44783c29c0ee2b2aed
BLAKE2b-256 checksum
How to use checksums
40ff8c92dd68c4d8b9b36053983a1ff8df703cad01aad59bd8eb280262cb9bbb
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.dev407

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