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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev421.tar.gz
Size 353.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fff401b4ce1b18ec4751e7022d2299a71a64de241e2160bddff51667bbcbe667
BLAKE2b-256 checksum
How to use checksums
3996266ce42981cc4fc5aa30ce408bb2feed5c10fadf88dacc459f9a21bb2e0e
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.dev421-cp312-cp312-win_amd64.whl

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

Download URL ngstents-0.1.dev421-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
b3f5cb26d5d2057bfc20906a6392d1233acbc08a348ea29fab794a476d58fa6c
BLAKE2b-256 checksum
How to use checksums
773017792eff3f714012360220edd4a3b7908f85d5c06070ce2518c821d31f80
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.dev421-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev421-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
b832285d18443c3ff179cd154eab77249588d12a1a722336e5fc7cb13c03389e
BLAKE2b-256 checksum
How to use checksums
06367207f15b70e7fd4231e05ba1c6578947985de014d5715c4b6296fc0a9c99
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.dev421-cp311-cp311-win_amd64.whl

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

Download URL ngstents-0.1.dev421-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
7b7b218f9df3174695b36ad75d99de543e745292f564e4601493692ea4266aac
BLAKE2b-256 checksum
How to use checksums
b771a921050fbe41da4f8b993bcc6b065368801523a1074a4676bd4e25d4d1a6
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.dev421-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev421-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
0ef08455f2cea5972819f13802ef072fcb3b992f72a62b704e6f40ece59d2147
BLAKE2b-256 checksum
How to use checksums
4a03b04b4f2b5e372ec63d9e3acad3b0358327f38406ac408845bdd1ca7de95d
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.dev421-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev421-cp310-cp310-win_amd64.whl
Size 765.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
9ef934687534f0e69758d044566844879fa377c5cfd83f63487ad55410e53d1a
BLAKE2b-256 checksum
How to use checksums
1cdecb16c8f6bef01b4e8f66d42134ba77966a7ef09409a4dde6c82f923fe9c6
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.dev421-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev421-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
66e3838f3762ce11bd40692b5525f005e113300481921745043501b2f63e3def
BLAKE2b-256 checksum
How to use checksums
e9beb7737cae4767effb314141ff7f73178418a5fde010be69d7fc125e37ce82
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.dev421-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev421-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
b18a31899ec064a7b34a3b6e48635ad3e88accc3efa565771165b1bb68b2e782
BLAKE2b-256 checksum
How to use checksums
5650856bc29923f612a06cbff3963823d14d976eda7ad727bbf9fd83505ec75c
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.dev421-cp39-cp39-win_amd64.whl

Download URL ngstents-0.1.dev421-cp39-cp39-win_amd64.whl
Size 764.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
a071a3aabec329da00d2c5d3da9bd05739ab5ea429e80eed0de06fff8e0c65dc
BLAKE2b-256 checksum
How to use checksums
80af4f633ca5f57f1a5708b27311dbff919e8899ddc2d8a6a04c4cc4a9d6af99
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.dev421-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev421-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
477780a12bfcfa18b1aa8eebbd0db3c8c90bd08ab0efc2b35ff1b7b5a80cd013
BLAKE2b-256 checksum
How to use checksums
353fefddc91a629d765d52dd87badf34ce2a293ef0573094dcdb2f2c55b7de5c
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.dev421-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev421-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
083c9650cc4dd3624a1df1a834367f3fe67bcf33462616760bcf970e093b0a65
BLAKE2b-256 checksum
How to use checksums
5569b26173f3a55cf577f0dd58992a38d2f8ca0516f45be64c43469de5d3d6df
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.dev421-cp38-cp38-win_amd64.whl

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

Download URL ngstents-0.1.dev421-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
ba70b81ec7b4d0afc5f7485b80b364f1459dbc3b7dfc4b0679c43e9fdbe74bbc
BLAKE2b-256 checksum
How to use checksums
f7cde89662e44c6d7c8c969ac1cea4b3cc8fee668643dcb66ca670d0bba045c0
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.dev421-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev421-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
b308ec41eb52c7a9f01e5528bf527e2c561f43d528327049db8ff32a8d6ca7b7
BLAKE2b-256 checksum
How to use checksums
4f3816957afd262be9670738df62a195140f7408b5a308d1bfec7d935d4b5806
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.dev421

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