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.
Ensure that NGSolve is built. After cloning this repository, compile the c++ code here and install:
cd src
mkdir build && cd build
cmake -DNGSolve_DIR=<Path2YourNGSolveInstallCMake> ../src
make install
The demo
folder contains many examples.
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 tests
folder and use pytest:
pytest .
src
: c++ source codepy
: python packaging filesdoc
: tutorials and explanationsdemo
: examples of applicationstests
: test suite