xfem 2.2.2608rc2.dev5__tar.gz → 2.2.2609.dev1__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.
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/CMakeLists.txt +1 -1
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/PKG-INFO +1 -1
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/RELEASE_NOTES.md +15 -1
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/_version.py +3 -3
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/CMakeLists.txt +3 -0
- xfem-2.2.2609.dev1/tests/pytests/mpi/test_cutfem_mpi.py +96 -0
- xfem-2.2.2609.dev1/tests/pytests/test_facetpatch_coefficient.py +53 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/restrictedfespace.cpp +11 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/cutinfo.cpp +15 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/symboliccutbfi.cpp +7 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/build_docs.sh +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/build_pip.sh +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/build_pip_mac.sh +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/ci_ctests.sh +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/fix_auditwheel_policy.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/release_plan.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.ci/strip_webgl_repr.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.github/workflows/extras-workflow.yml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.github/workflows/pages.yml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.github/workflows/paper-workflow.yml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.github/workflows/pypi.yml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.gitignore +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.gitlab-ci.yml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/.gitmodules +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/Dockerfile +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/INSTALLATION.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/LICENSE +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/MANIFEST.in +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/NGSolveAddonConfig.cmake.in +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/README.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cmake_modules/check_submodules.cmake +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cmake_modules/cmake_uninstall.cmake.in +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/config.h.cmake +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoim_lapacke/lapacke.h +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoim_lapacke.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoim_wrapper.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoim_wrapper.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoimcutrule.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/algoimcutrule.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/cutintegral.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/cutintegral.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/fieldeval.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/fieldeval.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/lsetintdomain.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/lsetintdomain.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/mlsetintegration.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/mlsetintegration.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/python_cutint.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/spacetimecutrule.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/spacetimecutrule.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/straightcutrule.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/straightcutrule.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/xdecompose.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/xdecompose.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/xintegration.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/cutint/xintegration.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/README.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/aggregates/aggfem_shapetester.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/aggregates/fictdom_aggfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/aggregates/fictdom_dg_aggfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/fictdom.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/fictdom_algoim.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/fictdom_dg.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/fictdom_mlset.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/compp1prolong-playground.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/area_of_a_circle_quads.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/integrate_one_big_quad2D.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/integrate_one_big_quad3D.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/fictdom_dg3d.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/lsetcurving/integrate.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/make_uniform3D_grid.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mg_cut_poisson_p1.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mg_cut_poisson_p1p2_skinny.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mg_cut_poisson_p2.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mg_cut_poisson_p2_skinny.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mg_p1_working.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/cube.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/cube2.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/cube_codim2_test.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/even_simpler.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/multiple_triangles.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/simple.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/simple_mlcutinfo.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/simple_with_convinience.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/square.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/tensor_functions.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/test_GetOuterBoundary.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/test_draw.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/triangle.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/zalesak_disk.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/zalesak_sphere.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/p1prolong-playground.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/p2prolong-playground.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/stokesxfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/linelasticity.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/lsetcurv_boundary.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/lsetgeoms.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/moving_domain.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/mpi/mpi_nxfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/IF_circle.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/IF_marking.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/IF_periodic.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_hypersphere_ST.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_hypersphere_ST_conv.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_hypersphere_ST_conv_higher_order.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_sphere_ST.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_sphere_ST_conv.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_sphere_ST_conv_higher_order.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/fictdomain_Neumann_quad_testing.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/kite3D_in_sympy.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/kite_in_sympy.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_3D.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_3D_static.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_kite.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_kite3D.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP2_timeDGP1.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP2_timeDGP1_new.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spacePX_timeDGP1_kite.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spaceDGtimeDG_unfitted.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spaceDGtimeDG_unfitted_3D.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetimeCG_unfitted.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetimeDG_fitted.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetimeDG_fitted_Nitsche.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetimeDG_unfitted.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetime_geom_error.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/spacetime_vtk.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spdes/surfstokestracefem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/stokescutfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/tracefem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/unf_interf_prob.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/cut-quadrature.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/feature-details.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/bubble-coarse.pdf +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/cuttet-quadrature.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/cut_quadrature.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/cut_quadrature_mlset.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/cuttet.jpg +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/intpoints.jpg +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/spacetime1.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/spacetime2.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/graveyard/zdisc-cut-elements.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/lsetcurv.jpg +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/mlset.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/patches.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/spacetime.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/twophase.pdf +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/unfittedmesh.jpg +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/xfem.jpg +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/graphics/xfes.png +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/latex.template +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/lit-ngsxfem.bib +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/literature.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/literature.yaml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/make_literature.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/_static/custom.css +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/_static/literature.css +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/bullets.css +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/conf.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/contents.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/index.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/jupyter/index.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/requirements-notebooks.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/requirements.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/cut-quadrature.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/demos.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/feature-details.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/installation.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/literature.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/doc/sphinx/xfem_misc/literature_entries.rst +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/LICENSE +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/README.md +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/bernstein.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/binomial.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/booluarray.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/gaussquad.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/multiloop.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/polyset.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/quadrature_multipoly.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/real.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/sparkstack.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/tanhsinh.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/utility.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/uvector.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/external_dependencies/algoim/algoim/xarray.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/calcpointshift.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/calcpointshift.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/lsetrefine.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/lsetrefine.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/projshift.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/projshift.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/python_lsetcurving.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/shiftedevaluate.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/shiftedevaluate.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/shiftintegrators.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/lsetcurving/shiftintegrators.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/ngsolve_addon.cmake +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/pyproject.toml +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/__init__.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/config.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/cutmg.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/lset_smoothblend.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/lset_spacetime.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/lsetcurv.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/mlset.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/ngs_check.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/python_ngsxfem.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/python/utils.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/SpaceTimeFE.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/SpaceTimeFE.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/SpaceTimeFESpace.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/SpaceTimeFESpace.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/diffopDt.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/diffopDt.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/diffopFixt.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/diffopFixt.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/python_spacetime.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/spacetime_vtk.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/spacetime_vtk.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/timecf.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/spacetime/timecf.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/ngsxfem_report.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_aggregates.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_algoim.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_backuprule.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_bndcut.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_calc_linearized.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_cutmg.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_differential_symbol.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_elementlayers.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_intcurved.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_local_solve.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_localgeom.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_lsetcurv_boundary.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_memory_usage.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_mlset_integration.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_mlset_module_functionality.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_mlset_poisson.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_navier_stokes_2d1.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_ngsolve_version.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_nonlin.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_num_nxfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_nxfem.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_quadchallenges.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_shifteval.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_shifteval_simd.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_simd_cutint.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_simd_lf_blf.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_spacetime_lsetcurv.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_spacetime_set.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_spacetime_vecH1.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_spacetime_vtk.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_spacetimecutrule.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_straightcutrule.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_utils.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/tests/pytests/test_xfes_ndof.py +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/bitarraycf.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/bitarraycf.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/ngsxstd.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/ngsxstd.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/p1interpol.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/p1interpol.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/python_utils.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/restrictedblf.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/restrictedblf.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/restrictedfespace.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/spacetimechecks.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/xprolongation.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/utils/xprolongation.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/CMakeLists.txt +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/aggregates.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/aggregates.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/cutinfo.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/ghostpenalty.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/ghostpenalty.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/python_xfem.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/sFESpace.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/sFESpace.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/symboliccutbfi.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/symboliccutlfi.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/symboliccutlfi.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xFESpace.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xFESpace.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xfemdiffops.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xfemdiffops.hpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xfiniteelement.cpp +0 -0
- {xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/xfem/xfiniteelement.hpp +0 -0
|
@@ -24,7 +24,7 @@ include_directories ("${PROJECT_BINARY_DIR}")
|
|
|
24
24
|
if(SKBUILD_PROJECT_VERSION)
|
|
25
25
|
set(NGSXFEM_VERSION ${SKBUILD_PROJECT_VERSION})
|
|
26
26
|
else()
|
|
27
|
-
set(NGSXFEM_VERSION "2.2.
|
|
27
|
+
set(NGSXFEM_VERSION "2.2.2609.dev0")
|
|
28
28
|
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/python/_version.py "__version__ = \"${NGSXFEM_VERSION}\"\n")
|
|
29
29
|
endif()
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: xfem
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2609.dev1
|
|
4
4
|
Summary: (ngs)xfem is an Add-on library to Netgen/NGSolve for unfitted/cut FEM.
|
|
5
5
|
Author-Email: Christoph Lehrenfeld <lehrenfeld@math.uni-goettingen.de>
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
-
## 2.2.
|
|
3
|
+
## 2.2.2609 (unreleased)
|
|
4
|
+
|
|
5
|
+
Requires NGSolve 6.2.2608.
|
|
6
|
+
|
|
7
|
+
## 2.2.2608
|
|
4
8
|
|
|
5
9
|
Requires NGSolve 6.2.2608.
|
|
6
10
|
|
|
@@ -92,6 +96,16 @@ Requires NGSolve 6.2.2608.
|
|
|
92
96
|
- `CompoundProlongation` (used by `xfem.cutmg`, tutorial `cutmg.ipynb`): segmentation fault
|
|
93
97
|
in `Update` with NGSolve 6.2.2601 and newer.
|
|
94
98
|
|
|
99
|
+
- Ghost penalty (`dFacetPatch`) with a coefficient evaluated in the neighbour element
|
|
100
|
+
(`.Other()`): the scalar evaluation (`ngsxfemglobals.simd_eval = False`, or the
|
|
101
|
+
automatic fallback if a coefficient has no SIMD evaluation, e.g. a GridFunction on
|
|
102
|
+
another mesh) raised "other mir not set"; the fallback used undefined integration points.
|
|
103
|
+
|
|
104
|
+
- MPI: `GetDofsOfElements`, `GetDofsOfFacets` and `Restrict` mark a dof on a subdomain
|
|
105
|
+
interface on all ranks if it is marked on one of them. Before, CutFEM with MPI could
|
|
106
|
+
give wrong results or crash (seen in 3D). Facet terms across subdomain interfaces (ghost
|
|
107
|
+
penalty) still need support from NGSolve.
|
|
108
|
+
|
|
95
109
|
## 2.1.2608
|
|
96
110
|
|
|
97
111
|
Requires NGSolve 6.2.2608.
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 2,
|
|
21
|
+
__version__ = version = '2.2.2609.dev1'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 2, 2609, 'dev1')
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'gbccbf0420'
|
|
@@ -47,6 +47,9 @@ add_test(NAME pytests_simd_lfblf COMMAND ${NETGEN_PYTHON_EXECUTABLE} -m pytest
|
|
|
47
47
|
add_test(NAME pytests_simd_cutint COMMAND ${NETGEN_PYTHON_EXECUTABLE} -m pytest
|
|
48
48
|
"${PROJECT_SOURCE_DIR}/tests/pytests/test_simd_cutint.py" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/tests")
|
|
49
49
|
|
|
50
|
+
add_test(NAME pytests_facetpatch_coefficient COMMAND ${NETGEN_PYTHON_EXECUTABLE} -m pytest
|
|
51
|
+
"${PROJECT_SOURCE_DIR}/tests/pytests/test_facetpatch_coefficient.py" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/tests")
|
|
52
|
+
|
|
50
53
|
add_test(NAME pytests_xfes_ndof COMMAND ${NETGEN_PYTHON_EXECUTABLE} -m pytest
|
|
51
54
|
"${PROJECT_SOURCE_DIR}/tests/pytests/test_xfes_ndof.py" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/tests")
|
|
52
55
|
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# CutFEM with MPI (without facet terms): the active dofs of Compress and Restrict are
|
|
2
|
+
# consistent across the ranks, the operator and the solution do not depend on the
|
|
3
|
+
# partition. Every rank also computes the sequential reference.
|
|
4
|
+
# Run with mpirun -np N python3 -m pytest test_cutfem_mpi.py (N = 2, 3, 4, ...)
|
|
5
|
+
import pickle
|
|
6
|
+
|
|
7
|
+
import pytest
|
|
8
|
+
mpi = pytest.importorskip("mpi4py.MPI")
|
|
9
|
+
import netgen.meshing
|
|
10
|
+
from netgen.geom2d import unit_square
|
|
11
|
+
from netgen.csg import unit_cube
|
|
12
|
+
from ngsolve import *
|
|
13
|
+
from pyngcore import MPI_Comm
|
|
14
|
+
from xfem import *
|
|
15
|
+
from xfem.lsetcurv import LevelSetMeshAdaptation
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def maxh(dim):
|
|
19
|
+
return 0.1 if dim == 2 else 0.25
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def meshes(dim):
|
|
23
|
+
comm = MPI_Comm(mpi.COMM_WORLD)
|
|
24
|
+
geo = unit_square if dim == 2 else unit_cube
|
|
25
|
+
ngmesh = geo.GenerateMesh(maxh=maxh(dim)) if comm.rank == 0 else None
|
|
26
|
+
seq = Mesh(mpi.COMM_WORLD.bcast(ngmesh))
|
|
27
|
+
if comm.size == 1:
|
|
28
|
+
par = Mesh(ngmesh)
|
|
29
|
+
elif comm.rank == 0:
|
|
30
|
+
par = Mesh(pickle.loads(pickle.dumps(ngmesh)).Distribute(comm))
|
|
31
|
+
else:
|
|
32
|
+
par = Mesh(netgen.meshing.Mesh.Receive(comm))
|
|
33
|
+
return seq, par
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def quantities(mesh, order, deform, restrict):
|
|
37
|
+
dim = mesh.dim
|
|
38
|
+
levelset = sqrt((x - 0.5)**2 + (y - 0.5)**2
|
|
39
|
+
+ ((z - 0.5)**2 if dim == 3 else 0)) - 0.31
|
|
40
|
+
if deform:
|
|
41
|
+
lsetadap = LevelSetMeshAdaptation(mesh, order=order, threshold=1000,
|
|
42
|
+
discontinuous_qn=True)
|
|
43
|
+
deformation = lsetadap.CalcDeformation(levelset)
|
|
44
|
+
lsetp1 = lsetadap.lset_p1
|
|
45
|
+
else:
|
|
46
|
+
deformation = None
|
|
47
|
+
lsetp1 = GridFunction(H1(mesh, order=1))
|
|
48
|
+
InterpolateToP1(levelset, lsetp1)
|
|
49
|
+
|
|
50
|
+
ci = CutInfo(mesh, lsetp1)
|
|
51
|
+
hasneg = ci.GetElementsOfType(HASNEG)
|
|
52
|
+
hasif = ci.GetElementsOfType(IF)
|
|
53
|
+
|
|
54
|
+
Vhbase = H1(mesh, order=order)
|
|
55
|
+
if restrict:
|
|
56
|
+
Vh = Restrict(Vhbase, hasneg)
|
|
57
|
+
else:
|
|
58
|
+
Vh = Compress(Vhbase, GetDofsOfElements(Vhbase, hasneg))
|
|
59
|
+
u, v = Vh.TnT()
|
|
60
|
+
h = specialcf.mesh_size
|
|
61
|
+
nl = Normalize(grad(lsetp1))
|
|
62
|
+
dxc = dCut(lsetp1, NEG, definedonelements=hasneg, deformation=deformation)
|
|
63
|
+
dsc = dCut(lsetp1, IF, definedonelements=hasif, deformation=deformation)
|
|
64
|
+
|
|
65
|
+
lam = 10 * order**2
|
|
66
|
+
a = BilinearForm(Vh, symmetric=False)
|
|
67
|
+
a += grad(u) * grad(v) * dxc
|
|
68
|
+
a += (-grad(u) * nl * v - grad(v) * nl * u + lam / h * u * v) * dsc
|
|
69
|
+
# instead of a ghost penalty (which needs facet terms across the ranks)
|
|
70
|
+
a += 1e-3 * u * v * dx(definedonelements=hasneg)
|
|
71
|
+
f = LinearForm(Vh)
|
|
72
|
+
f += v * dxc
|
|
73
|
+
a.Assemble()
|
|
74
|
+
f.Assemble()
|
|
75
|
+
|
|
76
|
+
gfu = GridFunction(Vh)
|
|
77
|
+
if mesh.comm.size > 1:
|
|
78
|
+
inv = a.mat.Inverse(Vh.FreeDofs(), inverse="masterinverse")
|
|
79
|
+
else:
|
|
80
|
+
inv = a.mat.Inverse(Vh.FreeDofs())
|
|
81
|
+
gfu.vec.data = inv * f.vec
|
|
82
|
+
w = GridFunction(Vh)
|
|
83
|
+
w.Set(x * x + y)
|
|
84
|
+
tmp = w.vec.CreateVector()
|
|
85
|
+
tmp.data = a.mat * w.vec
|
|
86
|
+
return [Vh.ndofglobal, InnerProduct(tmp, w.vec), InnerProduct(gfu.vec, f.vec)]
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@pytest.mark.parametrize("dim,deform", [(2, False), (2, True), (3, False)])
|
|
90
|
+
@pytest.mark.parametrize("restrict", [False, True])
|
|
91
|
+
def test_cutfem_partition_independent(dim, deform, restrict):
|
|
92
|
+
order = 2
|
|
93
|
+
seq, par = (quantities(m, order, deform, restrict) for m in meshes(dim))
|
|
94
|
+
assert seq[0] == par[0], (seq, par)
|
|
95
|
+
for s, p in zip(seq[1:], par[1:]):
|
|
96
|
+
assert abs(s - p) <= 1e-10 * abs(s), (seq, par)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Ghost penalty (dFacetPatch) with a coefficient which is evaluated in both elements of the
|
|
3
|
+
patch (.Other()): the scalar evaluation (ngsxfemglobals.simd_eval = False) and the fallback
|
|
4
|
+
from the SIMD to the scalar evaluation (a GridFunction on another mesh has no SIMD
|
|
5
|
+
evaluation) give the same matrix as the SIMD evaluation.
|
|
6
|
+
"""
|
|
7
|
+
import random
|
|
8
|
+
|
|
9
|
+
import pytest
|
|
10
|
+
from ngsolve import *
|
|
11
|
+
from ngsolve.meshes import MakeStructured2DMesh
|
|
12
|
+
from xfem import *
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def energies(kappa_on_other_mesh):
|
|
16
|
+
mesh = MakeStructured2DMesh(quads=False, nx=12, ny=12)
|
|
17
|
+
lsetp1 = GridFunction(H1(mesh, order=1))
|
|
18
|
+
InterpolateToP1(sqrt((x - 0.5)**2 + (y - 0.5)**2) - 0.31, lsetp1)
|
|
19
|
+
ci = CutInfo(mesh, lsetp1)
|
|
20
|
+
gpfacets = GetFacetsWithNeighborTypes(mesh, a=ci.GetElementsOfType(HASNEG),
|
|
21
|
+
b=ci.GetElementsOfType(IF))
|
|
22
|
+
kmesh = MakeStructured2DMesh(quads=False, nx=7, ny=7) if kappa_on_other_mesh else mesh
|
|
23
|
+
kappa = GridFunction(H1(kmesh, order=1))
|
|
24
|
+
kappa.Set(1 + x * y)
|
|
25
|
+
|
|
26
|
+
Vh = H1(mesh, order=2, dgjumps=True)
|
|
27
|
+
u, v = Vh.TnT()
|
|
28
|
+
w = GridFunction(Vh)
|
|
29
|
+
random.seed(1)
|
|
30
|
+
for i in range(len(w.vec)):
|
|
31
|
+
w.vec[i] = random.random()
|
|
32
|
+
tmp = w.vec.CreateVector()
|
|
33
|
+
|
|
34
|
+
result = []
|
|
35
|
+
for simd in [True, False]:
|
|
36
|
+
ngsxfemglobals.simd_eval = simd
|
|
37
|
+
try:
|
|
38
|
+
a = BilinearForm(Vh)
|
|
39
|
+
a += 0.5 * (kappa + kappa.Other()) * (u - u.Other()) * (v - v.Other()) \
|
|
40
|
+
* dFacetPatch(definedonelements=gpfacets)
|
|
41
|
+
a.Assemble()
|
|
42
|
+
finally:
|
|
43
|
+
ngsxfemglobals.simd_eval = True
|
|
44
|
+
tmp.data = a.mat * w.vec
|
|
45
|
+
result.append(InnerProduct(tmp, w.vec))
|
|
46
|
+
return result
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@pytest.mark.parametrize("kappa_on_other_mesh", [False, True])
|
|
50
|
+
def test_facetpatch_coefficient_other(kappa_on_other_mesh):
|
|
51
|
+
e_simd, e_scalar = energies(kappa_on_other_mesh)
|
|
52
|
+
assert e_simd > 0
|
|
53
|
+
assert abs(e_simd - e_scalar) < 1e-12 * e_simd
|
|
@@ -47,6 +47,17 @@ namespace ngcomp
|
|
|
47
47
|
}
|
|
48
48
|
else
|
|
49
49
|
active_dofs->Set();
|
|
50
|
+
|
|
51
|
+
// MPI: a dof is active if it is active on some rank
|
|
52
|
+
if (auto pardofs = space->GetParallelDofs())
|
|
53
|
+
{
|
|
54
|
+
Array<int> active(ndof);
|
|
55
|
+
for (int i : Range(ndof))
|
|
56
|
+
active[i] = active_dofs->Test(i);
|
|
57
|
+
pardofs->AllReduceDofData (active, NG_MPI_MAX);
|
|
58
|
+
for (int i : Range(ndof))
|
|
59
|
+
if (active[i]) active_dofs->SetBit(i);
|
|
60
|
+
}
|
|
50
61
|
CompressedFESpace::Update();
|
|
51
62
|
}
|
|
52
63
|
|
|
@@ -613,6 +613,19 @@ namespace ngcomp
|
|
|
613
613
|
return ret;
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
+
// MPI: a dof is marked if it is marked on some rank. Collective.
|
|
617
|
+
static void ConsistentDofs (const FESpace & fes, BitArray & dofs)
|
|
618
|
+
{
|
|
619
|
+
auto pardofs = fes.GetParallelDofs();
|
|
620
|
+
if (!pardofs) return;
|
|
621
|
+
Array<int> marked(dofs.Size());
|
|
622
|
+
for (size_t i : Range(marked))
|
|
623
|
+
marked[i] = dofs.Test(i);
|
|
624
|
+
pardofs->AllReduceDofData (marked, NG_MPI_MAX);
|
|
625
|
+
for (size_t i : Range(marked))
|
|
626
|
+
if (marked[i]) dofs.SetBit(i);
|
|
627
|
+
}
|
|
628
|
+
|
|
616
629
|
shared_ptr<BitArray> GetDofsOfElements(shared_ptr<FESpace> fes,
|
|
617
630
|
shared_ptr<BitArray> a,
|
|
618
631
|
LocalHeap & lh)
|
|
@@ -635,6 +648,7 @@ namespace ngcomp
|
|
|
635
648
|
ret->SetBitAtomic(dof);
|
|
636
649
|
}
|
|
637
650
|
});
|
|
651
|
+
ConsistentDofs (*fes, *ret);
|
|
638
652
|
return ret;
|
|
639
653
|
}
|
|
640
654
|
|
|
@@ -660,6 +674,7 @@ namespace ngcomp
|
|
|
660
674
|
ret->SetBitAtomic(dof);
|
|
661
675
|
}
|
|
662
676
|
});
|
|
677
|
+
ConsistentDofs (*fes, *ret);
|
|
663
678
|
return ret;
|
|
664
679
|
}
|
|
665
680
|
|
|
@@ -1215,6 +1215,7 @@ namespace ngfem
|
|
|
1215
1215
|
} catch (ExceptionNOSIMD e) {
|
|
1216
1216
|
cout << e.What() << endl
|
|
1217
1217
|
<< "switching to non-SIMD evaluation (in CalcFacetMatrix)" << endl;
|
|
1218
|
+
elmat = SCAL(0.0); // partly filled by the SIMD evaluation
|
|
1218
1219
|
}
|
|
1219
1220
|
}
|
|
1220
1221
|
|
|
@@ -1692,6 +1693,8 @@ namespace ngfem
|
|
|
1692
1693
|
|
|
1693
1694
|
BaseMappedIntegrationRule & mir1 = trafo1(*ir_facet_vol1, lh);
|
|
1694
1695
|
BaseMappedIntegrationRule & mir2 = trafo2(*ir_facet_vol2, lh);
|
|
1696
|
+
mir1.SetOtherMIR (&mir2); // for Other() of coefficients
|
|
1697
|
+
mir2.SetOtherMIR (&mir1);
|
|
1695
1698
|
|
|
1696
1699
|
ProxyUserData ud;
|
|
1697
1700
|
const_cast<ElementTransformation&>(trafo1).userdata = &ud;
|
|
@@ -2010,6 +2013,7 @@ namespace ngfem
|
|
|
2010
2013
|
for (int l = 0; l < n; l++) {
|
|
2011
2014
|
int packet = l / sw;
|
|
2012
2015
|
int lane = l % sw;
|
|
2016
|
+
ir_to[l] = IntegrationPoint(); // a volume point (ir_to is not initialized)
|
|
2013
2017
|
for (int d = 0; d < D; d++)
|
|
2014
2018
|
ir_to[l](d) = simd_ir_to[packet](d)[lane];
|
|
2015
2019
|
ir_to[l].SetWeight(simd_mir_from[packet].GetWeight()[lane]
|
|
@@ -2333,12 +2337,15 @@ namespace ngfem
|
|
|
2333
2337
|
} catch (ExceptionNOSIMD e) {
|
|
2334
2338
|
cout << IM(6) << e.What() << endl
|
|
2335
2339
|
<< "switching to non-SIMD evaluation (in T_CalcFacetMatrix)" << endl;
|
|
2340
|
+
elmat = 0.0; // partly filled by the SIMD evaluation
|
|
2336
2341
|
}
|
|
2337
2342
|
}
|
|
2338
2343
|
|
|
2339
2344
|
// non-SIMD case
|
|
2340
2345
|
BaseMappedIntegrationRule & mir1 = trafo1(*ir1, lh);
|
|
2341
2346
|
BaseMappedIntegrationRule & mir2 = trafo2(*ir2, lh);
|
|
2347
|
+
mir1.SetOtherMIR (&mir2); // for Other() of coefficients, as in the SIMD case
|
|
2348
|
+
mir2.SetOtherMIR (&mir1);
|
|
2342
2349
|
|
|
2343
2350
|
for (int k1 : Range(trial_proxies))
|
|
2344
2351
|
for (int l1 : Range(test_proxies))
|
|
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
|
|
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
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/area_of_a_circle_quads.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/integrate_one_big_quad2D.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/cutint/integrate_one_big_quad3D.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
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/graveyard/mlset/simple_with_convinience.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
|
|
File without changes
|
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_hypersphere_ST.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_sphere_ST.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/area_of_a_sphere_ST_conv.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_3D.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_3D_static.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_kite.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP1_timeDGP1_kite3D.py
RENAMED
|
File without changes
|
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spaceP2_timeDGP1_new.py
RENAMED
|
File without changes
|
{xfem-2.2.2608rc2.dev5 → xfem-2.2.2609.dev1}/demos/spacetime/graveyard/spacePX_timeDGP1_kite.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
|