forgeo-gmlib 0.6.2__cp312-cp312-musllinux_1_2_x86_64.whl
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.
- forgeo/gmlib/GeologicalModel3D.py +758 -0
- forgeo/gmlib/__init__.py +9 -0
- forgeo/gmlib/_version.py +34 -0
- forgeo/gmlib/architecture/__init__.py +1 -0
- forgeo/gmlib/architecture/core.py +130 -0
- forgeo/gmlib/common.abi3.so +0 -0
- forgeo/gmlib/fault_network.py +171 -0
- forgeo/gmlib/geomodeller_data.py +101 -0
- forgeo/gmlib/geomodeller_project.py +396 -0
- forgeo/gmlib/myxmltools.py +30 -0
- forgeo/gmlib/pypotential2D.abi3.so +0 -0
- forgeo/gmlib/pypotential3D.abi3.so +0 -0
- forgeo/gmlib/tesselate.py +236 -0
- forgeo/gmlib/tesselate_deprecated.py +249 -0
- forgeo/gmlib/topography_reader.py +198 -0
- forgeo/gmlib/utils/__init__.py +0 -0
- forgeo/gmlib/utils/append_data.py +508 -0
- forgeo/gmlib/utils/export.py +45 -0
- forgeo/gmlib/utils/normalized_gradient.py +40 -0
- forgeo/gmlib/utils/tools.py +35 -0
- forgeo_gmlib-0.6.2.dist-info/METADATA +23 -0
- forgeo_gmlib-0.6.2.dist-info/RECORD +554 -0
- forgeo_gmlib-0.6.2.dist-info/WHEEL +5 -0
- forgeo_gmlib-0.6.2.dist-info/licenses/LICENSE +661 -0
- include/eigen3/Eigen/Cholesky +45 -0
- include/eigen3/Eigen/CholmodSupport +48 -0
- include/eigen3/Eigen/Core +385 -0
- include/eigen3/Eigen/Dense +7 -0
- include/eigen3/Eigen/Eigen +2 -0
- include/eigen3/Eigen/Eigenvalues +60 -0
- include/eigen3/Eigen/Geometry +59 -0
- include/eigen3/Eigen/Householder +29 -0
- include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- include/eigen3/Eigen/Jacobi +32 -0
- include/eigen3/Eigen/KLUSupport +41 -0
- include/eigen3/Eigen/LU +47 -0
- include/eigen3/Eigen/MetisSupport +35 -0
- include/eigen3/Eigen/OrderingMethods +70 -0
- include/eigen3/Eigen/PaStiXSupport +49 -0
- include/eigen3/Eigen/PardisoSupport +35 -0
- include/eigen3/Eigen/QR +50 -0
- include/eigen3/Eigen/QtAlignedMalloc +39 -0
- include/eigen3/Eigen/SPQRSupport +34 -0
- include/eigen3/Eigen/SVD +50 -0
- include/eigen3/Eigen/Sparse +34 -0
- include/eigen3/Eigen/SparseCholesky +37 -0
- include/eigen3/Eigen/SparseCore +69 -0
- include/eigen3/Eigen/SparseLU +48 -0
- include/eigen3/Eigen/SparseQR +36 -0
- include/eigen3/Eigen/StdDeque +27 -0
- include/eigen3/Eigen/StdList +26 -0
- include/eigen3/Eigen/StdVector +27 -0
- include/eigen3/Eigen/SuperLUSupport +64 -0
- include/eigen3/Eigen/UmfPackSupport +40 -0
- include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- include/eigen3/Eigen/src/Core/ArithmeticSequence.h +406 -0
- include/eigen3/Eigen/src/Core/Array.h +425 -0
- include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- include/eigen3/Eigen/src/Core/Assign.h +90 -0
- include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- include/eigen3/Eigen/src/Core/Block.h +463 -0
- include/eigen3/Eigen/src/Core/BooleanRedux.h +164 -0
- include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- include/eigen3/Eigen/src/Core/Diagonal.h +259 -0
- include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- include/eigen3/Eigen/src/Core/Dot.h +313 -0
- include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- include/eigen3/Eigen/src/Core/IO.h +258 -0
- include/eigen3/Eigen/src/Core/IndexedView.h +247 -0
- include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- include/eigen3/Eigen/src/Core/Map.h +171 -0
- include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- include/eigen3/Eigen/src/Core/MathFunctions.h +2212 -0
- include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- include/eigen3/Eigen/src/Core/Matrix.h +578 -0
- include/eigen3/Eigen/src/Core/MatrixBase.h +541 -0
- include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- include/eigen3/Eigen/src/Core/NumTraits.h +351 -0
- include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +237 -0
- include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- include/eigen3/Eigen/src/Core/Product.h +191 -0
- include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- include/eigen3/Eigen/src/Core/Random.h +218 -0
- include/eigen3/Eigen/src/Core/Redux.h +515 -0
- include/eigen3/Eigen/src/Core/Ref.h +381 -0
- include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- include/eigen3/Eigen/src/Core/Select.h +164 -0
- include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- include/eigen3/Eigen/src/Core/Solve.h +188 -0
- include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- include/eigen3/Eigen/src/Core/Stride.h +120 -0
- include/eigen3/Eigen/src/Core/Swap.h +68 -0
- include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- include/eigen3/Eigen/src/Core/TriangularMatrix.h +994 -0
- include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +368 -0
- include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1588 -0
- include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +384 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +361 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2270 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +415 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +119 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2776 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +159 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +627 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h +2400 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2743 -0
- include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +269 -0
- include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +688 -0
- include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1662 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +116 -0
- include/eigen3/Eigen/src/Core/arch/Default/Half.h +950 -0
- include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1646 -0
- include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +79 -0
- include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +645 -0
- include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +560 -0
- include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4653 -0
- include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1424 -0
- include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +338 -0
- include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +428 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +322 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +523 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +521 -0
- include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +138 -0
- include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- include/eigen3/Eigen/src/Core/util/Macros.h +1511 -0
- include/eigen3/Eigen/src/Core/util/Memory.h +1202 -0
- include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +345 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +417 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +557 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +560 -0
- include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- include/eigen3/Eigen/src/Geometry/Transform.h +1566 -0
- include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- include/eigen3/Eigen/src/Geometry/Umeyama.h +168 -0
- include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- include/eigen3/Eigen/src/Householder/HouseholderSequence.h +553 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +227 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- include/eigen3/Eigen/src/LU/arch/InverseSize4.h +363 -0
- include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- include/eigen3/Eigen/src/SVD/BDCSVD.h +1377 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD.h +813 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +415 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- include/eigen3/Eigen/src/SparseCore/SparseBlock.h +566 -0
- include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- include/eigen3/Eigen/src/SparseCore/SparseMap.h +306 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +399 -0
- include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- include/eigen3/Eigen/src/SparseCore/SparseProduct.h +182 -0
- include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- include/eigen3/Eigen/src/SparseCore/SparseVector.h +480 -0
- include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU.h +925 -0
- include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +374 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +121 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +129 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +222 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- include/eigen3/Eigen/src/misc/Image.h +82 -0
- include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- include/eigen3/Eigen/src/misc/blas.h +440 -0
- include/eigen3/Eigen/src/misc/lapack.h +152 -0
- include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +431 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +184 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- include/eigen3/signature_of_eigen3_matrix_library +1 -0
- include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- include/eigen3/unsupported/Eigen/AutoDiff +48 -0
- include/eigen3/unsupported/Eigen/BVH +95 -0
- include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +242 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1083 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +510 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +373 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1019 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +455 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1126 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +536 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +213 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +342 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +234 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +493 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +229 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +980 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +701 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +377 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +232 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +297 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +602 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +735 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +244 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +257 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +213 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1098 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +705 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +286 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +317 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +1000 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +973 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +462 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +466 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +157 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +341 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +299 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +628 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +538 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- include/eigen3/unsupported/Eigen/FFT +420 -0
- include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- include/eigen3/unsupported/Eigen/Polynomials +137 -0
- include/eigen3/unsupported/Eigen/Skyline +39 -0
- include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- include/eigen3/unsupported/Eigen/Splines +35 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +356 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +306 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +429 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2051 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +51 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of gmlib. It is free software.
|
|
3
|
+
# You can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3.
|
|
4
|
+
#
|
|
5
|
+
|
|
6
|
+
import copy
|
|
7
|
+
|
|
8
|
+
import numpy as np
|
|
9
|
+
|
|
10
|
+
import forgeo.gmlib.pypotential3D as potential
|
|
11
|
+
from forgeo.gmlib.common import OrientedEvaluation
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
from skimage.measure import marching_cubes
|
|
15
|
+
except ImportError:
|
|
16
|
+
raise
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
from pycgal.Polygon_mesh_processing import corefine
|
|
20
|
+
from pycgal.Surface_mesh import Surface_mesh
|
|
21
|
+
except ImportError:
|
|
22
|
+
raise
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# FIXME: to be moved elsewhere
|
|
26
|
+
def zmap_to_tsurf(zmap, origin, steps):
|
|
27
|
+
nx, ny = zmap.shape
|
|
28
|
+
assert nx > 1
|
|
29
|
+
assert ny > 1
|
|
30
|
+
xy = np.vstack(
|
|
31
|
+
[
|
|
32
|
+
a.ravel()
|
|
33
|
+
for a in np.meshgrid(
|
|
34
|
+
origin[0] + steps[0] * np.arange(0, nx),
|
|
35
|
+
origin[1] + steps[1] * np.arange(0, ny),
|
|
36
|
+
)
|
|
37
|
+
]
|
|
38
|
+
)
|
|
39
|
+
vertices = np.vstack([xy, zmap.ravel(order="F")])
|
|
40
|
+
vertices = np.transpose(vertices)
|
|
41
|
+
tmp = np.hstack(
|
|
42
|
+
[
|
|
43
|
+
np.reshape(a, (-1, 1))
|
|
44
|
+
for a in [
|
|
45
|
+
np.arange(0, nx - 1),
|
|
46
|
+
np.arange(1, nx),
|
|
47
|
+
nx + np.arange(0, nx - 1), # triangle 1
|
|
48
|
+
np.arange(1, nx),
|
|
49
|
+
nx + np.arange(1, nx),
|
|
50
|
+
nx + np.arange(0, nx - 1), # triangle 2
|
|
51
|
+
]
|
|
52
|
+
]
|
|
53
|
+
)
|
|
54
|
+
triangles = np.vstack([tmp + k * nx for k in range(ny - 1)])
|
|
55
|
+
triangles.shape = (-1, 3)
|
|
56
|
+
return Surface_mesh(vertices, triangles)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _remove_faces_on_side(surface, side, centroid_value):
|
|
60
|
+
if side < 0:
|
|
61
|
+
removed_faces = [f for f, cv in zip(surface.faces(), centroid_value) if cv > 0]
|
|
62
|
+
else:
|
|
63
|
+
removed_faces = [f for f, cv in zip(surface.faces(), centroid_value) if cv < 0]
|
|
64
|
+
for f in removed_faces:
|
|
65
|
+
surface.remove_face(f)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class TopographyClipper:
|
|
69
|
+
def __init__(self, field, tesselation):
|
|
70
|
+
self.field = field
|
|
71
|
+
self.tesselation = tesselation
|
|
72
|
+
|
|
73
|
+
def clip(self, surface):
|
|
74
|
+
corefine(self.tesselation, surface)
|
|
75
|
+
self.field(surface.centroids())
|
|
76
|
+
_remove_faces_on_side(surface, 1, self.field(surface.centroids()))
|
|
77
|
+
return surface
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class Tesselator:
|
|
81
|
+
def __init__(self, box, shape):
|
|
82
|
+
self.reset(box, shape)
|
|
83
|
+
|
|
84
|
+
def reset(self, box, shape):
|
|
85
|
+
assert all(n > 0 for n in shape)
|
|
86
|
+
nx, ny, nz = shape
|
|
87
|
+
steps = (
|
|
88
|
+
np.linspace(box.xmin, box.xmax, nx),
|
|
89
|
+
np.linspace(box.ymin, box.ymax, ny),
|
|
90
|
+
np.linspace(box.zmin, box.zmax, nz),
|
|
91
|
+
)
|
|
92
|
+
coordinates = np.meshgrid(*steps, indexing="ij")
|
|
93
|
+
points = np.stack(coordinates, axis=-1)
|
|
94
|
+
points.shape = (-1, 3)
|
|
95
|
+
self.box = box
|
|
96
|
+
self.shape = shape
|
|
97
|
+
self.points = points
|
|
98
|
+
|
|
99
|
+
def rescale(self, pts):
|
|
100
|
+
box = self.box
|
|
101
|
+
nx, ny, nz = self.shape
|
|
102
|
+
return pts * np.array(
|
|
103
|
+
[
|
|
104
|
+
(box.xmax - box.xmin) / (nx - 1),
|
|
105
|
+
(box.ymax - box.ymin) / (ny - 1),
|
|
106
|
+
(box.zmax - box.zmin) / (nz - 1),
|
|
107
|
+
]
|
|
108
|
+
) + np.array([box.xmin, box.ymin, box.zmin])
|
|
109
|
+
|
|
110
|
+
def tesselate(f, v):
|
|
111
|
+
return self(f, v)
|
|
112
|
+
|
|
113
|
+
def __call__(self, f, v):
|
|
114
|
+
field_value = f(self.points)
|
|
115
|
+
field_value.shape = self.shape
|
|
116
|
+
isocontour = marching_cubes(field_value, level=v)
|
|
117
|
+
verts, faces, _normals, _values = isocontour
|
|
118
|
+
verts = self.rescale(verts)
|
|
119
|
+
return Surface_mesh(verts, faces)
|
|
120
|
+
|
|
121
|
+
def tesselate_topography(self, model):
|
|
122
|
+
assert model.topography is not None
|
|
123
|
+
topography = model.topography
|
|
124
|
+
zmap = topography.z
|
|
125
|
+
if hasattr(zmap, "shape"):
|
|
126
|
+
return zmap_to_tsurf(zmap, topography.origin, topography.steps)
|
|
127
|
+
return self(topography, 0)
|
|
128
|
+
|
|
129
|
+
def tesselate_faults(self, model, topography=None):
|
|
130
|
+
fault_tesselations = {
|
|
131
|
+
name: self(field, 0) for name, field in model.faults.items()
|
|
132
|
+
}
|
|
133
|
+
for name, surface in fault_tesselations.items():
|
|
134
|
+
if topography:
|
|
135
|
+
surface = topography.clip(surface)
|
|
136
|
+
data = model.faults_data[name]
|
|
137
|
+
assert len(data.potential_data.interfaces) == 1
|
|
138
|
+
fault_points = data.potential_data.interfaces[0]
|
|
139
|
+
for limit_name in data.stops_on:
|
|
140
|
+
try:
|
|
141
|
+
limit_surface = fault_tesselations[limit_name]
|
|
142
|
+
corefine(surface, limit_surface)
|
|
143
|
+
limit_fault = model.faults[limit_name]
|
|
144
|
+
_remove_faces_on_side(
|
|
145
|
+
surface,
|
|
146
|
+
np.mean(limit_fault(fault_points)),
|
|
147
|
+
limit_fault(surface.centroids()),
|
|
148
|
+
)
|
|
149
|
+
except KeyError:
|
|
150
|
+
pass
|
|
151
|
+
return fault_tesselations
|
|
152
|
+
|
|
153
|
+
def tesselate_interfaces(self, model, topography=None):
|
|
154
|
+
fault_tesselations = self.tesselate_faults(model, topography)
|
|
155
|
+
interface_tesselations = {}
|
|
156
|
+
for serie in model.series_info:
|
|
157
|
+
sinfo = model.series_info[serie]
|
|
158
|
+
serie_faults_names = list(sinfo.active_faults)
|
|
159
|
+
serie_faults = [model.faults[name] for name in serie_faults_names]
|
|
160
|
+
faults_limits = [
|
|
161
|
+
[
|
|
162
|
+
serie_faults_names.index(limit)
|
|
163
|
+
for limit in model.faults_data[name].stops_on
|
|
164
|
+
]
|
|
165
|
+
for name in serie_faults_names
|
|
166
|
+
]
|
|
167
|
+
fault_network = gmlib.fault_network.build(serie_faults, faults_limits)
|
|
168
|
+
# for interface in sinfo.interfaces:
|
|
169
|
+
# name, _ = interface
|
|
170
|
+
# interface_tesselations[name] = []
|
|
171
|
+
if fault_network is not None:
|
|
172
|
+
nodes, _roots, evaluations = fault_network
|
|
173
|
+
node_tesselation = [
|
|
174
|
+
fault_tesselations[fault] for fault in serie_faults_names
|
|
175
|
+
]
|
|
176
|
+
# fault drift indexes
|
|
177
|
+
fdi = [sinfo.active_faults[fault] for fault in serie_faults_names]
|
|
178
|
+
interface_patches = {name: [] for name, _ in sinfo.interfaces}
|
|
179
|
+
for evaluation in evaluations:
|
|
180
|
+
drifts = copy.copy(sinfo.drifts)
|
|
181
|
+
for fk, side in enumerate(evaluation):
|
|
182
|
+
if side > 0:
|
|
183
|
+
orientation = OrientedEvaluation.always_positive
|
|
184
|
+
elif side < 0:
|
|
185
|
+
orientation = OrientedEvaluation.always_negative
|
|
186
|
+
else:
|
|
187
|
+
assert side == 0
|
|
188
|
+
orientation = OrientedEvaluation.always_outside
|
|
189
|
+
drifts[fdi[fk]] = potential.make_drift(
|
|
190
|
+
nodes[fk].fault, orientation
|
|
191
|
+
)
|
|
192
|
+
S = potential.alternate_drifts(sinfo.field, drifts)
|
|
193
|
+
for interface in sinfo.interfaces:
|
|
194
|
+
interface_name, interface_value = interface
|
|
195
|
+
patch_tesselation = self(S, interface_value)
|
|
196
|
+
if topography:
|
|
197
|
+
topography.clip(patch_tesselation)
|
|
198
|
+
for fk, side in enumerate(evaluation):
|
|
199
|
+
if side != 0:
|
|
200
|
+
corefine(patch_tesselation, node_tesselation[fk])
|
|
201
|
+
nk = nodes[fk]
|
|
202
|
+
_remove_faces_on_side(
|
|
203
|
+
patch_tesselation,
|
|
204
|
+
side,
|
|
205
|
+
nk.fault(patch_tesselation.centroids()),
|
|
206
|
+
)
|
|
207
|
+
interface_patches[interface_name].append(patch_tesselation)
|
|
208
|
+
for interface_name, patches in interface_patches.items():
|
|
209
|
+
assert patches
|
|
210
|
+
tesselation = Surface_mesh(patches[0])
|
|
211
|
+
for patch in patches[1:]:
|
|
212
|
+
tesselation.join(patch)
|
|
213
|
+
interface_tesselations[interface_name] = tesselation
|
|
214
|
+
else: # serie is not affected by faults
|
|
215
|
+
for interface in sinfo.interfaces:
|
|
216
|
+
interface_name, interface_value = interface
|
|
217
|
+
tesselation = self(sinfo.field, interface_value)
|
|
218
|
+
if topography:
|
|
219
|
+
topography.clip(tesselation)
|
|
220
|
+
interface_tesselations[interface_name] = tesselation
|
|
221
|
+
return fault_tesselations, interface_tesselations
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
def tesselate_topography(box, shape, model):
|
|
225
|
+
return Tesselator(box, shape).tesselate_topography(model)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def tesselate_faults(box, shape, model, clip_topography=True):
|
|
229
|
+
tesselator = Tesselator(box, shape)
|
|
230
|
+
topography = (
|
|
231
|
+
TopographyClipper(model.topography, tesselator.tesselate_topography(model))
|
|
232
|
+
if clip_topography
|
|
233
|
+
else None
|
|
234
|
+
)
|
|
235
|
+
return tesselator.tesselate_faults(model, topography)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def tesselate_interfaces(box, shape, model, clip_topography=True):
|
|
239
|
+
tesselator = Tesselator(box, shape)
|
|
240
|
+
topography = (
|
|
241
|
+
TopographyClipper(model.topography, tesselator.tesselate_topography(model))
|
|
242
|
+
if clip_topography
|
|
243
|
+
else None
|
|
244
|
+
)
|
|
245
|
+
faults, interfaces = tesselator.tesselate_interfaces(model, topography)
|
|
246
|
+
if topography:
|
|
247
|
+
assert "topography" not in interfaces
|
|
248
|
+
interfaces["topography"] = topography.tesselation
|
|
249
|
+
return faults, interfaces
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of gmlib. It is free software.
|
|
3
|
+
# You can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3.
|
|
4
|
+
#
|
|
5
|
+
|
|
6
|
+
import os
|
|
7
|
+
|
|
8
|
+
import numpy as np
|
|
9
|
+
|
|
10
|
+
from .utils.tools import BBox3
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ImplicitElevationSurface:
|
|
14
|
+
def __call__(self, P):
|
|
15
|
+
P = np.reshape(np.asarray(P), (-1, 3))
|
|
16
|
+
res = P[:, 2] - self.evaluate_z(P[:, :2])
|
|
17
|
+
assert res.shape[0] > 0
|
|
18
|
+
if res.shape[0] == 1:
|
|
19
|
+
return res[0]
|
|
20
|
+
return res
|
|
21
|
+
|
|
22
|
+
def underlying_dtm(self):
|
|
23
|
+
return None
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class ImplicitHorizontalPlane(ImplicitElevationSurface):
|
|
27
|
+
def __init__(self, zvalue):
|
|
28
|
+
self.z = float(zvalue)
|
|
29
|
+
|
|
30
|
+
def evaluate_z(self, P):
|
|
31
|
+
P = np.reshape(np.asarray(P), (-1, 2))
|
|
32
|
+
assert P.shape[0] > 0
|
|
33
|
+
if P.shape[0] == 1:
|
|
34
|
+
return self.z
|
|
35
|
+
return np.tile(self.z, P.shape[0])
|
|
36
|
+
|
|
37
|
+
def bbox(self):
|
|
38
|
+
return BBox3(zmin=self.z, zmax=self.z)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class ImplicitDTM(ImplicitElevationSurface):
|
|
42
|
+
def __init__(self, origin, steps, zmap):
|
|
43
|
+
self.origin = np.array(origin, dtype="d")
|
|
44
|
+
assert self.origin.shape == (2,)
|
|
45
|
+
self.steps = np.array(steps, copy=True, dtype="d")
|
|
46
|
+
self.invsteps = np.array([(1.0 / ds) for ds in steps], dtype="d")
|
|
47
|
+
assert self.invsteps.shape == (2,)
|
|
48
|
+
self.z = np.array(zmap, copy=True, dtype="d")
|
|
49
|
+
|
|
50
|
+
def bbox(self):
|
|
51
|
+
Ox, Oy = self.origin
|
|
52
|
+
ny, nx = self.z.shape
|
|
53
|
+
dx, dy = self.steps
|
|
54
|
+
return BBox3(Ox, Ox + nx * dx, Oy, Oy + ny * dy, self.z.min(), self.z.max())
|
|
55
|
+
|
|
56
|
+
def in_square_interpolation(self, P):
|
|
57
|
+
P = np.asarray(P, dtype="d")
|
|
58
|
+
assert P.shape == (2,)
|
|
59
|
+
DX = P - self.origin
|
|
60
|
+
DX *= self.invsteps
|
|
61
|
+
DX[DX < 0] = 0
|
|
62
|
+
i, j = DX
|
|
63
|
+
zmap = self.z
|
|
64
|
+
nx, ny = zmap.shape
|
|
65
|
+
i = min(i, nx - 1)
|
|
66
|
+
j = min(j, ny - 1)
|
|
67
|
+
ii, ij = int(i), int(j)
|
|
68
|
+
i -= ii
|
|
69
|
+
j -= ij
|
|
70
|
+
if j == 0:
|
|
71
|
+
if i == 0:
|
|
72
|
+
return zmap[ii, ij]
|
|
73
|
+
zl, zr = zmap[ii : ii + 2, ij]
|
|
74
|
+
return (1 - i) * zl + i * zr
|
|
75
|
+
if i == 0:
|
|
76
|
+
zl, zr = zmap[ii, ij : ij + 2]
|
|
77
|
+
return (1 - j) * zl + j * zr
|
|
78
|
+
# We divide the square into two triangles
|
|
79
|
+
# to be consistent with the DTM 3D representation
|
|
80
|
+
# and possible topography clipping
|
|
81
|
+
assert 0 < i < 1
|
|
82
|
+
assert 0 < j < 1
|
|
83
|
+
if i + j <= 1: # lower triangle
|
|
84
|
+
z = (1 - i - j) * zmap[ii, ij]
|
|
85
|
+
z += i * zmap[ii + 1, ij]
|
|
86
|
+
z += j * zmap[ii, ij + 1]
|
|
87
|
+
else: # upper triangle
|
|
88
|
+
z = (i + j - 1) * zmap[ii + 1, ij + 1]
|
|
89
|
+
z += (1 - i) * zmap[ii, ij + 1]
|
|
90
|
+
z += (1 - j) * zmap[ii + 1, ij]
|
|
91
|
+
return z
|
|
92
|
+
raise AssertionError()
|
|
93
|
+
|
|
94
|
+
def underlying_dtm(self):
|
|
95
|
+
zmap = self.z
|
|
96
|
+
nx, ny = zmap.shape
|
|
97
|
+
dx, dy = self.steps
|
|
98
|
+
x = np.arange(0, nx * dx, dx) + self.origin[0]
|
|
99
|
+
y = np.arange(0, ny * dy, dy) + self.origin[1]
|
|
100
|
+
xy = np.meshgrid(x, y, indexing="ij")
|
|
101
|
+
vertices = np.empty((nx * ny, 3), dtype=zmap.dtype)
|
|
102
|
+
for i, xi in enumerate(xy):
|
|
103
|
+
vertices[:, i] = xi.ravel()
|
|
104
|
+
vertices[:, -1] = zmap.ravel()
|
|
105
|
+
# Two triangles in the lower left cell
|
|
106
|
+
llc = np.array([[0, ny, 1], [ny, ny + 1, 1]], dtype=np.int64)
|
|
107
|
+
# Triangles stip on the left side
|
|
108
|
+
strip = np.vstack([llc + k for k in range(ny - 1)])
|
|
109
|
+
triangles = np.vstack([strip + ny * k for k in range(nx - 1)])
|
|
110
|
+
return vertices, triangles
|
|
111
|
+
|
|
112
|
+
def evaluate_z(self, P):
|
|
113
|
+
P = np.reshape(np.asarray(P), (-1, 2))
|
|
114
|
+
res = np.array([self.in_square_interpolation(xy) for xy in P])
|
|
115
|
+
try:
|
|
116
|
+
return float(res)
|
|
117
|
+
except TypeError:
|
|
118
|
+
pass
|
|
119
|
+
return res
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def extract_plane(f):
|
|
123
|
+
# we already have read the code character (first character on the line)
|
|
124
|
+
l = f.readline().strip().split()
|
|
125
|
+
point = tuple(float(s) for s in l[:3])
|
|
126
|
+
normal = tuple(float(s) for s in l[3:6])
|
|
127
|
+
# ux = tuple(float(s) for s in l[6:9])
|
|
128
|
+
# uy = tuple(float(s) for s in l[9:]:)
|
|
129
|
+
return point, normal
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def extract_mnt(f, decimals=8):
|
|
133
|
+
# we already have read the code character (first character on the line)
|
|
134
|
+
l = f.readline().strip().split()
|
|
135
|
+
nx, ny = (int(s) for s in l[6:8])
|
|
136
|
+
assert int(l[8]) + 2 == nx
|
|
137
|
+
assert int(l[9]) + 2 == ny
|
|
138
|
+
zmap = []
|
|
139
|
+
line = l[10:]
|
|
140
|
+
while line:
|
|
141
|
+
zmap.append(np.array([float(s) for s in line]))
|
|
142
|
+
line = f.readline().strip().split()
|
|
143
|
+
zmap = np.array(zmap)
|
|
144
|
+
x, y, z = (zmap[:, k::3] for k in range(3))
|
|
145
|
+
|
|
146
|
+
def clean(a):
|
|
147
|
+
a = np.delete(a, [1, nx - 2], axis=0)
|
|
148
|
+
return np.delete(a, [1, ny - 2], axis=1)
|
|
149
|
+
|
|
150
|
+
x, y, z = (clean(a) for a in (x, y, z))
|
|
151
|
+
dx = np.unique(np.round(x[1:, :] - x[:-1, :], decimals))
|
|
152
|
+
assert dx.shape == (1,)
|
|
153
|
+
dy = np.unique(np.round(y[:, 1:] - y[:, :-1], decimals))
|
|
154
|
+
assert dy.shape == (1,)
|
|
155
|
+
xmin, ymin = x.min(), y.min()
|
|
156
|
+
return (xmin, ymin), (float(dx), float(dy)), z
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def sec_extract(filename):
|
|
160
|
+
if os.path.exists(filename):
|
|
161
|
+
with open(filename) as f:
|
|
162
|
+
line = f.readline()
|
|
163
|
+
while not line.startswith("Surfaces"):
|
|
164
|
+
line = f.readline()
|
|
165
|
+
code = int(f.read(1))
|
|
166
|
+
if code == 1:
|
|
167
|
+
point, normal = extract_plane(f)
|
|
168
|
+
assert normal[0] == 0
|
|
169
|
+
assert normal[1] == 0
|
|
170
|
+
return ImplicitHorizontalPlane(point[2])
|
|
171
|
+
if code == 9:
|
|
172
|
+
return ImplicitDTM(*extract_mnt(f))
|
|
173
|
+
raise OSError(filename + " not found")
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
if __name__ == "__main__":
|
|
177
|
+
from matplotlib import pyplot as plt
|
|
178
|
+
|
|
179
|
+
zmap = np.array([[0, 1], [0, 2]])
|
|
180
|
+
origin = (1, 1)
|
|
181
|
+
steps = (2, 2)
|
|
182
|
+
dtm = ImplicitDTM(origin, steps, zmap)
|
|
183
|
+
nx, ny = 20, 20
|
|
184
|
+
xmin, xmax = 0, 4
|
|
185
|
+
ymin, ymax = 0, 4
|
|
186
|
+
xy = np.meshgrid(np.linspace(xmin, xmax, nx), np.linspace(ymin, ymax, ny))
|
|
187
|
+
x, y = (a.ravel() for a in xy)
|
|
188
|
+
z = np.array([dtm.evaluate_z((xi, yi)) for xi, yi in zip(x, y)])
|
|
189
|
+
z.shape = nx, ny
|
|
190
|
+
plt.gca().set_aspect("equal")
|
|
191
|
+
box = (xmin, xmax, ymin, ymax)
|
|
192
|
+
plt.imshow(np.transpose(z)[::-1], extent=box)
|
|
193
|
+
O = origin
|
|
194
|
+
d = steps
|
|
195
|
+
cell = np.array(
|
|
196
|
+
[O, (O[0] + d[0], O[0]), (O[0] + d[0], O[0] + d[1]), (O[0], O[0] + d[1]), O]
|
|
197
|
+
)
|
|
198
|
+
plt.plot(cell[:, 0], cell[:, 1], "r")
|
|
File without changes
|