virtual-casing 0.1.1__tar.gz → 0.2.2__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.
- virtual_casing-0.2.2/.github/workflows/test.yml +143 -0
- virtual_casing-0.2.2/.github/workflows/wheel.yml +129 -0
- virtual_casing-0.2.2/.gitignore +14 -0
- virtual_casing-0.2.2/.gitmodules +6 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/CMakeLists.txt +50 -69
- virtual_casing-0.2.2/LICENSE +201 -0
- virtual_casing-0.2.2/MANIFEST.in +9 -0
- virtual_casing-0.2.2/Makefile +105 -0
- virtual_casing-0.2.2/PKG-INFO +70 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/README.md +15 -6
- virtual_casing-0.2.2/extern/BIEST/.clang-format +38 -0
- virtual_casing-0.2.2/extern/BIEST/.gitignore +10 -0
- virtual_casing-0.2.2/extern/BIEST/.gitmodules +3 -0
- virtual_casing-0.2.2/extern/BIEST/LICENSE +201 -0
- virtual_casing-0.2.2/extern/BIEST/Makefile +97 -0
- virtual_casing-0.2.2/extern/BIEST/README.md +6 -0
- virtual_casing-0.2.2/extern/BIEST/applications/virtual-casing/BetaScan_run_20.Bxyz.txt +4097 -0
- virtual_casing-0.2.2/extern/BIEST/applications/virtual-casing/Makefile +40 -0
- virtual_casing-0.2.2/extern/BIEST/applications/virtual-casing/ellipse.coils +6454 -0
- virtual_casing-0.2.2/extern/BIEST/applications/virtual-casing/virtual-casing.cpp +450 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.clang-format +36 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.gitattributes +1 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.github/workflows/build-test.yml +82 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.github/workflows/codecov.yml +36 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.gitignore +9 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/.readthedocs.yaml +32 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/LICENSE +201 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/Makefile +156 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/README.md +112 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/Doxyfile +2850 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/Makefile +19 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/ackn.rst +8 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/conf.py +209 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/boundary_integral.rst +83 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/boundary_quadrature.rst +8 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/cheb_utils.rst +8 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/comm.rst +105 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/common.rst +86 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/fft_wrapper.rst +41 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/fmm-wrapper.rst +46 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/generic-kernel.rst +40 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/index.rst +55 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/iterator.rst +100 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/kernel_functions.rst +36 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/lagrange-interp.rst +32 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/lin-solve.rst +71 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/mat_utils.rst +8 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/math_utils.rst +87 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/matrix.rst +81 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/mem_mgr.rst +37 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/morton.rst +45 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/ode-solver.rst +44 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/ompUtils.rst +44 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/permutation.rst +65 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/profile.rst +57 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/quadrule.rst +58 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/scratch_pool.rst +81 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/sph_harm.rst +8 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/stacktrace.rst +16 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/static-array.rst +54 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/tensor.rst +71 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/tree.rst +90 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/vec.rst +71 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/vector.rst +95 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/doxygen/vtudata.rst +42 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/index.rst +168 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/requirements.txt +5 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/boundaryintegralop.rst +124 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/comm.rst +120 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/fft.rst +119 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/fmm.rst +108 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/gmres-rsult.txt +36 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/gmres.rst +147 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/index.rst +91 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/interp-quadrule.rst +66 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/kernels.rst +86 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/lagrange-interp.rst +117 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/matrix.rst +52 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/permutation.rst +39 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/profile.rst +85 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/sdc.rst +71 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/tensor.rst +75 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/tree.rst +171 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/vec.rst +120 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/vector.rst +72 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/doc/tutorial/vtudata.rst +86 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/boundary_integral.hpp +129 -26
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/boundary_integral.txx +436 -201
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/boundary_quadrature.hpp +102 -7
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/comm.hpp +649 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/comm.txx +2303 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/common.hpp +52 -28
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/experimental/quad_element.cpp +498 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/experimental/quad_element.hpp +190 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/fft_wrapper.hpp +134 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/fft_wrapper.txx +1241 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/fmm-wrapper.hpp +47 -2
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/fmm-wrapper.txx +171 -69
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/generic-kernel.hpp +0 -11
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/generic-kernel.txx +42 -20
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/intrin-wrapper.hpp +15 -17
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/iterator.hpp +6 -14
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/iterator.txx +0 -17
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/kernel_functions.hpp +688 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/lagrange-interp.hpp +14 -4
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/lagrange-interp.txx +45 -11
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/lin-solve.hpp +48 -3
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/lin-solve.txx +151 -65
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/mat_utils.hpp +1 -1
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/mat_utils.txx +7 -7
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/math_utils.hpp +45 -24
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/math_utils.txx +31 -8
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/matrix.hpp +54 -24
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/matrix.txx +66 -29
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/mem_mgr.hpp +7 -5
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/mem_mgr.txx +50 -19
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/morton.hpp +321 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/morton.txx +545 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/ode-solver.hpp +16 -11
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/ode-solver.txx +77 -68
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/ompUtils.hpp +196 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/ompUtils.txx +384 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/permutation.hpp +18 -9
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/permutation.txx +2 -2
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/profile.txx +20 -10
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/quadrule.hpp +4 -1
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/quadrule.txx +13 -13
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/scratch_pool.hpp +143 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/scratch_pool.txx +249 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/sph_harm.hpp +63 -1
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/sph_harm.txx +464 -316
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/stacktrace.h +211 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/tensor.hpp +35 -19
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/tensor.txx +22 -4
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/tree.hpp +26 -24
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/include/sctl/tree.txx +1871 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vec-test.hpp +2 -2
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vec.hpp +5 -8
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vec.txx +1 -3
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vector.hpp +72 -24
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vector.txx +65 -19
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vtudata.hpp +4 -11
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/vtudata.txx +0 -99
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl.hpp +5 -4
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-boundary_integral.cpp +96 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-cheb_utils.cpp +129 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-comm.cpp +359 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-fft-fallback.cpp +461 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-fft.cpp +11 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-fmm.cpp +12 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-generic-kernel.cpp +106 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-gmres.cpp +10 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-intrin-wrapper.cpp +128 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-iterator.cpp +186 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-kernel_functions.cpp +529 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-lagrange-interp.cpp +123 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-linear-solver.cpp +62 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-mat_utils.cpp +115 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-math_utils.cpp +216 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-matrix.cpp +267 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-mem_mgr.cpp +139 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-morton.cpp +248 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-ode-solver.cpp +34 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-ompUtils.cpp +177 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-permutation.cpp +156 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-profile.cpp +114 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-pt-tree.cpp +10 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-quad-elem.cpp +95 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-quadrule.cpp +14 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-scratch-pool-perf.cpp +291 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-scratch-pool.cpp +133 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-sph-harm.cpp +7 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-static-array.cpp +124 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-tensor.cpp +11 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-utils.hpp +45 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-vec.cpp +6 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-vector.cpp +268 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test-vtudata.cpp +95 -0
- virtual_casing-0.2.2/extern/BIEST/extern/SCTL/src/test.cpp +86 -0
- virtual_casing-0.2.2/extern/BIEST/geom/LHD-X.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/LHD-Y.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/LHD-Z.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/NCSX +139 -0
- virtual_casing-0.2.2/extern/BIEST/geom/Quas3-X.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/Quas3-Y.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/Quas3-Z.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/W7X-X.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/W7X-Y.mat +0 -0
- virtual_casing-0.2.2/extern/BIEST/geom/W7X-Z.mat +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/bie_solvers.txx +39 -38
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/boundary_integ_op.txx +12 -22
- virtual_casing-0.2.2/extern/BIEST/include/biest/kernel.hpp +420 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/surface.txx +4 -4
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/surface_op.hpp +4 -1
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/surface_op.txx +75 -82
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/vacuum-field.hpp +2 -2
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/vacuum-field.txx +31 -7
- virtual_casing-0.2.2/extern/BIEST/src/double-layer-convergence.cpp +111 -0
- virtual_casing-0.2.2/extern/BIEST/src/example1.cpp +197 -0
- virtual_casing-0.2.2/extern/BIEST/src/force-free-fields-example.cpp +59 -0
- virtual_casing-0.2.2/extern/BIEST/src/quadrature-example.cpp +48 -0
- virtual_casing-0.2.2/extern/BIEST/src/table1.cpp +135 -0
- virtual_casing-0.2.2/extern/BIEST/src/table3.cpp +88 -0
- virtual_casing-0.2.2/extern/BIEST/src/table4.cpp +76 -0
- virtual_casing-0.2.2/extern/BIEST/src/table5.cpp +92 -0
- virtual_casing-0.2.2/extern/BIEST/src/table6.cpp +48 -0
- virtual_casing-0.2.2/extern/BIEST/src/table7.cpp +189 -0
- virtual_casing-0.2.2/extern/BIEST/src/virtual-casing-principle.cpp +770 -0
- virtual_casing-0.2.2/extern/SCTL/.clang-format +36 -0
- virtual_casing-0.2.2/extern/SCTL/.gitattributes +1 -0
- virtual_casing-0.2.2/extern/SCTL/.github/workflows/build-test.yml +82 -0
- virtual_casing-0.2.2/extern/SCTL/.github/workflows/codecov.yml +36 -0
- virtual_casing-0.2.2/extern/SCTL/.gitignore +9 -0
- virtual_casing-0.2.2/extern/SCTL/.readthedocs.yaml +32 -0
- virtual_casing-0.2.2/extern/SCTL/LICENSE +201 -0
- virtual_casing-0.2.2/extern/SCTL/Makefile +156 -0
- virtual_casing-0.2.2/extern/SCTL/README.md +112 -0
- virtual_casing-0.2.2/extern/SCTL/doc/Doxyfile +2850 -0
- virtual_casing-0.2.2/extern/SCTL/doc/Makefile +19 -0
- virtual_casing-0.2.2/extern/SCTL/doc/ackn.rst +8 -0
- virtual_casing-0.2.2/extern/SCTL/doc/conf.py +209 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/boundary_integral.rst +83 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/boundary_quadrature.rst +8 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/cheb_utils.rst +8 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/comm.rst +105 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/common.rst +86 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/fft_wrapper.rst +41 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/fmm-wrapper.rst +46 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/generic-kernel.rst +40 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/index.rst +55 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/iterator.rst +100 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/kernel_functions.rst +36 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/lagrange-interp.rst +32 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/lin-solve.rst +71 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/mat_utils.rst +8 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/math_utils.rst +87 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/matrix.rst +81 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/mem_mgr.rst +37 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/morton.rst +45 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/ode-solver.rst +44 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/ompUtils.rst +44 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/permutation.rst +65 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/profile.rst +57 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/quadrule.rst +58 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/scratch_pool.rst +81 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/sph_harm.rst +8 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/stacktrace.rst +16 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/static-array.rst +54 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/tensor.rst +71 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/tree.rst +90 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/vec.rst +71 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/vector.rst +95 -0
- virtual_casing-0.2.2/extern/SCTL/doc/doxygen/vtudata.rst +42 -0
- virtual_casing-0.2.2/extern/SCTL/doc/index.rst +168 -0
- virtual_casing-0.2.2/extern/SCTL/doc/requirements.txt +5 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/boundaryintegralop.rst +124 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/comm.rst +120 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/fft.rst +119 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/fmm.rst +108 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/gmres-rsult.txt +36 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/gmres.rst +147 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/index.rst +91 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/interp-quadrule.rst +66 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/kernels.rst +86 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/lagrange-interp.rst +117 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/matrix.rst +52 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/permutation.rst +39 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/profile.rst +85 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/sdc.rst +71 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/tensor.rst +75 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/tree.rst +171 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/vec.rst +120 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/vector.rst +72 -0
- virtual_casing-0.2.2/extern/SCTL/doc/tutorial/vtudata.rst +86 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/blas.h +21 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/boundary_integral.hpp +517 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/boundary_integral.txx +1381 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/boundary_quadrature.hpp +1907 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/cheb_utils.hpp +1384 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/comm.hpp +649 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/comm.txx +2303 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/common.hpp +121 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/experimental/quad_element.cpp +498 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/experimental/quad_element.hpp +190 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/fft_wrapper.hpp +134 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/fft_wrapper.txx +1241 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/fmm-wrapper.hpp +239 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/fmm-wrapper.txx +1038 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/generic-kernel.hpp +144 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/generic-kernel.txx +337 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/intrin-wrapper.hpp +3083 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/iterator.hpp +418 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/iterator.txx +268 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/kernel_functions.hpp +688 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/lagrange-interp.hpp +60 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/lagrange-interp.txx +176 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/lapack.h +23 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/lin-solve.hpp +161 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/lin-solve.txx +532 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/mat_utils.hpp +22 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/mat_utils.txx +518 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/math_utils.hpp +545 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/math_utils.txx +503 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/matrix.hpp +463 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/matrix.txx +601 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/mem_mgr.hpp +130 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/mem_mgr.txx +538 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/morton.hpp +321 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/morton.txx +545 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/ode-solver.hpp +134 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/ode-solver.txx +319 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/ompUtils.hpp +196 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/ompUtils.txx +384 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/permutation.hpp +162 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/permutation.txx +147 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/profile.hpp +206 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/profile.txx +558 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/quadrule.hpp +201 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/quadrule.txx +592 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/scratch_pool.hpp +143 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/scratch_pool.txx +249 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/sph_harm.hpp +330 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/sph_harm.txx +3836 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/sse2neon.h +9289 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/stacktrace.h +211 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/static-array.hpp +230 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/static-array.txx +108 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/tensor.hpp +297 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/tensor.txx +337 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/tree.hpp +298 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/tree.txx +1871 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vec-test.hpp +457 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vec.hpp +397 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vec.txx +420 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vector.hpp +436 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vector.txx +437 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vtudata.hpp +54 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl/vtudata.txx +205 -0
- virtual_casing-0.2.2/extern/SCTL/include/sctl.hpp +109 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-boundary_integral.cpp +96 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-cheb_utils.cpp +129 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-comm.cpp +359 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-fft-fallback.cpp +461 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-fft.cpp +11 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-fmm.cpp +12 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-generic-kernel.cpp +106 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-gmres.cpp +10 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-intrin-wrapper.cpp +128 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-iterator.cpp +186 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-kernel_functions.cpp +529 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-lagrange-interp.cpp +123 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-linear-solver.cpp +62 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-mat_utils.cpp +115 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-math_utils.cpp +216 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-matrix.cpp +267 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-mem_mgr.cpp +139 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-morton.cpp +248 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-ode-solver.cpp +34 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-ompUtils.cpp +177 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-permutation.cpp +156 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-profile.cpp +114 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-pt-tree.cpp +10 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-quad-elem.cpp +95 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-quadrule.cpp +14 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-scratch-pool-perf.cpp +291 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-scratch-pool.cpp +133 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-sph-harm.cpp +7 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-static-array.cpp +124 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-tensor.cpp +11 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-utils.hpp +45 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-vec.cpp +6 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-vector.cpp +268 -0
- virtual_casing-0.2.2/extern/SCTL/src/test-vtudata.cpp +95 -0
- virtual_casing-0.2.2/extern/SCTL/src/test.cpp +86 -0
- virtual_casing-0.2.2/include/virtual-casing.h +161 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/include/virtual-casing.hpp +110 -16
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/include/virtual-casing.txx +120 -74
- virtual_casing-0.2.2/pyproject.toml +54 -0
- virtual_casing-0.2.2/src/__init__.py +46 -0
- virtual_casing-0.2.2/src/__init__.pyi +23 -0
- virtual_casing-0.2.2/src/_vc_baseline.pyi +365 -0
- virtual_casing-0.2.2/src/cpu_features.cpp +36 -0
- virtual_casing-0.2.2/src/py.typed +0 -0
- virtual_casing-0.2.2/src/python.cpp +318 -0
- virtual_casing-0.2.2/src/virtual-casing.cpp +75 -0
- virtual_casing-0.2.2/test/axisymm.cpp +86 -0
- virtual_casing-0.2.2/test/check_isa.py +43 -0
- virtual_casing-0.2.2/test/virtual-casing-c.c +71 -0
- virtual_casing-0.2.2/test/virtual-casing.cpp +146 -0
- virtual_casing-0.1.1/MANIFEST.in +0 -11
- virtual_casing-0.1.1/PKG-INFO +0 -11
- virtual_casing-0.1.1/extern/BIEST/include/biest/kernel.hpp +0 -1153
- virtual_casing-0.1.1/extern/SCTL/include/sctl/comm.hpp +0 -445
- virtual_casing-0.1.1/extern/SCTL/include/sctl/comm.txx +0 -1352
- virtual_casing-0.1.1/extern/SCTL/include/sctl/complex.hpp +0 -164
- virtual_casing-0.1.1/extern/SCTL/include/sctl/complex.txx +0 -148
- virtual_casing-0.1.1/extern/SCTL/include/sctl/fft_wrapper.hpp +0 -96
- virtual_casing-0.1.1/extern/SCTL/include/sctl/fft_wrapper.txx +0 -553
- virtual_casing-0.1.1/extern/SCTL/include/sctl/kernel_functions.hpp +0 -218
- virtual_casing-0.1.1/extern/SCTL/include/sctl/morton.hpp +0 -223
- virtual_casing-0.1.1/extern/SCTL/include/sctl/morton.txx +0 -235
- virtual_casing-0.1.1/extern/SCTL/include/sctl/ompUtils.hpp +0 -79
- virtual_casing-0.1.1/extern/SCTL/include/sctl/ompUtils.txx +0 -200
- virtual_casing-0.1.1/extern/SCTL/include/sctl/stacktrace.h +0 -135
- virtual_casing-0.1.1/extern/SCTL/include/sctl/tree.txx +0 -1134
- virtual_casing-0.1.1/extern/pybind11/CMakeLists.txt +0 -345
- virtual_casing-0.1.1/extern/pybind11/LICENSE +0 -29
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/attr.h +0 -690
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/buffer_info.h +0 -208
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/cast.h +0 -1899
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/chrono.h +0 -225
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/common.h +0 -2
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/complex.h +0 -74
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/conduit/README.txt +0 -15
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +0 -111
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +0 -87
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/conduit/wrap_include_python_h.h +0 -72
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/class.h +0 -824
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/common.h +0 -1260
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/cpp_conduit.h +0 -77
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/descr.h +0 -188
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/exception_translation.h +0 -71
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/init.h +0 -436
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/internals.h +0 -725
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/type_caster_base.h +0 -1234
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/typeid.h +0 -65
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/detail/value_and_holder.h +0 -77
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/eigen/common.h +0 -9
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/eigen/matrix.h +0 -715
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/eigen/tensor.h +0 -515
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/eigen.h +0 -12
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/embed.h +0 -303
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/eval.h +0 -156
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/functional.h +0 -149
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/gil.h +0 -215
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/gil_safe_call_once.h +0 -102
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/iostream.h +0 -265
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/numpy.h +0 -2232
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/operators.h +0 -202
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/options.h +0 -92
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/pybind11.h +0 -3085
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/pytypes.h +0 -2655
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/stl/filesystem.h +0 -124
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/stl.h +0 -648
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/stl_bind.h +0 -858
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/type_caster_pyobject_ptr.h +0 -61
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/typing.h +0 -293
- virtual_casing-0.1.1/extern/pybind11/include/pybind11/warnings.h +0 -75
- virtual_casing-0.1.1/extern/pybind11/tests/CMakeLists.txt +0 -596
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/CMakeLists.txt +0 -86
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +0 -19
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +0 -29
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +0 -37
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +0 -38
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +0 -32
- virtual_casing-0.1.1/extern/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +0 -38
- virtual_casing-0.1.1/extern/pybind11/tests/test_embed/CMakeLists.txt +0 -56
- virtual_casing-0.1.1/extern/pybind11/tools/FindCatch.cmake +0 -76
- virtual_casing-0.1.1/extern/pybind11/tools/FindEigen3.cmake +0 -86
- virtual_casing-0.1.1/extern/pybind11/tools/FindPythonLibsNew.cmake +0 -320
- virtual_casing-0.1.1/extern/pybind11/tools/JoinPaths.cmake +0 -23
- virtual_casing-0.1.1/extern/pybind11/tools/check-style.sh +0 -44
- virtual_casing-0.1.1/extern/pybind11/tools/cmake_uninstall.cmake.in +0 -23
- virtual_casing-0.1.1/extern/pybind11/tools/codespell_ignore_lines_from_errors.py +0 -40
- virtual_casing-0.1.1/extern/pybind11/tools/libsize.py +0 -38
- virtual_casing-0.1.1/extern/pybind11/tools/make_changelog.py +0 -92
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11.pc.in +0 -7
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11Common.cmake +0 -416
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11Config.cmake.in +0 -233
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +0 -86
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11NewTools.cmake +0 -342
- virtual_casing-0.1.1/extern/pybind11/tools/pybind11Tools.cmake +0 -216
- virtual_casing-0.1.1/extern/pybind11/tools/pyproject.toml +0 -3
- virtual_casing-0.1.1/extern/pybind11/tools/setup_global.py.in +0 -66
- virtual_casing-0.1.1/extern/pybind11/tools/setup_main.py.in +0 -46
- virtual_casing-0.1.1/extern/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +0 -161
- virtual_casing-0.1.1/pyproject.toml +0 -8
- virtual_casing-0.1.1/setup.cfg +0 -4
- virtual_casing-0.1.1/setup.py +0 -134
- virtual_casing-0.1.1/src/python.cpp +0 -47
- virtual_casing-0.1.1/test/virtual-casing.cpp +0 -76
- virtual_casing-0.1.1/virtual_casing.egg-info/PKG-INFO +0 -11
- virtual_casing-0.1.1/virtual_casing.egg-info/SOURCES.txt +0 -164
- virtual_casing-0.1.1/virtual_casing.egg-info/dependency_links.txt +0 -1
- virtual_casing-0.1.1/virtual_casing.egg-info/not-zip-safe +0 -1
- virtual_casing-0.1.1/virtual_casing.egg-info/top_level.txt +0 -1
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/cmake/FindFFTW.cmake +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/blas.h +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/cheb_utils.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/lapack.h +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/profile.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/sse2neon.h +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/static-array.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2/extern/BIEST}/extern/SCTL/include/sctl/static-array.txx +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/bie_solvers.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/boundary_integ_op.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/mat.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/singular_correction.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest/surface.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/extern/BIEST/include/biest.hpp +0 -0
- {virtual_casing-0.1.1 → virtual_casing-0.2.2}/test/test.py +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# This file is based on examples in
|
|
2
|
+
# https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions
|
|
3
|
+
|
|
4
|
+
# Note that all the "sudo" commands here appear to cause a warning message
|
|
5
|
+
# "sudo: setrlimit(RLIMIT_CORE): operation not permitted"
|
|
6
|
+
# This appears to be a known harmless annoyance:
|
|
7
|
+
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/11122
|
|
8
|
+
|
|
9
|
+
name: Test
|
|
10
|
+
|
|
11
|
+
on: [push, pull_request, workflow_dispatch]
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
15
|
+
cancel-in-progress: true
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
test:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
|
|
21
|
+
env:
|
|
22
|
+
OMPI_ALLOW_RUN_AS_ROOT: 1
|
|
23
|
+
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
|
|
24
|
+
|
|
25
|
+
strategy:
|
|
26
|
+
fail-fast: false
|
|
27
|
+
matrix:
|
|
28
|
+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] # To sync with coveragerc use 3 level
|
|
29
|
+
|
|
30
|
+
steps:
|
|
31
|
+
# First print out lots of information. We do this in separate
|
|
32
|
+
# "name" blocks because otherwise the output gets mixed together
|
|
33
|
+
# in the github actions log.
|
|
34
|
+
|
|
35
|
+
- name: Print user and group id
|
|
36
|
+
run: set -ex && id
|
|
37
|
+
|
|
38
|
+
- name: PWD
|
|
39
|
+
run: set -ex && pwd
|
|
40
|
+
|
|
41
|
+
- name: ls -l
|
|
42
|
+
run: set -ex && ls -l
|
|
43
|
+
|
|
44
|
+
- name: apt-get stuff needed for compiling
|
|
45
|
+
run: |
|
|
46
|
+
sudo apt-get update
|
|
47
|
+
sudo apt-get install -y build-essential liblapack-dev git m4 libfftw3-dev libopenblas-dev
|
|
48
|
+
|
|
49
|
+
- uses: actions/checkout@v7
|
|
50
|
+
with:
|
|
51
|
+
submodules: recursive
|
|
52
|
+
fetch-depth: 0 # setuptools_scm needs the tags
|
|
53
|
+
|
|
54
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
55
|
+
uses: actions/setup-python@v7
|
|
56
|
+
with:
|
|
57
|
+
python-version: ${{ matrix.python-version }}
|
|
58
|
+
|
|
59
|
+
- name: which python after python setup
|
|
60
|
+
run: |
|
|
61
|
+
which python
|
|
62
|
+
python --version
|
|
63
|
+
|
|
64
|
+
- name: Ensure pip is installed
|
|
65
|
+
run: |
|
|
66
|
+
python -m ensurepip --upgrade
|
|
67
|
+
python -m pip install --upgrade pip
|
|
68
|
+
|
|
69
|
+
- name: Verify pip
|
|
70
|
+
run: python -m pip --version
|
|
71
|
+
|
|
72
|
+
- name: Install python dependencies
|
|
73
|
+
run: |
|
|
74
|
+
python -m pip install wheel numpy cmake ninja scipy
|
|
75
|
+
|
|
76
|
+
- name: Install virtual-casing package
|
|
77
|
+
run: python -m pip install -v .
|
|
78
|
+
|
|
79
|
+
- name: Run tests
|
|
80
|
+
run: |
|
|
81
|
+
cd test
|
|
82
|
+
python -m unittest -v test.py
|
|
83
|
+
|
|
84
|
+
# The Makefile builds the C API and the standalone binaries, which nothing
|
|
85
|
+
# else in CI covers; a link-order bug went unnoticed here for some time.
|
|
86
|
+
makefile:
|
|
87
|
+
runs-on: ubuntu-latest
|
|
88
|
+
|
|
89
|
+
steps:
|
|
90
|
+
- uses: actions/checkout@v7
|
|
91
|
+
with:
|
|
92
|
+
submodules: recursive
|
|
93
|
+
fetch-depth: 0 # setuptools_scm needs the tags
|
|
94
|
+
|
|
95
|
+
- name: apt-get stuff needed for compiling
|
|
96
|
+
run: |
|
|
97
|
+
sudo apt-get update
|
|
98
|
+
# liblapack-dev pulls a libblas.so provider, so -lblas/-llapack resolve
|
|
99
|
+
sudo apt-get install -y build-essential libfftw3-dev liblapack-dev libopenblas-dev
|
|
100
|
+
|
|
101
|
+
- name: make all
|
|
102
|
+
run: make all -j$(nproc)
|
|
103
|
+
|
|
104
|
+
- name: Run the C API test
|
|
105
|
+
run: ./bin/virtual-casing-c
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
# A stale .pyi is worse than none: type checkers report errors that are not
|
|
109
|
+
# real. Regenerate and fail if it differs from what is committed.
|
|
110
|
+
stubs:
|
|
111
|
+
runs-on: ubuntu-latest
|
|
112
|
+
|
|
113
|
+
steps:
|
|
114
|
+
- uses: actions/checkout@v7
|
|
115
|
+
with:
|
|
116
|
+
submodules: recursive
|
|
117
|
+
fetch-depth: 0 # setuptools_scm needs the tags
|
|
118
|
+
|
|
119
|
+
- name: apt-get stuff needed for compiling
|
|
120
|
+
run: |
|
|
121
|
+
sudo apt-get update
|
|
122
|
+
sudo apt-get install -y build-essential libfftw3-dev liblapack-dev libopenblas-dev
|
|
123
|
+
|
|
124
|
+
- uses: actions/setup-python@v7
|
|
125
|
+
with:
|
|
126
|
+
python-version: '3.11'
|
|
127
|
+
|
|
128
|
+
- name: Install package and stubgen
|
|
129
|
+
run: python -m pip install . "pybind11-stubgen>=2.5" mypy
|
|
130
|
+
|
|
131
|
+
- name: Regenerate stubs and compare
|
|
132
|
+
run: |
|
|
133
|
+
# force the variant being introspected: importing two of them into one
|
|
134
|
+
# process fails, since they register the same pybind11 types
|
|
135
|
+
VIRTUAL_CASING_ISA=baseline pybind11-stubgen virtual_casing._vc_baseline -o regenerated
|
|
136
|
+
# stubgen leaves trailing whitespace in docstrings; the committed copy has
|
|
137
|
+
# it stripped, so normalise before comparing
|
|
138
|
+
sed -i 's/[[:space:]]*$//' regenerated/virtual_casing/_vc_baseline.pyi
|
|
139
|
+
diff -u src/_vc_baseline.pyi regenerated/virtual_casing/_vc_baseline.pyi \
|
|
140
|
+
|| { echo "::error::src/_vc_baseline.pyi is stale; regenerate it, strip trailing whitespace, and commit"; exit 1; }
|
|
141
|
+
|
|
142
|
+
- name: Type-check the stubs themselves
|
|
143
|
+
run: python -m mypy --strict src/__init__.pyi src/_vc_baseline.pyi
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
name: Wheel Builder
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request, workflow_dispatch]
|
|
4
|
+
|
|
5
|
+
concurrency:
|
|
6
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
7
|
+
# a tag build is the one that publishes, so never cancel it
|
|
8
|
+
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build_wheels:
|
|
12
|
+
name: Build wheels on ${{ matrix.runner }} #(${{ runner.arch }})
|
|
13
|
+
runs-on: ${{ matrix.runner }}
|
|
14
|
+
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
include:
|
|
19
|
+
- runner: ubuntu-latest # x86_64
|
|
20
|
+
arch_flag: "-march=ivybridge"
|
|
21
|
+
|
|
22
|
+
- runner: macos-15 # arm64
|
|
23
|
+
deployment_target: 15
|
|
24
|
+
arch_flag: "-mcpu=apple-m1"
|
|
25
|
+
|
|
26
|
+
# every Mac that runs macOS 15 has AVX2, so ivybridge is conservative here
|
|
27
|
+
- runner: macos-15-intel # x86_64
|
|
28
|
+
deployment_target: 15
|
|
29
|
+
arch_flag: "-march=ivybridge"
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout repository
|
|
33
|
+
uses: actions/checkout@v7
|
|
34
|
+
with:
|
|
35
|
+
submodules: recursive
|
|
36
|
+
fetch-depth: 0 # setuptools_scm needs the tags
|
|
37
|
+
|
|
38
|
+
- name: Set up Python
|
|
39
|
+
uses: actions/setup-python@v7
|
|
40
|
+
with:
|
|
41
|
+
python-version: "3.x"
|
|
42
|
+
|
|
43
|
+
- name: Install cibuildwheel
|
|
44
|
+
run: python -m pip install cibuildwheel
|
|
45
|
+
|
|
46
|
+
- name: Build wheels
|
|
47
|
+
run: python -m cibuildwheel --output-dir wheelhouse
|
|
48
|
+
env:
|
|
49
|
+
CIBW_ARCHS_LINUX: x86_64
|
|
50
|
+
CIBW_ENVIRONMENT_LINUX: CI=True VC_ARCH_FLAG=${{ matrix.arch_flag }}
|
|
51
|
+
CIBW_BEFORE_ALL_LINUX: yum install -y lapack-devel openblas-devel fftw-devel
|
|
52
|
+
CIBW_BEFORE_BUILD_LINUX: python -m pip install --upgrade pip setuptools wheel numpy cmake ninja && git config --global --add safe.directory /project
|
|
53
|
+
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_28_x86_64
|
|
54
|
+
CIBW_SKIP: "*-musllinux_*"
|
|
55
|
+
CIBW_ENVIRONMENT_MACOS: CI=True VC_ARCH_FLAG=${{ matrix.arch_flag }} MACOSX_DEPLOYMENT_TARGET=${{ matrix.deployment_target }} CC=gcc-12 CXX=g++-12 # with GCC
|
|
56
|
+
#CIBW_ENVIRONMENT_MACOS: CI=True VC_ARCH_FLAG=${{ matrix.arch_flat }} MACOSX_DEPLOYMENT_TARGET=${{ matrix.deployment_target }} OpenMP_ROOT=$(brew --prefix)/opt/libomp # with Apple Clang
|
|
57
|
+
CIBW_BEFORE_ALL_MACOS: brew install fftw lapack gcc@12 libomp openblas
|
|
58
|
+
CIBW_BEFORE_BUILD_MACOS: python -m pip install --upgrade pip setuptools wheel numpy cmake ninja && git config --global --add safe.directory /project
|
|
59
|
+
CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-*
|
|
60
|
+
# exercise the repaired wheel, not the source build test.yml already covers
|
|
61
|
+
CIBW_TEST_REQUIRES: numpy scipy
|
|
62
|
+
# check_isa.py forces each variant that was built and is runnable here;
|
|
63
|
+
# arm64 builds only baseline, and v4 must not be forced without AVX-512
|
|
64
|
+
CIBW_TEST_COMMAND: >
|
|
65
|
+
python -m unittest discover -s {project}/test -p "test.py" &&
|
|
66
|
+
python {project}/test/check_isa.py
|
|
67
|
+
|
|
68
|
+
- name: Debug with tmate on failure
|
|
69
|
+
if: ${{ failure() && github.event_name == 'workflow_dispatch' }}
|
|
70
|
+
uses: mxschmitt/action-tmate@v3
|
|
71
|
+
with:
|
|
72
|
+
timeout-minutes: 15
|
|
73
|
+
|
|
74
|
+
- name: Upload wheels
|
|
75
|
+
uses: actions/upload-artifact@v7
|
|
76
|
+
with:
|
|
77
|
+
name: wheels-${{ matrix.runner }}
|
|
78
|
+
path: wheelhouse/*.whl
|
|
79
|
+
overwrite: true
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
build_sdist:
|
|
83
|
+
name: Build source distribution
|
|
84
|
+
runs-on: ubuntu-latest
|
|
85
|
+
|
|
86
|
+
steps:
|
|
87
|
+
- uses: actions/checkout@v7
|
|
88
|
+
with:
|
|
89
|
+
submodules: recursive
|
|
90
|
+
fetch-depth: 0 # setuptools_scm needs the tags
|
|
91
|
+
|
|
92
|
+
- uses: actions/setup-python@v7
|
|
93
|
+
name: Install Python
|
|
94
|
+
with:
|
|
95
|
+
python-version: '3.11'
|
|
96
|
+
|
|
97
|
+
# - name: Install setuptools_scm
|
|
98
|
+
# run: python -m pip install setuptools_scm
|
|
99
|
+
|
|
100
|
+
- name: Build sdist
|
|
101
|
+
run: |
|
|
102
|
+
pip install build
|
|
103
|
+
python -m build --sdist
|
|
104
|
+
|
|
105
|
+
- uses: actions/upload-artifact@v7
|
|
106
|
+
with:
|
|
107
|
+
name: sdist
|
|
108
|
+
path: dist/*.tar.gz
|
|
109
|
+
overwrite: true
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
upload_pypi:
|
|
113
|
+
needs: [build_wheels, build_sdist]
|
|
114
|
+
runs-on: ubuntu-latest
|
|
115
|
+
# upload to PyPI on every tag starting with 'v'
|
|
116
|
+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
|
|
117
|
+
# alternatively, to publish when a GitHub Release is created, use the following rule:
|
|
118
|
+
# if: github.event_name == 'release' && github.event.action == 'published'
|
|
119
|
+
permissions:
|
|
120
|
+
id-token: write
|
|
121
|
+
steps:
|
|
122
|
+
- uses: actions/download-artifact@v8
|
|
123
|
+
with:
|
|
124
|
+
path: dist
|
|
125
|
+
merge-multiple: true
|
|
126
|
+
|
|
127
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
128
|
+
with:
|
|
129
|
+
skip-existing: true # so a re-run after a partial upload doesn't 400
|
|
@@ -4,7 +4,7 @@ project(virtual_casing)
|
|
|
4
4
|
|
|
5
5
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
6
6
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
7
|
-
set(CMAKE_CXX_STANDARD
|
|
7
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
8
8
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
9
9
|
|
|
10
10
|
OPTION (USE_PROFILER "Activate code profiling." OFF)
|
|
@@ -27,7 +27,11 @@ if (DEFINED ENV{CONDA_BUILD})
|
|
|
27
27
|
endif ()
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
# Wheels turn this off (pyproject.toml): one N=1 dgemm, no LAPACK, ~80% of wheel size
|
|
31
|
+
option (VC_USE_BLAS "Link BLAS/LAPACK; SCTL falls back to its own routines without them" ON)
|
|
32
|
+
if (VC_USE_BLAS)
|
|
33
|
+
find_package (BLAS)
|
|
34
|
+
endif ()
|
|
31
35
|
if (BLAS_FOUND)
|
|
32
36
|
add_definitions (-DSCTL_HAVE_BLAS)
|
|
33
37
|
if (NOT ${BLA_VENDOR} MATCHES "^Intel")
|
|
@@ -41,32 +45,13 @@ if (BLAS_FOUND)
|
|
|
41
45
|
endif ()
|
|
42
46
|
|
|
43
47
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
|
44
|
-
find_package(FFTW COMPONENTS
|
|
48
|
+
find_package(FFTW COMPONENTS DOUBLE_LIB)
|
|
45
49
|
if(FFTW_DOUBLE_LIB_FOUND)
|
|
46
50
|
message(STATUS "FFTW_INCLUDE_DIR is ${FFTW_INCLUDE_DIRS}")
|
|
47
51
|
add_definitions (-DSCTL_HAVE_FFTW)
|
|
48
52
|
include_directories("${FFTW_INCLUDE_DIRS}")
|
|
49
53
|
endif()
|
|
50
|
-
|
|
51
|
-
add_definitions (-DSCTL_HAVE_FFTWF)
|
|
52
|
-
endif()
|
|
53
|
-
if (FFTW_LONGDOUBLE_LIB_FOUND)
|
|
54
|
-
add_definitions (-DSCTL_HAVE_FFTWL)
|
|
55
|
-
endif()
|
|
56
|
-
if (FFTW_FLOAT_OPENMP_FOUND)
|
|
57
|
-
add_definitions (-DSCTL_FFTWF_THREADS)
|
|
58
|
-
endif()
|
|
59
|
-
|
|
60
|
-
set(Python_FIND_STRATEGY LOCATION)
|
|
61
|
-
# find_package(Python 3 COMPONENTS Interpreter Development.Module NumPy)
|
|
62
|
-
find_package(Python 3 COMPONENTS Interpreter Development.Module)
|
|
63
|
-
|
|
64
|
-
message(STATUS "Python executable is ${Python_EXECUTABLE}")
|
|
65
|
-
message(STATUS "Python Development Module found value is ${Python_Development.Module_FOUND}")
|
|
66
|
-
message(STATUS "Python header dirs are ${Python_INCLUDE_DIRS}")
|
|
67
|
-
message(STATUS "Python library dirs are ${Python_LIBRARY_DIRS}")
|
|
68
|
-
message(STATUS "Python version is ${Python_VERSION}")
|
|
69
|
-
|
|
54
|
+
# float/long-double FFTW is never called; linking it only bloats the wheel
|
|
70
55
|
|
|
71
56
|
find_package(Git QUIET)
|
|
72
57
|
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
|
|
@@ -103,52 +88,48 @@ endif()
|
|
|
103
88
|
|
|
104
89
|
find_package(OpenMP REQUIRED)
|
|
105
90
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
#
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
if(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
91
|
+
if (SKBUILD)
|
|
92
|
+
find_package(pybind11 CONFIG REQUIRED)
|
|
93
|
+
|
|
94
|
+
# SCTL selects its vector ISA at compile time and has no runtime dispatch, so
|
|
95
|
+
# reaching AVX2/AVX-512 means compiling the extension once per level and
|
|
96
|
+
# choosing in __init__.py. AVX-512 cannot be a single-wheel target: Intel
|
|
97
|
+
# fused it off on client CPUs from Alder Lake onwards.
|
|
98
|
+
option (VC_DISPATCH "Build one extension per x86-64 instruction-set level" ON)
|
|
99
|
+
set(vc_variants baseline)
|
|
100
|
+
if (VC_DISPATCH AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64")
|
|
101
|
+
list(APPEND vc_variants v3 v4)
|
|
102
|
+
set(vc_march_v3 "-march=x86-64-v3")
|
|
103
|
+
set(vc_march_v4 "-march=x86-64-v4")
|
|
104
|
+
endif()
|
|
119
105
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
106
|
+
foreach (variant IN LISTS vc_variants)
|
|
107
|
+
set(tgt _vc_${variant})
|
|
108
|
+
pybind11_add_module(${tgt} src/python.cpp)
|
|
109
|
+
target_compile_definitions(${tgt} PRIVATE VC_MODULE_NAME=${tgt})
|
|
110
|
+
# after CMAKE_CXX_FLAGS, so this -march wins over VC_ARCH_FLAG
|
|
111
|
+
target_compile_options(${tgt} PRIVATE ${vc_march_${variant}}
|
|
112
|
+
"$<$<CXX_COMPILER_ID:PGI>:-Wc,--pending_instantiations=1000>")
|
|
113
|
+
target_include_directories(${tgt} PRIVATE "$<$<BOOL:${FFTW_DOUBLE_LIB_FOUND}>:${FFTW_INCLUDE_DIRS}>"
|
|
114
|
+
"include" "extern/SCTL/include" "extern/BIEST/include")
|
|
115
|
+
target_link_libraries(${tgt} PRIVATE "$<$<BOOL:${OpenMP_CXX_FOUND}>:OpenMP::OpenMP_CXX>"
|
|
116
|
+
"$<$<BOOL:${FFTW_DOUBLE_LIB_FOUND}>:FFTW::Double>"
|
|
117
|
+
"$<$<BOOL:${BLAS_FOUND}>:${BLAS_LIBRARIES}>" "$<$<BOOL:${LAPACK_FOUND}>:${LAPACK_LIBRARIES}>")
|
|
118
|
+
install(TARGETS ${tgt} LIBRARY DESTINATION ${PROJECT_NAME})
|
|
119
|
+
endforeach()
|
|
120
|
+
|
|
121
|
+
pybind11_add_module(_cpu src/cpu_features.cpp) # baseline: must run anywhere
|
|
122
|
+
install(TARGETS _cpu LIBRARY DESTINATION ${PROJECT_NAME})
|
|
123
|
+
# py.typed opts the package in to PEP 561; without it the stubs are ignored
|
|
124
|
+
install(FILES src/__init__.py src/__init__.pyi src/_vc_baseline.pyi src/py.typed
|
|
125
|
+
DESTINATION ${PROJECT_NAME})
|
|
130
126
|
endif()
|
|
131
|
-
if (FFTW_LONGDOUBLE_LIB_FOUND)
|
|
132
|
-
target_link_libraries (vc_testing PUBLIC FFTW::LongDouble)
|
|
133
|
-
target_link_libraries (${PROJECT_NAME} PUBLIC FFTW::LongDouble)
|
|
134
|
-
endif()
|
|
135
|
-
if (FFTW_FLOAT_OPENMP_FOUND)
|
|
136
|
-
target_link_libraries (vc_testing PUBLIC FFTW::DoubleOpenMP)
|
|
137
|
-
target_link_libraries (${PROJECT_NAME} PUBLIC FFTW::DoubleOpenMP)
|
|
138
|
-
endif()
|
|
139
|
-
if (BLAS_FOUND)
|
|
140
|
-
target_link_libraries (vc_testing PRIVATE ${BLAS_LIBRARIES})
|
|
141
|
-
target_link_libraries (${PROJECT_NAME} PRIVATE ${BLAS_LIBRARIES})
|
|
142
|
-
endif ()
|
|
143
|
-
if (LAPACK_FOUND)
|
|
144
|
-
target_link_libraries (vc_testing PRIVATE ${LAPACK_LIBRARIES})
|
|
145
|
-
target_link_libraries (${PROJECT_NAME} PRIVATE ${LAPACK_LIBRARIES})
|
|
146
|
-
endif ()
|
|
147
|
-
|
|
148
|
-
target_include_directories(vc_testing PRIVATE "include" "extern/SCTL/include")
|
|
149
|
-
target_include_directories(vc_testing PRIVATE "include" "extern/BIEST/include")
|
|
150
|
-
target_include_directories(${PROJECT_NAME} PRIVATE "include" "extern/SCTL/include")
|
|
151
|
-
target_include_directories(${PROJECT_NAME} PRIVATE "include" "extern/BIEST/include")
|
|
152
127
|
|
|
153
|
-
|
|
154
|
-
|
|
128
|
+
add_executable(vc_testing EXCLUDE_FROM_ALL test/virtual-casing.cpp)
|
|
129
|
+
# Fix for PowerPC with PGI compiler
|
|
130
|
+
target_compile_options(vc_testing PUBLIC "$<$<CXX_COMPILER_ID:PGI>:-Wc,--pending_instantiations=1000>")
|
|
131
|
+
target_include_directories(vc_testing PRIVATE "$<$<BOOL:${FFTW_DOUBLE_LIB_FOUND}>:${FFTW_INCLUDE_DIRS}>"
|
|
132
|
+
"include" "extern/SCTL/include" "extern/BIEST/include")
|
|
133
|
+
target_link_libraries(vc_testing PUBLIC $<$<BOOL:${FFTW_DOUBLE_LIB_FOUND}>:FFTW::Double>
|
|
134
|
+
"$<$<BOOL:${BLAS_FOUND}>:${BLAS_LIBRARIES}>"
|
|
135
|
+
"$<$<BOOL:${LAPACK_FOUND}>:${LAPACK_LIBRARIES}>" $<$<BOOL:${OpenMP_CXX_FOUND}>:OpenMP::OpenMP_CXX>)
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
include src/python.cpp src/cpu_features.cpp src/__init__.py
|
|
2
|
+
include src/__init__.pyi src/_vc_baseline.pyi src/py.typed
|
|
3
|
+
include test/virtual-casing.cpp
|
|
4
|
+
include LICENSE README.md
|
|
5
|
+
graft include
|
|
6
|
+
graft extern/SCTL/include
|
|
7
|
+
graft extern/BIEST/include
|
|
8
|
+
graft cmake
|
|
9
|
+
global-include CMakeLists.txt *.cmake
|