NGSTrefftz provides a framework to implement Trefftz finite element spaces for , with several Trefftz spaces already implemented. Additionally, Trefftz-DG on tent-pitched meshes for the acoustic wave equation is implemented using meshes provided by . Furthermore, the package includes an implementation of the embedded Trefftz method.
You can try out some jupyter notebooks:
git clone https://github.com/PaulSt/NGSTrefftz
cd NGSTrefftz && docker build -t ngstrefftz_jupyter .
docker run -p 8888:8888 ngstrefftz_jupyter
You need to have installed. Then you can either:
- install using pip
pip install ngstrefftz
- or build from source
git clone --recursive https://github.com/PaulSt/NGSTrefftz
mkdir ./NGSTrefftz/make && cd ./NGSTrefftz/make
cmake ../src && make install