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

This package can be installed by

  • !python3 -m pip install git+https://github.com/jayggg/ngstents.git

If you do not have the dependency ngsolve installed, this will attempt to install ngsolve first. 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

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

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

  • pip install --pre ngstents

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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev411.tar.gz
Size 352.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9f06ddd340a7832386873eb218cb8eaf46c21855a6750eafe11ad1507046140d
BLAKE2b-256 checksum
How to use checksums
6f59f06c5b2f56524a59128a87dca78e0a6ee7ae07434bb993553a31b610dc01
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.dev411-cp312-cp312-win_amd64.whl

Download URL ngstents-0.1.dev411-cp312-cp312-win_amd64.whl
Size 768.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
fd9eacf15af6ce2bab4d971a30af0719c6431dfbcdd019f40c8d501e72a99225
BLAKE2b-256 checksum
How to use checksums
858c8748911d470ac4627f6fea71794b8a0760943af42cf29ed24dfec586fa76
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.dev411-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev411-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
b3efd292920f0718ac1b0cb5dd7326c19ca8c60c69c25901d76dc7f89d543b1c
BLAKE2b-256 checksum
How to use checksums
d568a135b5013d7f3766e5c78d9baecd7245f09a021fa96dc7c8a5e1e21c9d6e
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.dev411-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev411-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
74f722ceca432032422ebe29d861d0001d18e29eafc5bbc15274baa22f17118c
BLAKE2b-256 checksum
How to use checksums
16e70657ef76653d4524f3020626e719c916b410c6b26294356f1cf6ceec1fd8
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.dev411-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.dev411-cp311-cp311-win_amd64.whl
Size 765.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
feb6167ed58986ab58edaa9469669a95a66ffbd8b93d6534ef02a4987106549e
BLAKE2b-256 checksum
How to use checksums
4016e0662acf9a5adc641c9f919c7e65f22145d9324005c7d41a3a5d922b6987
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.dev411-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev411-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
aafa1c4a4dc6e6a1b569b3f140c6c1a0495bbbbf30ec00fa1e3443d2d77ffe71
BLAKE2b-256 checksum
How to use checksums
2a059b6cf54745e6061999f41ec080790b36c4ad1dda7aef869f56094200c1fc
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.dev411-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev411-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
7d4eb4274b052ccc8a8fe8a9579a21d7b1857b3cb8bd6b2953afbaa2044e92b3
BLAKE2b-256 checksum
How to use checksums
3cf9cce5940d40a36ecc079f059345598aef7bfb6eeb3956f2bc2b08e0566544
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.dev411-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev411-cp310-cp310-win_amd64.whl
Size 765.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
588eb5a28a69f9998259fa53b60549eb5c36620c837726671b29fbe8d72fe5e2
BLAKE2b-256 checksum
How to use checksums
7b52187fbd4c9e8f5edf2bb5af516d0af89c59bfcac3371bddf12d52c3c66437
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.dev411-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev411-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
f60d1bc361098613987aa0f65b954617c9da9b0f46b40960dddea04aa5fe8b1d
BLAKE2b-256 checksum
How to use checksums
d892ef62b807e37f661b19b5ced4e07e57b6d5630859451e67760e1bca7513d9
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.dev411-cp310-cp310-macosx_10_15_universal2.whl

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

Download URL ngstents-0.1.dev411-cp39-cp39-win_amd64.whl
Size 764.0 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
278c2f22eff7974164631586707219eb410ad69e218edf3eb88133102fbc6949
BLAKE2b-256 checksum
How to use checksums
701a13b3dea8e1763774e563e7174df58cc532fc34f63a935061b1d240972e9d
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.dev411-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev411-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
44e6f8dfb5a56eaa58c7e58268babe2ce6780983b3b9f9e262f07aff7d4fda8e
BLAKE2b-256 checksum
How to use checksums
114f438c47a0e73fec2191b090feca853d66a697561f56f726134e1dfb618f5f
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.dev411-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev411-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
1922c8e521ba66e9833ee7114626d69967a862528b9f426cf8a71927af8cdefb
BLAKE2b-256 checksum
How to use checksums
cab75bf9c6df6baa6039ca16bd1a38220f596a0fda5db01616165bd23e1139c2
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.dev411-cp38-cp38-win_amd64.whl

Download URL ngstents-0.1.dev411-cp38-cp38-win_amd64.whl
Size 765.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
9717590743eaeb4a52111879644f728b5531df3597fb262f7caa10892e5441c8
BLAKE2b-256 checksum
How to use checksums
12ced2a85108f5aa6356624642345e29da04a47d0ce33f7d2d5af073836f50ac
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.dev411-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev411-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
197a1bfe75a28b42844e93e3a9d94e6ee24fd7fe13168f035ec4c81780ad3048
BLAKE2b-256 checksum
How to use checksums
6ee92333b6461a449123dbb0de7bd7b97ff8598300cd655feb42d18adc4ecd3b
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.dev411-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev411-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
3f3af3ce8deb1655dab3ef65c9524a7e1fff33bd2b513b3348163e6e60f5d82e
BLAKE2b-256 checksum
How to use checksums
01c416c6fcf8bb91c1bba525491b8bb45d6233ae036be460ba32044ba829538e
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.dev411

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