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

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

Built distributions (wheels)

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

Total release size: 29.0 MB

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

Download URL ngstents-0.1.dev413.tar.gz
Size 352.4 kB
Tags Source
SHA-256 checksum
How to use checksums
da66439e2a03b9df728c1650383ec808457d3145c1c8c7a0e22e626b34c677f6
BLAKE2b-256 checksum
How to use checksums
bec197bfc1d9644ad78952fdaee5050538d7e2797c735f0a94c3a572bac78d9e
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.dev413-cp312-cp312-win_amd64.whl

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

Download URL ngstents-0.1.dev413-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
07d15e6295e7a464881b33a7d27309913f169ccf4b99d3c42a2ab0815fcf875c
BLAKE2b-256 checksum
How to use checksums
6f121d8cc021f857aba985dbaaa8848a7ab90d85a1163239f626ed2974c71eea
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.dev413-cp312-cp312-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev413-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
7f501f133709b0335c14bcb2fbaf952c0b2ad38a05268b982fdf1319b26e12be
BLAKE2b-256 checksum
How to use checksums
1028b82042cc5a9df5f0caf93e76082e41d59769132504bb6fe4a12a4097335c
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.dev413-cp311-cp311-win_amd64.whl

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

Download URL ngstents-0.1.dev413-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
fc72d0596a649100c246602839bf11a8f0c18776ce2d4366b1b6e378e4a6a0b0
BLAKE2b-256 checksum
How to use checksums
b63815181c7cd0020cbb6b6f019adcd62eb6af6b5aa22860168f7943fd425ca0
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.dev413-cp311-cp311-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev413-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
a7305116dd4057a461e17f823a42809018386cc4383cb81cf58d0d9ccdca9263
BLAKE2b-256 checksum
How to use checksums
418a4c19e6d2db39bc10f41a4833bc09d64784141ce9cd4b690a414371763f55
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.dev413-cp310-cp310-win_amd64.whl

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

Download URL ngstents-0.1.dev413-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
d45967fbaccc698a682215d5abe9c5c74088995e797b1aeb27698002a05484d5
BLAKE2b-256 checksum
How to use checksums
e7ec78d7d3dcdc5298ae1768a3687f548c5f23ba717da54b57e26c46011a78bf
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.dev413-cp310-cp310-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev413-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
e0acca4477418b237c8e9552c1292c3ef9649bcbcf7d99cdb7e05e9e8fb43397
BLAKE2b-256 checksum
How to use checksums
90df4798a1ff0b325a84d6f68d96cab2cecd7a2e3a2091b1cb336fd55171e4ce
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.dev413-cp39-cp39-win_amd64.whl

Download URL ngstents-0.1.dev413-cp39-cp39-win_amd64.whl
Size 764.0 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
bc4897b0c76802e7150d316ecd5006c06586afe3c9b0fe493d43c449e77c6fdd
BLAKE2b-256 checksum
How to use checksums
2f858018eb08983ccf2185f0209ec826823aa4e796086cf6f3b5dbd0ee100324
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.dev413-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev413-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
50a294211ead198e098189f2ddc460cd108979a2717d8ce421ff32d4ac026d60
BLAKE2b-256 checksum
How to use checksums
a8fa494f47f13defca58e70af6a21fc6aeb42fb1a27a97ac3fa9c5fe9ba1335d
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.dev413-cp39-cp39-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev413-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
056600275e0eac06075b75605b92843feaaab56cf5e0a064b7df2b86cb690e2e
BLAKE2b-256 checksum
How to use checksums
6a7d4a45f9997f80e5e00ccfb7688cd30e94e990ce48d23703db0961167d349f
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.dev413-cp38-cp38-win_amd64.whl

Download URL ngstents-0.1.dev413-cp38-cp38-win_amd64.whl
Size 765.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
62c4db2aa574288ea6d14bd6f7e6f4ee9daa862031c374de093fef70ad1453c1
BLAKE2b-256 checksum
How to use checksums
7a6633dc2b1fcd8a1218797311f4209453bf884d4b1de3d7260f7539eab96736
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.dev413-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ngstents-0.1.dev413-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
a8fe277bd1cde45fbb6b22a5a80b219f1e6b0c2b80e3baff31314268f3e056f8
BLAKE2b-256 checksum
How to use checksums
223876d42d9c93c4bc0af2a5ed0609277e258ef3706b221f6941ba8993f9138a
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.dev413-cp38-cp38-macosx_10_15_universal2.whl

Download URL ngstents-0.1.dev413-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
ae3062ab3246a750f141430caf5672ddda0dd4e8ad1305bcaa0634f2dc28f3b8
BLAKE2b-256 checksum
How to use checksums
f9a57fabc34e36868cf21dad54ff690284c2fc31344c154901f6a652a9a56db2
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.dev413

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