ngstrefftz 0.3.2402.dev34__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.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip.sh +1 -1
- ngstrefftz-0.3.2402.dev35/.github/workflows/ngsolve_version.txt +1 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/PKG-INFO +2 -2
- {ngstrefftz-0.3.2402.dev34 → 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.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/build_pip.sh +4 -4
- {ngstrefftz-0.3.2402.dev34 → 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.dev34 → 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.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tents.cpp +1 -1
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tents.hpp +1 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/PKG-INFO +2 -2
- {ngstrefftz-0.3.2402.dev34 → 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.dev34/.github/workflows/ngsolve_version.txt +0 -1
- ngstrefftz-0.3.2402.dev34/external_dependencies/ngstents/.github/workflows/build_pip.ps1 +0 -20
- ngstrefftz-0.3.2402.dev34/external_dependencies/ngstents/setup.py +0 -103
- ngstrefftz-0.3.2402.dev34/external_dependencies/ngstents/src/CMakeLists.txt +0 -73
- ngstrefftz-0.3.2402.dev34/src/ngstrefftz.egg-info/requires.txt +0 -3
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.clang-format +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build.yml +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_linux_test.sh +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip.ps1 +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_pip_mac.sh +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/fix_auditwheel_policy.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/Dockerfile +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/build_in_docker.sh +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/merge.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.gitmodules +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/CONTRIBUTING.md +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/Dockerfile +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/LICENSE +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/README.md +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/_static/breadcrumbs.html +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/_static/css/mytheme.css +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/conf.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/contrib.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/docu.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/index.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/intro.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-adv.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-helm.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-poi.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-stokes.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-wave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/helmholtz.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/index.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/laplace.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/qtwave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/tunfitted.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/twave.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/twavetents.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/paper/codemeta.json +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/paper/paper.bib +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/paper/paper.md +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/readme.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/.github/workflows/fix_auditwheel_policy.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/Advection_Periodic_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/advection2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/advection/advection2d_periodic.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/Burgers_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/burgers1d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/burgers/burgers2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/Euler_Clipping.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/euler2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/euler/mach3_windtunnel.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/maxwell/maxwell3d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_advection2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_burgers.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_euler.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_wave.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/symbolic_wave1d_interface.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/symbolic/wave_penetrable_cylinder.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/tents/draw3dtent.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/tents/draw3dvertex.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/horn.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave2d_timedepbc.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/demo/wave/wave3d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/BurgersMTP.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/INDEX.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/StartPitching.ipynb +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/conf.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/CausalityCond.png +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/dag.png +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/map.png +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/figs/subtents.png +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/index.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/readme.rst +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/requirements.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/conslaw/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/_drawtents.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/py/utils/_drawtents2d.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/advection.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/burgers.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/concurrentqueue.h +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/conservationlaw.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/euler.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/maxwell.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/paralleldepend.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/python_conslaw.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/python_tents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/symbolic.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tconservationlaw_tp_impl.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tentsolver.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/tentsolver_impl.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/wave.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_burgers_2D.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_causal_tents.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_conslaw.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_tent_height_2D.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/tests/test_tentlayers.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/setup.cfg +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/setup.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/CMakeLists.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/__init__.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/airy.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/condensedg.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/condensedg.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/diffopmapped.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/embtrefftz.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/embtrefftz.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/mesh1dtents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/mesh1dtents.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/monomialfespace.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/monomialfespace.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/dependency_links.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/top_level.txt +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngsttd.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/planewavefe.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/planewavefe.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/python_trefftz.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/scalarmappedfe.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/scalarmappedfe.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/specialcoefficientfunction.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/specialcoefficientfunction.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/specialintegrator.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/specialintegrator.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/trefftzfespace.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/trefftzfespace.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/twavetents.cpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/twavetents.hpp +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/test/dg.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/test/embt.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/test/tents.py +0 -0
- {ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/test/trefftz.py +0 -0
|
@@ -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 .
|
|
@@ -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.dev34 → 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
|
|
@@ -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
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
pip3 install scikit-build wheel numpy twine mkl-devel==2022.* mkl==2022.*
|
|
14
|
-
pip3 install ngsolve
|
|
15
|
-
|
|
16
|
-
$env:NGSolve_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\ngsolve\cmake"
|
|
17
|
-
$env:Netgen_DIR = "$env:Python3_ROOT_DIR\lib\site-packages\netgen\cmake"
|
|
18
|
-
|
|
19
|
-
Set-Location ../..
|
|
20
|
-
python setup.py bdist_wheel -G"Visual Studio 16 2019" -d wheelhouse
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
|
|
4
|
-
import glob
|
|
5
|
-
import os
|
|
6
|
-
import sys
|
|
7
|
-
# import netgen.version
|
|
8
|
-
import site
|
|
9
|
-
|
|
10
|
-
from skbuild import setup
|
|
11
|
-
import skbuild.cmaker
|
|
12
|
-
from subprocess import check_output
|
|
13
|
-
from distutils.sysconfig import get_python_lib
|
|
14
|
-
import pkg_resources
|
|
15
|
-
|
|
16
|
-
from os.path import dirname, isdir, join
|
|
17
|
-
import os
|
|
18
|
-
import re
|
|
19
|
-
import subprocess
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def is_canonical(version):
|
|
23
|
-
return re.match(r'^([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$', version) is not None
|
|
24
|
-
|
|
25
|
-
def get_version():
|
|
26
|
-
"""
|
|
27
|
-
Gets the current version number.
|
|
28
|
-
If in a git repository, it is the current git tag.
|
|
29
|
-
Otherwise it is the one contained in the PKG-INFO file.
|
|
30
|
-
"""
|
|
31
|
-
version_re = re.compile('^Version: (.+)$', re.M)
|
|
32
|
-
d = dirname(__file__)
|
|
33
|
-
|
|
34
|
-
if isdir(join(d, '.git')):
|
|
35
|
-
cmd = 'git describe --always --tags --match v[0-9]*'.split()
|
|
36
|
-
try:
|
|
37
|
-
version = subprocess.check_output(cmd).decode().strip()
|
|
38
|
-
except subprocess.CalledProcessError:
|
|
39
|
-
print('Unable to get version number from git tags')
|
|
40
|
-
exit(1)
|
|
41
|
-
if '-' in version:
|
|
42
|
-
version = '.post'.join(version.split('-')[:2])
|
|
43
|
-
with open(os.devnull, 'w') as fd_devnull:
|
|
44
|
-
subprocess.call(['git', 'status'],
|
|
45
|
-
stdout=fd_devnull, stderr=fd_devnull)
|
|
46
|
-
if not is_canonical(version[1:]):
|
|
47
|
-
print('Unable to get version number from git tags, using dummy version v0.0.0')
|
|
48
|
-
version="v0.0.0"
|
|
49
|
-
version = version[1:]
|
|
50
|
-
else:
|
|
51
|
-
with open(join(d, 'PKG-INFO')) as f:
|
|
52
|
-
version = version_re.search(f.read()).group(1)
|
|
53
|
-
return version
|
|
54
|
-
|
|
55
|
-
ngsolve_version = '6.2.2301'
|
|
56
|
-
install_requires = [ 'ngsolve >= '+ngsolve_version ] #, 'ngstents >= 0.0.2' ]
|
|
57
|
-
|
|
58
|
-
py_install_dir = get_python_lib(1,0,'').replace('\\','/')
|
|
59
|
-
print("python install dir:",py_install_dir)
|
|
60
|
-
|
|
61
|
-
_cmake_args = ['-DCMAKE_CXX_COMPILER=ngscxx']
|
|
62
|
-
|
|
63
|
-
packages=["ngstents"]
|
|
64
|
-
|
|
65
|
-
if 'darwin' in sys.platform:
|
|
66
|
-
_cmake_args += ['-DPY_INSTALL_DIR='+py_install_dir]
|
|
67
|
-
pass
|
|
68
|
-
elif 'linux' in sys.platform:
|
|
69
|
-
install_requires.append('mkl')
|
|
70
|
-
elif 'win' in sys.platform:
|
|
71
|
-
install_requires.append('mkl')
|
|
72
|
-
|
|
73
|
-
cmake_prefix_path = ""
|
|
74
|
-
if 'PYDIR' in os.environ and 'win' not in sys.platform:
|
|
75
|
-
print("PYDIR",os.environ["PYDIR"])
|
|
76
|
-
cmake_prefix_path += os.environ["PYDIR"]
|
|
77
|
-
_cmake_args += [f'-DPYTHON_EXECUTABLE={os.environ["PYDIR"]}/python3']
|
|
78
|
-
_cmake_args += [f'-DPYTHON_LIBRARY={os.environ["PYDIR"]}/../lib']
|
|
79
|
-
_cmake_args += [f'-DPYTHON_INCLUDE_DIR={os.environ["PYDIR"]}/../include']
|
|
80
|
-
if 'NGSolve_DIR' in os.environ:
|
|
81
|
-
_cmake_args += [f'-DNGSolve_DIR={os.environ["NGSolve_DIR"]}']
|
|
82
|
-
if 'Netgen_DIR' in os.environ:
|
|
83
|
-
_cmake_args += [f'-DNetgen_DIR={os.environ["Netgen_DIR"]}']
|
|
84
|
-
if 'CMAKE_PREFIX_PATH' in os.environ:
|
|
85
|
-
cmake_prefix_path += os.environ["CMAKE_PREFIX_PATH"]
|
|
86
|
-
|
|
87
|
-
_cmake_args += ['-DCMAKE_PREFIX_PATH='+cmake_prefix_path]
|
|
88
|
-
|
|
89
|
-
setup(
|
|
90
|
-
name='ngstents',
|
|
91
|
-
version=str(get_version()),
|
|
92
|
-
author='Jay Gopalakrishnan',
|
|
93
|
-
author_email='gjay@pdx.edu',
|
|
94
|
-
description='Spacetime tent facilities for solving hyperbolic equations',
|
|
95
|
-
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.',
|
|
96
|
-
url="https://github.com/jayggg/ngstents",
|
|
97
|
-
license="LGPL2.1",
|
|
98
|
-
install_requires=install_requires,
|
|
99
|
-
packages=packages,
|
|
100
|
-
package_dir={"ngstents": "src"},
|
|
101
|
-
cmake_args=_cmake_args,
|
|
102
|
-
cmake_source_dir='src',
|
|
103
|
-
)
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
project(ngstents)
|
|
2
|
-
|
|
3
|
-
cmake_minimum_required(VERSION 3.1)
|
|
4
|
-
set(CMAKE_CXX_STANDARD 17)
|
|
5
|
-
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
6
|
-
|
|
7
|
-
find_package(NGSolve CONFIG REQUIRED
|
|
8
|
-
HINTS $ENV{NETGENDIR}/.. $ENV{NETGENDIR}/../Resources/CMake /opt/netgen/ /Applications/Netgen.app/Contents/Resources/CMake C:/netgen $ENV{NGSolve_DIR}
|
|
9
|
-
)
|
|
10
|
-
|
|
11
|
-
add_ngsolve_python_module(_pytents
|
|
12
|
-
python_tents.cpp
|
|
13
|
-
tents.cpp
|
|
14
|
-
)
|
|
15
|
-
add_ngsolve_python_module(_pyconslaw
|
|
16
|
-
python_conslaw.cpp
|
|
17
|
-
burgers.cpp
|
|
18
|
-
euler.cpp
|
|
19
|
-
wave.cpp
|
|
20
|
-
advection.cpp
|
|
21
|
-
maxwell.cpp
|
|
22
|
-
symbolic.cpp
|
|
23
|
-
vis3d.cpp
|
|
24
|
-
)
|
|
25
|
-
if(WIN32)
|
|
26
|
-
target_link_libraries(_pytents PUBLIC ${PYTHON_LIBRARY})
|
|
27
|
-
target_link_libraries(_pyconslaw PUBLIC ${PYTHON_LIBRARY})
|
|
28
|
-
endif(WIN32)
|
|
29
|
-
target_link_libraries(_pyconslaw PRIVATE _pytents)
|
|
30
|
-
target_compile_definitions(_pytents PRIVATE NGSTENT_EXPORTS)
|
|
31
|
-
|
|
32
|
-
# check if CMAKE_INSTALL_PREFIX is set by user, if not install in NGSolve python dir
|
|
33
|
-
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
34
|
-
set(CMAKE_INSTALL_PREFIX ${NGSOLVE_INSTALL_DIR}/${NGSOLVE_INSTALL_DIR_PYTHON} CACHE PATH "Install dir" FORCE)
|
|
35
|
-
endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
36
|
-
|
|
37
|
-
option(BUILD_STUB_FILES "Generate stub files for better autocompletion support" OFF)
|
|
38
|
-
if(BUILD_STUB_FILES)
|
|
39
|
-
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import pybind11_stubgen; print(pybind11_stubgen.__file__)" OUTPUT_VARIABLE stubgen_path RESULT_VARIABLE pybind11_stubgen)
|
|
40
|
-
if(pybind11_stubgen AND NOT ${pybind11_stubgen} EQUAL 0)
|
|
41
|
-
message(WARNING "pybind11-stubgeN not found, if you want to create stub files
|
|
42
|
-
for better autocompletion support install it with pip.")
|
|
43
|
-
else()
|
|
44
|
-
message("-- Found pybind11-stubgen: ${stubgen_path}")
|
|
45
|
-
set(FOUND_STUBGEN ON)
|
|
46
|
-
endif()
|
|
47
|
-
message(STATUS
|
|
48
|
-
"This project is only compatible with\n\t\tpybind11-stubgen==0.5")
|
|
49
|
-
endif(BUILD_STUB_FILES)
|
|
50
|
-
|
|
51
|
-
message("With 'make install' the python package will be installed to: ${CMAKE_INSTALL_PREFIX}")
|
|
52
|
-
install(TARGETS _pytents DESTINATION ngstents)
|
|
53
|
-
install(TARGETS _pyconslaw DESTINATION ngstents/conslaw)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
install(FILES
|
|
57
|
-
../py/__init__.py
|
|
58
|
-
DESTINATION ngstents)
|
|
59
|
-
|
|
60
|
-
install(FILES
|
|
61
|
-
../py/utils/__init__.py
|
|
62
|
-
../py/utils/_drawtents.py
|
|
63
|
-
../py/utils/_drawtents2d.py
|
|
64
|
-
DESTINATION ngstents/utils)
|
|
65
|
-
|
|
66
|
-
install(FILES
|
|
67
|
-
../py/conslaw/__init__.py
|
|
68
|
-
DESTINATION ngstents/conslaw)
|
|
69
|
-
|
|
70
|
-
if(FOUND_STUBGEN)
|
|
71
|
-
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pybind11_stubgen --no-setup-py ngstents)")
|
|
72
|
-
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/stubs/ngstents-stubs/ DESTINATION ngstents)
|
|
73
|
-
endif(FOUND_STUBGEN)
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/build_linux_test.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/fix_auditwheel_policy.py
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/Dockerfile
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/build_in_docker.sh
RENAMED
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/.github/workflows/pyodide/requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-helm.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-stokes.ipynb
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/docs/notebooks/embTrefftz-wave.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/docs/conf.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/euler.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.cpp
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/vis3d.hpp
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/external_dependencies/ngstents/src/wave.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ngstrefftz-0.3.2402.dev34 → ngstrefftz-0.3.2402.dev35}/src/ngstrefftz.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|