ngstrefftz 0.3.2402.dev33__tar.gz → 0.3.2402.dev35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_linux_test.sh +1 -1
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip.ps1 +11 -7
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip.sh +1 -1
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip_mac.sh +8 -3
- ngstrefftz-0.3.2402.dev35/.github/workflows/ngsolve_version.txt +1 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/PKG-INFO +2 -2
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/build.yml +35 -29
- ngstrefftz-0.3.2402.dev35/external_dependencies/ngstents/.github/workflows/build_pip.ps1 +24 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/build_pip.sh +4 -4
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/build_pip_mac.sh +2 -2
- ngstrefftz-0.3.2402.dev35/external_dependencies/ngstents/.github/workflows/ngsolve_version.txt +1 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/README.md +2 -0
- ngstrefftz-0.3.2402.dev35/external_dependencies/ngstents/setup.py +27 -0
- ngstrefftz-0.3.2402.dev35/external_dependencies/ngstents/src/CMakeLists.txt +97 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tents.cpp +1 -1
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tents.hpp +1 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/setup.py +1 -7
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/CMakeLists.txt +42 -22
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/PKG-INFO +2 -2
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/SOURCES.txt +1 -0
- ngstrefftz-0.3.2402.dev35/src/ngstrefftz.egg-info/requires.txt +3 -0
- ngstrefftz-0.3.2402.dev33/.github/workflows/ngsolve_version.txt +0 -1
- ngstrefftz-0.3.2402.dev33/external_dependencies/ngstents/.github/workflows/build_pip.ps1 +0 -20
- ngstrefftz-0.3.2402.dev33/external_dependencies/ngstents/setup.py +0 -103
- ngstrefftz-0.3.2402.dev33/external_dependencies/ngstents/src/CMakeLists.txt +0 -73
- ngstrefftz-0.3.2402.dev33/src/ngstrefftz.egg-info/requires.txt +0 -3
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.clang-format +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build.yml +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/fix_auditwheel_policy.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/Dockerfile +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/build_in_docker.sh +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/merge.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.gitmodules +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/CONTRIBUTING.md +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/Dockerfile +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/LICENSE +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/README.md +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/_static/breadcrumbs.html +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/_static/css/mytheme.css +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/conf.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/contrib.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/docu.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/index.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/intro.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-adv.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-helm.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-poi.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-stokes.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-wave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/helmholtz.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/index.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/laplace.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/qtwave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/tunfitted.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/twave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/twavetents.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/paper/codemeta.json +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/paper/paper.bib +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/paper/paper.md +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/readme.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/docs/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/fix_auditwheel_policy.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/Advection_Periodic_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/advection2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/advection2d_periodic.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/Burgers_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/burgers1d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/burgers2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/Euler_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/euler2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/mach3_windtunnel.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/maxwell/maxwell3d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_advection2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_burgers.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_euler.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_wave.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_wave1d_interface.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/wave_penetrable_cylinder.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/tents/draw3dtent.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/tents/draw3dvertex.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/horn.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave2d_timedepbc.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave3d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/BurgersMTP.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/INDEX.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/StartPitching.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/conf.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/CausalityCond.png +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/dag.png +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/map.png +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/subtents.png +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/index.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/readme.rst +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/conslaw/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/_drawtents.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/_drawtents2d.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/advection.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/burgers.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/concurrentqueue.h +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/conservationlaw.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/euler.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/maxwell.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/paralleldepend.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/python_conslaw.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/python_tents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/symbolic.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tconservationlaw_tp_impl.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tentsolver.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tentsolver_impl.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/wave.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_burgers_2D.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_causal_tents.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_conslaw.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_tent_height_2D.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_tentlayers.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/setup.cfg +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/airy.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/condensedg.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/condensedg.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/diffopmapped.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/embtrefftz.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/embtrefftz.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/mesh1dtents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/mesh1dtents.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/monomialfespace.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/monomialfespace.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/dependency_links.txt +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/top_level.txt +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/ngsttd.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/planewavefe.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/planewavefe.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/python_trefftz.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/scalarmappedfe.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/scalarmappedfe.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/specialcoefficientfunction.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/specialcoefficientfunction.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/specialintegrator.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/specialintegrator.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/trefftzfespace.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/trefftzfespace.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/twavetents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/src/twavetents.hpp +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/test/dg.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/test/embt.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/test/tents.py +0 -0
- {ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/test/trefftz.py +0 -0
{ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_linux_test.sh
RENAMED
|
@@ -13,7 +13,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/_internal/cpython-3.10.9/lib/
|
|
|
13
13
|
echo "SHOW MKL"
|
|
14
14
|
$PYDIR/pip show mkl
|
|
15
15
|
|
|
16
|
-
cmake -DCMAKE_CXX_COMPILER=ngscxx -DNETGENDIR=$PYDIR/.. -DCMAKE_PREFIX_PATH=$PYDIR/.. -DPYTHON_EXECUTABLE=$PYDIR/python3 -DPYTHON_LIBRARY=$PYDIR/../lib -DPYTHON_INCLUDE_DIR=$PYDIR/../include -B ./NGSTrefftz/make -S ./NGSTrefftz/src/
|
|
16
|
+
cmake -DCMAKE_CXX_COMPILER=ngscxx -DNETGENDIR=$PYDIR/.. -DCMAKE_PREFIX_PATH=$PYDIR/.. -DPYTHON_EXECUTABLE=$PYDIR/python3 -DPYTHON_LIBRARY=$PYDIR/../lib -DPYTHON_INCLUDE_DIR=$PYDIR/../include -DMKL_LIBRARY:PATH=$PYDIR/../lib/libmkl_rt.so.2 -B ./NGSTrefftz/make -S ./NGSTrefftz/src/
|
|
17
17
|
make -C ./NGSTrefftz/make
|
|
18
18
|
env CTEST_OUTPUT_ON_FAILURE=1 make -C ./NGSTrefftz/make test
|
|
19
19
|
make -C ./NGSTrefftz/make install
|
|
@@ -27,15 +27,20 @@ if (test-path venv_ngs) {
|
|
|
27
27
|
#Get-ChildItem venv_ngs\scripts
|
|
28
28
|
#Write-Host $env:LIB
|
|
29
29
|
|
|
30
|
+
Set-Location ../..
|
|
31
|
+
Get-ChildItem
|
|
32
|
+
python.exe -m venv .\venv_ngs
|
|
33
|
+
.\venv_ngs\scripts\Activate.ps1
|
|
34
|
+
$env:PATH += Join-Path ";" (Get-Item .).FullName "venv_ngs\bin"
|
|
35
|
+
Write-Host $env:PATH
|
|
30
36
|
|
|
31
|
-
pip3 install scikit-build wheel numpy twine mkl-devel==2022.* mkl==2022.* setuptools setuptools_scm
|
|
32
|
-
pip3 install -r ngsolve_version.txt
|
|
33
|
-
|
|
37
|
+
pip3 install scikit-build wheel numpy twine mkl-devel==2022.* mkl==2022.* setuptools==69.5.1 setuptools_scm==8.1.0
|
|
38
|
+
pip3 install -r .github/workflows/ngsolve_version.txt
|
|
34
39
|
|
|
35
40
|
#$env:PYDIR = "$env:Python3_ROOT_DIR"
|
|
36
41
|
#$env:PATH += ";$env:pythonLibrary;$env:Python3_ROOT_DIR"
|
|
37
|
-
|
|
38
|
-
|
|
42
|
+
#$env:NGSolve_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\ngsolve\cmake"
|
|
43
|
+
#$env:Netgen_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\netgen\cmake"
|
|
39
44
|
#$env:LIB = "$env:LIB;$env:Python3_ROOT_DIR\libs"
|
|
40
45
|
#$env:LIBPATH = "$env:LIBPATH;$env:Python3_ROOT_DIR\libs"
|
|
41
46
|
|
|
@@ -49,6 +54,5 @@ $env:Netgen_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\netgen\cmake"
|
|
|
49
54
|
#Get-ChildItem $env:Python3_ROOT_DIR\lib\site-packages
|
|
50
55
|
#Get-ChildItem $env:Python3_ROOT_DIR\lib\site-packages\ngsolve
|
|
51
56
|
|
|
52
|
-
|
|
53
|
-
Get-ChildItem
|
|
57
|
+
|
|
54
58
|
python setup.py bdist_wheel -G"Visual Studio 16 2019" -d wheelhouse
|
|
@@ -25,7 +25,7 @@ do
|
|
|
25
25
|
|
|
26
26
|
#rm -rf /home/app/ngstrefftz/make
|
|
27
27
|
rm -rf _skbuild
|
|
28
|
-
$PYDIR/pip install pytest-check numpy wheel scikit-build mkl==2023.* mkl-devel==2023.* setuptools setuptools_scm
|
|
28
|
+
$PYDIR/pip install pytest-check numpy wheel scikit-build mkl==2023.* mkl-devel==2023.* setuptools==69.5.1 setuptools_scm==8.1.0
|
|
29
29
|
$PYDIR/pip install -r ./.github/workflows/ngsolve_version.txt
|
|
30
30
|
|
|
31
31
|
$PYDIR/pip wheel -vvv .
|
|
@@ -6,9 +6,9 @@ rm -rf _skbuild dist venv_ngs
|
|
|
6
6
|
export PYDIR=$Python3_ROOT_DIR/bin
|
|
7
7
|
#export PYDIR=/Library/Frameworks/Python.framework/Versions/$1/bin
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
#$PYDIR/python3 --version
|
|
10
10
|
#$PYDIR/python3 -m venv venv_ngs
|
|
11
|
-
|
|
11
|
+
#. venv_ngs/bin/activate
|
|
12
12
|
|
|
13
13
|
export PATH=/Applications/CMake.app/Contents/bin:$PATH
|
|
14
14
|
export NETGEN_Dir=$PYDIR/../lib/python$1/site-packages/netgen/cmake
|
|
@@ -17,12 +17,17 @@ export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$NGSolve_Dir:$NETGEN_Dir
|
|
|
17
17
|
#export PYDIR=/Library/Frameworks/Python.framework/Versions/$1/bin
|
|
18
18
|
#$PYDIR/python3 -m venv ../venv_ngs
|
|
19
19
|
#source ../venv_ngs/bin/activate
|
|
20
|
-
$PYDIR/pip3 install scikit-build wheel setuptools setuptools_scm
|
|
20
|
+
$PYDIR/pip3 install scikit-build wheel setuptools==69.5.1 setuptools_scm==8.1.0
|
|
21
21
|
#$PYDIR/pip3 install -U pytest-check numpy wheel scikit-build mkl==2022.* mkl-devel==2022.* setuptools
|
|
22
22
|
|
|
23
23
|
export CMAKE_OSX_ARCHITECTURES='arm64;x86_64'
|
|
24
24
|
#export CMAKE_OSX_ARCHITECTURES='x86_64'
|
|
25
25
|
$PYDIR/pip3 install -r ./.github/workflows/ngsolve_version.txt
|
|
26
|
+
#export NETGEN_Dir=$PWD/venv_ngs/lib/make/netgen/
|
|
27
|
+
#export NGSolve_Dir=$PWD/venv_ngs/lib/cmake/ngsolve/
|
|
28
|
+
#export NETGEN_Dir=$PWD/venv_ngs/lib/python$1/site-packages/netgen/cmake
|
|
29
|
+
#export NGSolve_Dir=$PWD/venv_ngs/lib/python$1/site-packages/ngsolve/cmake
|
|
30
|
+
#export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$NGSolve_Dir:$NETGEN_Dir
|
|
26
31
|
|
|
27
32
|
#$PYDIR/pip3 wheel .
|
|
28
33
|
$PYDIR/python3 setup.py bdist_wheel --plat-name macosx-10.15-universal2 -d wheelhouse
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ngsolve>=6.2.2402
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngstrefftz
|
|
3
|
-
Version: 0.3.2402.
|
|
3
|
+
Version: 0.3.2402.dev35
|
|
4
4
|
Summary: NGSTrefftz is an add-on to NGSolve for Trefftz methods.
|
|
5
5
|
Home-page: https://github.com/PaulSt/ngstrefftz
|
|
6
6
|
Author: Paul Stocker
|
|
7
7
|
Author-email: p.stocker@math.uni-goettingen.de
|
|
8
8
|
License: LGPL2.1
|
|
9
9
|
License-File: LICENSE
|
|
10
|
-
Requires-Dist: ngsolve>=6.2.
|
|
10
|
+
Requires-Dist: ngsolve>=6.2.2402
|
|
11
11
|
Requires-Dist: ngstents>=0.0.2.dev39
|
|
12
12
|
Requires-Dist: mkl
|
|
13
13
|
|
|
@@ -24,11 +24,11 @@ jobs:
|
|
|
24
24
|
pip3 install pytest matplotlib numpy
|
|
25
25
|
- name: set path
|
|
26
26
|
run: |
|
|
27
|
-
echo "PYTHONPATH=/usr/lib/python3/dist-packages/:$GITHUB_WORKSPACE/install" >> $GITHUB_ENV
|
|
27
|
+
echo "PYTHONPATH=/usr/lib/python3/dist-packages/:$GITHUB_WORKSPACE/install/lib/python3.10/dist-packages" >> $GITHUB_ENV
|
|
28
28
|
echo "NETGENDIR=/usr/bin/" >> $GITHUB_ENV
|
|
29
|
-
- uses: actions/checkout@
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
30
|
- name: cmake ngstents
|
|
31
|
-
run: cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install -B$GITHUB_WORKSPACE/make -S$GITHUB_WORKSPACE/src
|
|
31
|
+
run: cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install -DPY_INSTALL_DIR="" -B$GITHUB_WORKSPACE/make -S$GITHUB_WORKSPACE/src
|
|
32
32
|
- name: compile ngstents
|
|
33
33
|
run: |
|
|
34
34
|
make -C$GITHUB_WORKSPACE/make
|
|
@@ -39,27 +39,32 @@ jobs:
|
|
|
39
39
|
pytest .
|
|
40
40
|
|
|
41
41
|
macos-nightly:
|
|
42
|
-
runs-on: macos-
|
|
42
|
+
runs-on: macos-13
|
|
43
43
|
steps:
|
|
44
|
-
- name:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
cp -R /Volumes/NGSolve/* /Applications
|
|
44
|
+
- name: Get Python
|
|
45
|
+
uses: actions/setup-python@v4
|
|
46
|
+
with:
|
|
47
|
+
python-version: '3.12'
|
|
49
48
|
- name: set path
|
|
50
49
|
run: |
|
|
51
|
-
echo "
|
|
52
|
-
echo "
|
|
53
|
-
echo "
|
|
54
|
-
echo "
|
|
55
|
-
|
|
56
|
-
-
|
|
50
|
+
echo "PYDIR=${{ env.Python3_ROOT_DIR }}/bin" >> $GITHUB_ENV
|
|
51
|
+
echo "NETGEN_Dir=${{ env.Python3_ROOT_DIR }}/bin/../lib/python3.12/site-packages/netgen/cmake" >> $GITHUB_ENV
|
|
52
|
+
echo "NGSolve_Dir=${{ env.Python3_ROOT_DIR }}/bin/../lib/python3.12/site-packages/ngsolve/cmake" >> $GITHUB_ENV
|
|
53
|
+
echo "/Applications/CMake.app/Contents/bin" >> $GITHUB_PATH
|
|
54
|
+
- run: echo "CMAKE_PREFIX_PATH=${{ env.CMAKE_PREFIX_PATH }}:${{ env.NGSolve_Dir }}:${{ env.NETGEN_Dir }}" >> $GITHUB_ENV
|
|
55
|
+
- name: install ngsolve
|
|
56
|
+
run: pip3 install ngsolve pytest matplotlib
|
|
57
|
+
- uses: actions/checkout@v4
|
|
57
58
|
- name: cmake ngstents
|
|
58
59
|
run: cmake -B$GITHUB_WORKSPACE/make -S$GITHUB_WORKSPACE/src
|
|
59
60
|
- name: compile ngstents
|
|
60
61
|
run: |
|
|
61
62
|
make -C$GITHUB_WORKSPACE/make
|
|
62
63
|
sudo make -C$GITHUB_WORKSPACE/make install
|
|
64
|
+
- name: test ngstents
|
|
65
|
+
run: |
|
|
66
|
+
cd $GITHUB_WORKSPACE/tests
|
|
67
|
+
pytest .
|
|
63
68
|
|
|
64
69
|
pypi-linux:
|
|
65
70
|
name: Build wheels for linux
|
|
@@ -68,7 +73,7 @@ jobs:
|
|
|
68
73
|
steps:
|
|
69
74
|
- name: clear cache
|
|
70
75
|
run: rm -rf /opt/hostedtoolcache
|
|
71
|
-
- uses: actions/checkout@
|
|
76
|
+
- uses: actions/checkout@v4
|
|
72
77
|
with:
|
|
73
78
|
submodules: 'True'
|
|
74
79
|
path: 'ngstents'
|
|
@@ -78,9 +83,9 @@ jobs:
|
|
|
78
83
|
- name: build pip
|
|
79
84
|
run: docker run -v $GITHUB_WORKSPACE:/workspace sameli/manylinux2014_x86_64_cuda_11.7 /bin/sh /workspace/ngstents/.github/workflows/build_pip.sh
|
|
80
85
|
- name: Store the binary wheel
|
|
81
|
-
uses: actions/upload-artifact@
|
|
86
|
+
uses: actions/upload-artifact@v4
|
|
82
87
|
with:
|
|
83
|
-
name: python-package-distributions
|
|
88
|
+
name: python-package-distributions-linux
|
|
84
89
|
path: ngstents/wheelhouse
|
|
85
90
|
|
|
86
91
|
pypi-mac:
|
|
@@ -88,13 +93,13 @@ jobs:
|
|
|
88
93
|
needs: [ubuntu-nightly, macos-nightly]
|
|
89
94
|
strategy:
|
|
90
95
|
matrix:
|
|
91
|
-
py: ['3.8', '3.9', '3.10', '3.11']
|
|
96
|
+
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
|
92
97
|
runs-on: macos-11
|
|
93
98
|
env:
|
|
94
99
|
MACOSX_DEPLOYMENT_TARGET: '10.15'
|
|
95
100
|
steps:
|
|
96
101
|
- name: Checkout
|
|
97
|
-
uses: actions/checkout@
|
|
102
|
+
uses: actions/checkout@v4
|
|
98
103
|
with:
|
|
99
104
|
fetch-depth: 0
|
|
100
105
|
submodules: recursive
|
|
@@ -106,9 +111,9 @@ jobs:
|
|
|
106
111
|
- name: Run build script
|
|
107
112
|
run: cd ngstents/.github/workflows && bash build_pip_mac.sh ${{ matrix.py }}
|
|
108
113
|
- name: Store the binary wheel
|
|
109
|
-
uses: actions/upload-artifact@
|
|
114
|
+
uses: actions/upload-artifact@v4
|
|
110
115
|
with:
|
|
111
|
-
name: python-package-distributions
|
|
116
|
+
name: python-package-distributions-mac-${{ matrix.py }}
|
|
112
117
|
path: ngstents/wheelhouse
|
|
113
118
|
|
|
114
119
|
pypi-win:
|
|
@@ -116,11 +121,11 @@ jobs:
|
|
|
116
121
|
needs: [ubuntu-nightly, macos-nightly]
|
|
117
122
|
strategy:
|
|
118
123
|
matrix:
|
|
119
|
-
py: ['3.8', '3.9', '3.10', '3.11']
|
|
124
|
+
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
|
120
125
|
runs-on: windows-2019
|
|
121
126
|
steps:
|
|
122
127
|
- name: Checkout
|
|
123
|
-
uses: actions/checkout@
|
|
128
|
+
uses: actions/checkout@v4
|
|
124
129
|
with:
|
|
125
130
|
fetch-depth: 0
|
|
126
131
|
submodules: recursive
|
|
@@ -133,9 +138,9 @@ jobs:
|
|
|
133
138
|
- name: Run build script
|
|
134
139
|
run: Set-Location ngstents/.github/workflows; ./build_pip.ps1 ${{ env.pythonLocation }}
|
|
135
140
|
- name: Store the binary wheel
|
|
136
|
-
uses: actions/upload-artifact@
|
|
141
|
+
uses: actions/upload-artifact@v4
|
|
137
142
|
with:
|
|
138
|
-
name: python-package-distributions
|
|
143
|
+
name: python-package-distributions-win-${{ matrix.py }}
|
|
139
144
|
path: ngstents/wheelhouse
|
|
140
145
|
|
|
141
146
|
publish-pypi:
|
|
@@ -144,9 +149,10 @@ jobs:
|
|
|
144
149
|
runs-on: ubuntu-latest
|
|
145
150
|
steps:
|
|
146
151
|
- name: Download all the dists
|
|
147
|
-
uses: actions/download-artifact@
|
|
152
|
+
uses: actions/download-artifact@v4
|
|
148
153
|
with:
|
|
149
|
-
|
|
154
|
+
pattern: python-package-distributions-*
|
|
155
|
+
merge-multiple: true
|
|
150
156
|
path: ngstents/wheelhouse/
|
|
151
157
|
- name: Publish binary distributions to PyPI
|
|
152
158
|
if: github.ref == 'refs/heads/master'
|
|
@@ -161,7 +167,7 @@ jobs:
|
|
|
161
167
|
needs: [publish-pypi]
|
|
162
168
|
runs-on: ubuntu-latest
|
|
163
169
|
steps:
|
|
164
|
-
- uses: actions/checkout@
|
|
170
|
+
- uses: actions/checkout@v4
|
|
165
171
|
with:
|
|
166
172
|
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
|
|
167
173
|
submodules: 'True'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$ErrorActionPreference = "Stop"
|
|
2
|
+
|
|
3
|
+
if (test-path _skbuild) {
|
|
4
|
+
cmd.exe /c rd /s /q _skbuild
|
|
5
|
+
}
|
|
6
|
+
if (test-path dist) {
|
|
7
|
+
cmd.exe /c rd /s /q dist
|
|
8
|
+
}
|
|
9
|
+
if (test-path venv_ngs) {
|
|
10
|
+
cmd.exe /c rd /s /q venv_ngs
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
Set-Location ../..
|
|
14
|
+
python.exe -m venv .\venv_ngs
|
|
15
|
+
.\venv_ngs\scripts\Activate.ps1
|
|
16
|
+
$env:PATH += Join-Path ";" (Get-Item .).FullName "venv_ngs\bin"
|
|
17
|
+
|
|
18
|
+
pip3 install scikit-build wheel numpy twine mkl-devel==2022.* mkl==2022.* setuptools==69.5.1 setuptools_scm==8.1.0
|
|
19
|
+
pip3 install -r .github/workflows/ngsolve_version.txt
|
|
20
|
+
|
|
21
|
+
#$env:NGSolve_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\ngsolve\cmake"
|
|
22
|
+
#$env:Netgen_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\netgen\cmake"
|
|
23
|
+
|
|
24
|
+
python setup.py bdist_wheel -G"Visual Studio 16 2019" -d wheelhouse
|
|
@@ -15,18 +15,18 @@ git config --global --add safe.directory '*'
|
|
|
15
15
|
|
|
16
16
|
export ORIGINAL_PATH="$PATH"
|
|
17
17
|
|
|
18
|
-
for pyversion in 38 39 310 311
|
|
18
|
+
for pyversion in 38 39 310 311 312
|
|
19
19
|
do
|
|
20
20
|
export PYDIR="/opt/python/cp${pyversion}-cp${pyversion}/bin"
|
|
21
21
|
export PATH="$ORIGINAL_PATH:$PYDIR"
|
|
22
22
|
|
|
23
23
|
rm -rf _skbuild
|
|
24
|
-
$PYDIR/pip install pytest-check numpy wheel scikit-build mkl==2023.* mkl-devel==2023.* setuptools
|
|
25
|
-
$PYDIR/pip install
|
|
24
|
+
$PYDIR/pip install pytest-check numpy wheel scikit-build mkl==2023.* mkl-devel==2023.* setuptools==69.5.1 setuptools_scm==8.1.0
|
|
25
|
+
$PYDIR/pip install -r ./.github/workflows/ngsolve_version.txt
|
|
26
26
|
|
|
27
27
|
$PYDIR/pip wheel -vvv .
|
|
28
28
|
rename linux_ manylinux_2_17_x86_64.manylinux2014_ ngstents*.whl
|
|
29
29
|
mv ngstents*.whl wheelhouse/
|
|
30
30
|
rm -rf *.whl
|
|
31
|
-
$PYDIR/pip uninstall -y ngsolve netgen-mesher setuptools pytest-check numpy wheel scikit-build mkl mkl-devel
|
|
31
|
+
$PYDIR/pip uninstall -y ngsolve netgen-mesher setuptools setuptools_scm pytest-check numpy wheel scikit-build mkl mkl-devel
|
|
32
32
|
done
|
|
@@ -11,9 +11,9 @@ export PATH=/Applications/CMake.app/Contents/bin:$PATH
|
|
|
11
11
|
export NETGEN_Dir=$PYDIR/../lib/python$1/site-packages/netgen/cmake
|
|
12
12
|
export NGSolve_Dir=$PYDIR/../lib/python$1/site-packages/ngsolve/cmake
|
|
13
13
|
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$NGSolve_Dir:$NETGEN_Dir
|
|
14
|
-
$PYDIR/pip3 install scikit-build wheel
|
|
14
|
+
$PYDIR/pip3 install scikit-build wheel setuptools==69.5.1 setuptools_scm==8.1.0
|
|
15
15
|
|
|
16
16
|
export CMAKE_OSX_ARCHITECTURES='arm64;x86_64'
|
|
17
|
-
$PYDIR/pip3 install
|
|
17
|
+
$PYDIR/pip3 install -r ./.github/workflows/ngsolve_version.txt
|
|
18
18
|
|
|
19
19
|
$PYDIR/python3 setup.py bdist_wheel --plat-name macosx-10.15-universal2 -d wheelhouse
|
ngstrefftz-0.3.2402.dev35/external_dependencies/ngstents/.github/workflows/ngsolve_version.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ngsolve>=6.2.2402
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
from skbuild import setup
|
|
4
|
+
from setuptools_scm import get_version
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
_cmake_args = []
|
|
8
|
+
version = get_version().split('+')[0]
|
|
9
|
+
|
|
10
|
+
ngsolve_version = '6.2.2402'
|
|
11
|
+
install_requires = [ 'ngsolve >= '+ngsolve_version, 'matplotlib' ]
|
|
12
|
+
|
|
13
|
+
setup(
|
|
14
|
+
name='ngstents',
|
|
15
|
+
version=version,
|
|
16
|
+
author='Jay Gopalakrishnan',
|
|
17
|
+
author_email='gjay@pdx.edu',
|
|
18
|
+
description='Spacetime tent facilities for solving hyperbolic equations',
|
|
19
|
+
long_description='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.',
|
|
20
|
+
url="https://github.com/jayggg/ngstents",
|
|
21
|
+
license="LGPL2.1",
|
|
22
|
+
install_requires=install_requires,
|
|
23
|
+
packages=["ngstents"],
|
|
24
|
+
package_dir={"ngstents": "src"},
|
|
25
|
+
cmake_args=_cmake_args,
|
|
26
|
+
cmake_source_dir='src',
|
|
27
|
+
)
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.1)
|
|
2
|
+
project(ngstents)
|
|
3
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
4
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
5
|
+
|
|
6
|
+
# Find NGSolve and Netgen using python
|
|
7
|
+
if(CMAKE_VERSION VERSION_LESS "3.18")
|
|
8
|
+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
|
|
9
|
+
else()
|
|
10
|
+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
|
|
11
|
+
endif()
|
|
12
|
+
set(Netgen_DIR "" CACHE PATH "Path to directory containing NetgenConfig.cmake")
|
|
13
|
+
set(NGSolve_DIR "" CACHE PATH "Path to directory containing NGSolveConfig.cmake")
|
|
14
|
+
execute_process(COMMAND ${Python3_EXECUTABLE} -m netgen.config OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE Netgen_DIR)
|
|
15
|
+
execute_process(COMMAND ${Python3_EXECUTABLE} -m ngsolve.config OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE NGSolve_DIR)
|
|
16
|
+
find_package(NGSolve CONFIG REQUIRED)
|
|
17
|
+
|
|
18
|
+
### check if CMAKE_INSTALL_PREFIX is set by user, if not install in NGSolve python dir
|
|
19
|
+
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
20
|
+
execute_process(COMMAND ${Python3_EXECUTABLE} -m site --user-site OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE install_dir RESULT_VARIABLE ret)
|
|
21
|
+
if (NOT ret EQUAL 0)
|
|
22
|
+
# user site directory is disabled (are we in a virtual environment?)
|
|
23
|
+
set(install_dir ${Python3_SITEARCH})
|
|
24
|
+
endif()
|
|
25
|
+
message("The python module ${module_name} will be installed to: ${install_dir}")
|
|
26
|
+
set(CMAKE_INSTALL_PREFIX ${install_dir} CACHE PATH "Install dir" FORCE)
|
|
27
|
+
else(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
28
|
+
#set(PY_INSTALL_DIR ${NGSOLVE_INSTALL_DIR_PYTHON} CACHE STRING "subdir of install dir for python modules")
|
|
29
|
+
execute_process(COMMAND ${Python3_EXECUTABLE} -c "import os.path, sysconfig;print(os.path.relpath(sysconfig.get_path('platlib'), sysconfig.get_path('data')))" OUTPUT_VARIABLE PY_INSTALL_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
30
|
+
endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
31
|
+
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} CACHE PATH "build dir")
|
|
32
|
+
|
|
33
|
+
add_library(_pytents SHARED
|
|
34
|
+
python_tents.cpp
|
|
35
|
+
tents.cpp
|
|
36
|
+
)
|
|
37
|
+
add_library(_pyconslaw SHARED
|
|
38
|
+
python_conslaw.cpp
|
|
39
|
+
burgers.cpp
|
|
40
|
+
euler.cpp
|
|
41
|
+
wave.cpp
|
|
42
|
+
advection.cpp
|
|
43
|
+
maxwell.cpp
|
|
44
|
+
symbolic.cpp
|
|
45
|
+
vis3d.cpp
|
|
46
|
+
)
|
|
47
|
+
target_link_libraries(_pytents PUBLIC ngsolve Python3::Module)
|
|
48
|
+
set_target_properties(_pytents PROPERTIES PREFIX "" CXX_STANDARD 17)
|
|
49
|
+
target_compile_definitions(_pytents PRIVATE NGSTENT_EXPORTS)
|
|
50
|
+
target_link_libraries(_pyconslaw PRIVATE _pytents)
|
|
51
|
+
set_target_properties(_pyconslaw PROPERTIES PREFIX "" CXX_STANDARD 17)
|
|
52
|
+
if(WIN32)
|
|
53
|
+
set_target_properties(_pytents PROPERTIES SUFFIX ".pyd" )
|
|
54
|
+
set_target_properties(_pyconslaw PROPERTIES SUFFIX ".pyd" )
|
|
55
|
+
else(WIN32)
|
|
56
|
+
set_target_properties(_pytents PROPERTIES SUFFIX ".so")
|
|
57
|
+
set_target_properties(_pyconslaw PROPERTIES SUFFIX ".so")
|
|
58
|
+
endif(WIN32)
|
|
59
|
+
set_target_properties(_pytents PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ngstents")
|
|
60
|
+
set_target_properties(_pyconslaw PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ngstents")
|
|
61
|
+
|
|
62
|
+
option(BUILD_STUB_FILES "Generate stub files for better autocompletion support" OFF)
|
|
63
|
+
if(BUILD_STUB_FILES)
|
|
64
|
+
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import pybind11_stubgen; print(pybind11_stubgen.__file__)" OUTPUT_VARIABLE stubgen_path RESULT_VARIABLE pybind11_stubgen)
|
|
65
|
+
if(pybind11_stubgen AND NOT ${pybind11_stubgen} EQUAL 0)
|
|
66
|
+
message(WARNING "pybind11-stubgeN not found, if you want to create stub files
|
|
67
|
+
for better autocompletion support install it with pip.")
|
|
68
|
+
else()
|
|
69
|
+
message("-- Found pybind11-stubgen: ${stubgen_path}")
|
|
70
|
+
set(FOUND_STUBGEN ON)
|
|
71
|
+
endif()
|
|
72
|
+
message(STATUS
|
|
73
|
+
"This project is only compatible with\n\t\tpybind11-stubgen==0.5")
|
|
74
|
+
endif(BUILD_STUB_FILES)
|
|
75
|
+
|
|
76
|
+
message("With 'make install' the python package will be installed to: ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}")
|
|
77
|
+
install(TARGETS _pytents DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents)
|
|
78
|
+
install(TARGETS _pyconslaw DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents/conslaw)
|
|
79
|
+
|
|
80
|
+
install(FILES
|
|
81
|
+
../py/__init__.py
|
|
82
|
+
DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents)
|
|
83
|
+
|
|
84
|
+
install(FILES
|
|
85
|
+
../py/utils/__init__.py
|
|
86
|
+
../py/utils/_drawtents.py
|
|
87
|
+
../py/utils/_drawtents2d.py
|
|
88
|
+
DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents/utils)
|
|
89
|
+
|
|
90
|
+
install(FILES
|
|
91
|
+
../py/conslaw/__init__.py
|
|
92
|
+
DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents/conslaw)
|
|
93
|
+
|
|
94
|
+
if(FOUND_STUBGEN)
|
|
95
|
+
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pybind11_stubgen --no-setup-py ngstents)")
|
|
96
|
+
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/stubs/ngstents-stubs/ DESTINATION ${CMAKE_INSTALL_PREFIX}/${PY_INSTALL_DIR}/ngstents)
|
|
97
|
+
endif(FOUND_STUBGEN)
|
{ngstrefftz-0.3.2402.dev33 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tents.cpp
RENAMED
|
@@ -565,7 +565,7 @@ std::tuple<Table<int>,Table<int>> TentSlabPitcher::InitializeMeshData(LocalHeap
|
|
|
565
565
|
// Get the periodic vertex associated with a primary vertex in periodic case
|
|
566
566
|
void TentSlabPitcher::GetVertexElements(int vnr_main, Array<int> & elems) const
|
|
567
567
|
{
|
|
568
|
-
ma->GetVertexElements
|
|
568
|
+
elems = ma->GetVertexElements(vnr_main);
|
|
569
569
|
if(per_verts[vnr_main].Size()==0)
|
|
570
570
|
return;
|
|
571
571
|
else
|
|
@@ -21,18 +21,13 @@ import os, sys
|
|
|
21
21
|
root_dir = sys.prefix
|
|
22
22
|
print(f'root_dir: {root_dir}')
|
|
23
23
|
if 'darwin' in sys.platform:
|
|
24
|
-
_cmake_args += [
|
|
25
|
-
'-DBUILD_STUB_FILES=ON',
|
|
26
|
-
]
|
|
24
|
+
_cmake_args += [ ]
|
|
27
25
|
elif 'linux' in sys.platform:
|
|
28
26
|
_cmake_args += [
|
|
29
27
|
'-DUSE_MKL:BOOL=ON',
|
|
30
28
|
f'-DMKL_ROOT:PATH={root_dir}',
|
|
31
29
|
f'-DMKL_LIBRARY:PATH={root_dir}/lib/libmkl_rt.so.2',
|
|
32
30
|
f'-DMKL_INCLUDE_DIR:PATH={root_dir}/include',
|
|
33
|
-
'-DUSE_CUDA=ON',
|
|
34
|
-
'-DCMAKE_CUDA_ARCHITECTURES=all',
|
|
35
|
-
'-DBUILD_STUB_FILES=ON',
|
|
36
31
|
]
|
|
37
32
|
install_requires.append('mkl')
|
|
38
33
|
packages = []
|
|
@@ -43,7 +38,6 @@ elif 'win' in sys.platform:
|
|
|
43
38
|
f'-DMKL_LIBRARY:PATH={root_dir}/Library/lib/mkl_rt.lib',
|
|
44
39
|
f'-DMKL_INCLUDE_DIR:PATH={root_dir}/Library/include',
|
|
45
40
|
f'-DNGSOLVE_INSTALL_DIR_TCL:PATH=Scripts',
|
|
46
|
-
'-DBUILD_STUB_FILES=OFF',
|
|
47
41
|
]
|
|
48
42
|
install_requires.append('mkl')
|
|
49
43
|
|
|
@@ -32,16 +32,20 @@ execute_process(COMMAND ${Python3_EXECUTABLE} -m ngsolve.config OUTPUT_STRIP_TRA
|
|
|
32
32
|
find_package(NGSolve CONFIG REQUIRED)
|
|
33
33
|
|
|
34
34
|
### check if CMAKE_INSTALL_PREFIX is set by user, if not install in NGSolve python dir
|
|
35
|
+
|
|
36
|
+
#set(INSTDIR_FROM_NGSOLVE ${CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT} CACHE BOOL "Try to get install dir from NGSolve")
|
|
35
37
|
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
36
38
|
execute_process(COMMAND ${Python3_EXECUTABLE} -m site --user-site OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE install_dir RESULT_VARIABLE ret)
|
|
37
39
|
if (NOT ret EQUAL 0)
|
|
38
40
|
# user site directory is disabled (are we in a virtual environment?)
|
|
39
41
|
set(install_dir ${Python3_SITEARCH})
|
|
40
42
|
endif()
|
|
41
|
-
message("
|
|
43
|
+
message("Install dir from NGSolve: ${install_dir}")
|
|
42
44
|
set(CMAKE_INSTALL_PREFIX ${install_dir} CACHE PATH "Install dir" FORCE)
|
|
43
45
|
else(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
44
|
-
set(PY_INSTALL_DIR ${NGSOLVE_INSTALL_DIR_PYTHON} CACHE STRING "subdir of install dir for python modules")
|
|
46
|
+
#set(PY_INSTALL_DIR ${NGSOLVE_INSTALL_DIR_PYTHON} CACHE STRING "subdir of install dir for python modules")
|
|
47
|
+
execute_process(COMMAND ${Python3_EXECUTABLE} -c "import os.path, sysconfig;print(os.path.relpath(sysconfig.get_path('platlib'), sysconfig.get_path('data')))" OUTPUT_VARIABLE PY_INSTALL_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
48
|
+
message("python packages install dir: ${PY_INSTALL_DIR}")
|
|
45
49
|
endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
46
50
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} CACHE PATH "build dir")
|
|
47
51
|
|
|
@@ -128,6 +132,7 @@ if (NGSTREFFTZ_USE_MKL)
|
|
|
128
132
|
set(MKL_STATIC OFF CACHE BOOL "Link static MKL")
|
|
129
133
|
set(MKL_SDL ON CACHE BOOL "Link single dynamic MKL lib")
|
|
130
134
|
set(MKL_ARCH "intel64")
|
|
135
|
+
message("MKL_ARCH=${MKL_ARCH}")
|
|
131
136
|
if(NOT MKL_LINK)
|
|
132
137
|
if(MKL_STATIC)
|
|
133
138
|
set(MKL_LINK static)
|
|
@@ -138,38 +143,53 @@ if (NGSTREFFTZ_USE_MKL)
|
|
|
138
143
|
endif()
|
|
139
144
|
endif()
|
|
140
145
|
find_package(MKL) # HINTS ${MKL_ROOT} ${CMAKE_INSTALL_PREFIX}/../../cmake/mkl ${Python3_ROOT_DIR}/lib/cmake/mkl)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
set(MKL_RT_NAME libmkl_rt.so.2)
|
|
145
|
-
endif()
|
|
146
|
-
find_library(MKLRT ${MKL_RT_NAME} HINTS ${MKL_ROOT}/lib)
|
|
147
|
-
message("MKL minimal: ${MKL_MINIMAL_LIBRARIES}")
|
|
148
|
-
message("MKLRT: ${MKLRT}")
|
|
146
|
+
#message("MKL minimal: ${MKL_MINIMAL_LIBRARIES}")
|
|
147
|
+
#message("MKL libraries: ${MKL_LIBRARIES}")
|
|
148
|
+
#message("MKL link flags: ${MKL_LINK_FLAGS}")
|
|
149
149
|
|
|
150
|
-
#if(
|
|
151
|
-
if(
|
|
152
|
-
|
|
153
|
-
set(NGSTREFFTZ_USE_LAPACK OFF)
|
|
154
|
-
else()
|
|
155
|
-
if(WIN32)
|
|
156
|
-
set(LAPACK_LIBRARIES "${MKL_MINIMAL_LIBRARIES}")
|
|
157
|
-
else()
|
|
158
|
-
set(LAPACK_LIBRARIES "${MKLRT}")
|
|
159
|
-
endif()
|
|
150
|
+
#if(MKL_FOUND)
|
|
151
|
+
if(MKL_MINIMAL_LIBRARIES)
|
|
152
|
+
set(LAPACK_LIBRARIES "${MKL_LIBRARIES}")
|
|
160
153
|
message("Setting LAPACK_LIBRARIES=${LAPACK_LIBRARIES}")
|
|
161
154
|
target_include_directories(_trefftz PRIVATE "${MKL_INCLUDE_DIRS}")
|
|
162
155
|
endif()
|
|
156
|
+
if(MKL_LIBRARY)
|
|
157
|
+
message("MKL_LIBRARY=${MKL_LIBRARY}")
|
|
158
|
+
#if(WIN32)
|
|
159
|
+
#set(LAPACK_LIBRARIES "${MKL_MINIMAL_LIBRARIES}")
|
|
160
|
+
#else()
|
|
161
|
+
#set(LAPACK_LIBRARIES "${MKL_LIBRARIES}")
|
|
162
|
+
#endif()
|
|
163
|
+
#if(NOT MKL_LIBRARIES)
|
|
164
|
+
#if(APPLE OR WIN32)
|
|
165
|
+
#set(MKL_RT_NAME mkl_rt.2)
|
|
166
|
+
#else()
|
|
167
|
+
#set(MKL_RT_NAME libmkl_rt.so.2)
|
|
168
|
+
#endif()
|
|
169
|
+
get_filename_component(MKL_RT_NAME ${MKL_LIBRARY} NAME)
|
|
170
|
+
message("MKL_RT_NAME=${MKL_RT_NAME}")
|
|
171
|
+
find_library(MKLRT ${MKL_RT_NAME} HINTS ${MKL_ROOT}/lib ${MKL_LIBRARY})
|
|
172
|
+
message("MKLRT=${MKLRT}")
|
|
173
|
+
if(MKLRT)
|
|
174
|
+
set(LAPACK_LIBRARIES ${MKLRT})
|
|
175
|
+
message("MKLRT setting LAPACK_LIBRARIES=${LAPACK_LIBRARIES}")
|
|
176
|
+
endif()
|
|
177
|
+
#else()
|
|
178
|
+
#message("${Red}MKL not found, switching off NGSTREFFTZ_USE_LAPACK!${ColourReset}")
|
|
179
|
+
#set(NGSTREFFTZ_USE_LAPACK OFF)
|
|
180
|
+
endif()
|
|
163
181
|
endif (NGSTREFFTZ_USE_MKL)
|
|
164
182
|
if(NGSTREFFTZ_USE_LAPACK AND NOT LAPACK_LIBRARIES)
|
|
165
183
|
find_package(LAPACK)
|
|
166
|
-
endif(NGSTREFFTZ_USE_LAPACK)
|
|
184
|
+
endif(NGSTREFFTZ_USE_LAPACK AND NOT LAPACK_LIBRARIES)
|
|
167
185
|
if(LAPACK_LIBRARIES)
|
|
168
186
|
#target_link_libraries(_trefftz PRIVATE $<BUILD_INTERFACE:ngs_lapack>)
|
|
169
187
|
message("Linking with LAPACK_LIBRARIES=${LAPACK_LIBRARIES}")
|
|
170
188
|
target_link_libraries(_trefftz PRIVATE ${LAPACK_LIBRARIES})
|
|
171
189
|
target_compile_definitions(_trefftz PRIVATE NGSTREFFTZ_USE_LAPACK)
|
|
172
|
-
|
|
190
|
+
else(LAPACK_LIBRARIES)
|
|
191
|
+
message("${Red}LAPACK not found, restricted usage${ColourReset}")
|
|
192
|
+
endif(LAPACK_LIBRARIES)
|
|
173
193
|
|
|
174
194
|
### install
|
|
175
195
|
set_target_properties(_trefftz PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/ngstrefftz")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngstrefftz
|
|
3
|
-
Version: 0.3.2402.
|
|
3
|
+
Version: 0.3.2402.dev35
|
|
4
4
|
Summary: NGSTrefftz is an add-on to NGSolve for Trefftz methods.
|
|
5
5
|
Home-page: https://github.com/PaulSt/ngstrefftz
|
|
6
6
|
Author: Paul Stocker
|
|
7
7
|
Author-email: p.stocker@math.uni-goettingen.de
|
|
8
8
|
License: LGPL2.1
|
|
9
9
|
License-File: LICENSE
|
|
10
|
-
Requires-Dist: ngsolve>=6.2.
|
|
10
|
+
Requires-Dist: ngsolve>=6.2.2402
|
|
11
11
|
Requires-Dist: ngstents>=0.0.2.dev39
|
|
12
12
|
Requires-Dist: mkl
|
|
13
13
|
|
|
@@ -48,6 +48,7 @@ external_dependencies/ngstents/.github/workflows/build_pip.ps1
|
|
|
48
48
|
external_dependencies/ngstents/.github/workflows/build_pip.sh
|
|
49
49
|
external_dependencies/ngstents/.github/workflows/build_pip_mac.sh
|
|
50
50
|
external_dependencies/ngstents/.github/workflows/fix_auditwheel_policy.py
|
|
51
|
+
external_dependencies/ngstents/.github/workflows/ngsolve_version.txt
|
|
51
52
|
external_dependencies/ngstents/demo/advection/Advection_Periodic_Clipping.ipynb
|
|
52
53
|
external_dependencies/ngstents/demo/advection/advection2d.py
|
|
53
54
|
external_dependencies/ngstents/demo/advection/advection2d_periodic.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ngsolve>=6.2.2401.post24.dev0
|