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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev415.tar.gz
Size 352.9 kB
Tags Source
SHA-256 checksum
How to use checksums
56625f9b418f6fa32eb1e4f22a05ff5446e7f6529fc4aef85aeb7bcd4f6c0e8c
BLAKE2b-256 checksum
How to use checksums
89ae26363baeade0491fdbb961346f142d33d4ac2c60608c252c10e785b8fc55
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.dev415-cp312-cp312-win_amd64.whl

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

Download URL ngstents-0.1.dev415-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
8faa964c1b2348b95f1b3ac3707ad709dc1d179339f8259e6dba5cf6ef471777
BLAKE2b-256 checksum
How to use checksums
f31a837576a45d4ef6ba308cac1c86d74e0f36897eac61b30171e6bf4d0468fa
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.dev415-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev415-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
163bd15a6b4dea1099b82a01e597d49028221bb73ff92f55456869669d12f694
BLAKE2b-256 checksum
How to use checksums
289b1a4198ffdc69362d673eb73fef95e662c4ff46447e5324b21edef9d262e1
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.dev415-cp311-cp311-win_amd64.whl

Download URL ngstents-0.1.dev415-cp311-cp311-win_amd64.whl
Size 765.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a46fe510304f2dcd80a7fdaa2c23b3c6cf8f84ff9ac38dc0f991c67acfbe8fb9
BLAKE2b-256 checksum
How to use checksums
d0e35219b7db57e3f44a53ae918e22197783f0a93307032ca704400682b39241
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.dev415-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev415-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
d5c205c181c23fd6bc2de73edb96bcc1e857d3bfda4383e8f9f49a2040a4b974
BLAKE2b-256 checksum
How to use checksums
33dbf2039042b86f8073180f6996038ca2172e6d927ec5377feada4ea7ebc64c
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.dev415-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev415-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
5341b988fbed67cc13b915f5f5c90334e9c6368a4a5d6b711c30ca9aeaffceb2
BLAKE2b-256 checksum
How to use checksums
7c8ad323c816e6896eb3c4b91df77123c286fb7a7dfcdfeae168c6900ae0cd92
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.dev415-cp310-cp310-win_amd64.whl

Download URL ngstents-0.1.dev415-cp310-cp310-win_amd64.whl
Size 765.7 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3051b3d2226751fc61f99e2ce7e34610dec0baf3ca1a9e930cdb473742976437
BLAKE2b-256 checksum
How to use checksums
b21f36a458f36ef5a7656daa6a4f4ad49dfa53ba359157bae6d31a21783674af
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.dev415-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev415-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
d409c26a47980f344631795a2c5bf65715042f943c8f9f66d1bbe201d3cfa232
BLAKE2b-256 checksum
How to use checksums
daf4b48cfbd0820a5032e8c03fa8bc890da99f5e1e38f3c4bd427e7f53d49ab3
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.dev415-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev415-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
88b55bfa549c7e816a1159942bda0345e08751e6d2da2e7d4da646a27d2de31f
BLAKE2b-256 checksum
How to use checksums
1328496c74a85b465f6a08f586661786b9fcca6ef9a6db613e350bdbca7525c8
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.dev415-cp39-cp39-win_amd64.whl

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

Download URL ngstents-0.1.dev415-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
4d8b923db6589e1d96fce3e28d6ffe61c59b2d3596f6284283a6d8ed4e8b7dc5
BLAKE2b-256 checksum
How to use checksums
eede8bbf92973d5234cdfe1fb19b8ae6b8e02ce0fb3ffed77098a5a8f41b5030
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.dev415-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev415-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
2099cf0034225eb5fd138442e161e13cf96d19666ac5c866f395ac88ceaf0bd7
BLAKE2b-256 checksum
How to use checksums
0db504ed6e4dcfe41cffedb60de794d3972a6d4bb2fdc0976c7c7a0db2ef5e84
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.dev415-cp38-cp38-win_amd64.whl

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

Download URL ngstents-0.1.dev415-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
bebd747c4664cbdfdddc26e2d51b88ae311133dcd645ad13b78911ffe7af3aff
BLAKE2b-256 checksum
How to use checksums
2a64f89b379a77ff66c51e895174a26f47f403f6c599ca9ab6142870187f3e44
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.dev415-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev415-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
987e31c7ecf45c92e634bc9ead274a51270b2a3b2b33fa3701c07d0087ffd049
BLAKE2b-256 checksum
How to use checksums
aa6270b6f825b92e0f707f0925bdd2752d24de7ba8e3c74bd073acc24a94c3a2
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.dev415

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