xtgeo 4.10.0__cp313-cp313-macosx_10_13_x86_64.whl → 4.11.0__cp313-cp313-macosx_10_13_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.

Potentially problematic release.


This version of xtgeo might be problematic. Click here for more details.

Files changed (565) hide show
  1. xtgeo/_internal.cpython-313-darwin.so +0 -0
  2. xtgeo/common/version.py +16 -3
  3. xtgeo/cube/_cube_window_attributes.py +13 -4
  4. xtgeo/grid3d/_grid_etc1.py +10 -5
  5. xtgeo/grid3d/grid.py +22 -6
  6. xtgeo/include/fmt/args.h +220 -0
  7. xtgeo/include/fmt/base.h +2989 -0
  8. xtgeo/include/fmt/chrono.h +2330 -0
  9. xtgeo/include/fmt/color.h +637 -0
  10. xtgeo/include/fmt/compile.h +539 -0
  11. xtgeo/include/fmt/core.h +5 -0
  12. xtgeo/include/fmt/format-inl.h +1948 -0
  13. xtgeo/include/fmt/format.h +4244 -0
  14. xtgeo/include/fmt/os.h +427 -0
  15. xtgeo/include/fmt/ostream.h +167 -0
  16. xtgeo/include/fmt/printf.h +633 -0
  17. xtgeo/include/fmt/ranges.h +850 -0
  18. xtgeo/include/fmt/std.h +728 -0
  19. xtgeo/include/fmt/xchar.h +369 -0
  20. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  21. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  22. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  23. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  24. xtgeo/lib/libfmt.a +0 -0
  25. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  26. xtgeo/metadata/metadata.py +20 -13
  27. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  28. xtgeo-4.11.0.dist-info/RECORD +137 -0
  29. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  30. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  31. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  32. xtgeo/include/eigen3/Eigen/Core +0 -384
  33. xtgeo/include/eigen3/Eigen/Dense +0 -7
  34. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  35. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  36. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  37. xtgeo/include/eigen3/Eigen/Householder +0 -29
  38. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  39. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  40. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  41. xtgeo/include/eigen3/Eigen/LU +0 -47
  42. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  43. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  44. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  45. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  46. xtgeo/include/eigen3/Eigen/QR +0 -50
  47. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  48. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  49. xtgeo/include/eigen3/Eigen/SVD +0 -50
  50. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  51. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  52. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  53. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  54. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  55. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  56. xtgeo/include/eigen3/Eigen/StdList +0 -26
  57. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  58. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  59. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  60. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  61. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  62. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  63. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  64. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  65. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  66. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  67. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  68. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  69. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  70. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  71. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  72. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  73. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  74. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  75. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  76. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  77. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  78. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  79. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  80. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  81. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  82. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  83. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  84. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  85. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  86. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  87. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  88. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  89. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  90. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  91. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  92. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  93. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  94. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  95. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  96. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  97. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  98. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  99. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  100. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  101. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  102. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  103. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  104. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  105. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  106. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  107. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  108. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  109. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  110. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  111. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  112. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  113. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  114. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  115. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  116. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  117. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  118. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  119. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  120. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  121. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  122. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  123. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  124. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  125. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  126. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  127. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  128. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  129. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  130. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  131. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  132. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  133. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  134. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  135. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  180. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  181. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  182. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  183. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  184. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  185. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  186. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  187. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  188. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  189. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  190. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  191. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  193. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  194. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  195. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  196. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  197. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  198. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  199. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  200. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  201. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  202. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  203. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  204. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  205. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  207. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  208. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  209. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  210. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  211. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  212. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  213. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  214. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  215. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  216. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  217. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  218. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  219. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  220. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  221. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  222. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  223. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  224. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  225. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  226. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  227. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  228. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  229. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  238. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  239. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  240. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  241. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  242. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  243. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  244. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  245. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  246. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  247. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  248. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  249. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  250. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  252. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  253. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  254. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  255. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  256. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  257. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  258. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  259. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  260. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  261. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  264. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  265. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  266. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  267. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  268. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  269. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  270. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  271. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  272. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  273. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  274. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  275. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  276. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  277. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  278. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  279. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  280. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  281. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  282. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  283. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  284. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  285. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  286. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  287. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  288. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  289. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  290. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  291. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  292. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  293. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  294. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  295. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  296. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  322. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  323. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  324. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  325. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  326. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  327. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  339. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  340. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  341. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  342. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  343. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  344. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  345. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  346. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  347. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  348. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  349. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  350. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  351. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  352. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  353. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  354. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  355. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  356. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  357. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  358. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  359. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  360. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  361. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  362. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  363. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  364. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  365. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  366. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  367. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  368. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  369. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  370. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  371. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  372. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  458. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  459. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  460. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  461. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  462. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  463. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  464. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  465. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  466. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  467. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  468. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  469. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  470. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  471. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  472. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  473. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  474. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  475. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  476. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  477. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  478. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  479. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  480. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  481. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  482. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  483. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  484. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  485. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  486. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  487. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  488. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  489. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  492. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  493. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  494. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  495. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  496. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  497. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  498. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  499. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  500. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  501. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  502. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  503. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  505. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  506. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  507. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  508. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  509. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  510. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  517. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  518. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  519. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  520. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  521. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  522. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  526. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  527. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  528. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  529. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  530. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  552. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  553. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  554. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  555. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  556. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  557. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  558. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  559. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  560. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  561. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  562. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  563. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  564. xtgeo-4.10.0.dist-info/RECORD +0 -652
  565. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
Binary file
xtgeo/common/version.py CHANGED
@@ -1,7 +1,14 @@
1
1
  # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
3
 
4
- __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
5
12
 
6
13
  TYPE_CHECKING = False
7
14
  if TYPE_CHECKING:
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
9
16
  from typing import Union
10
17
 
11
18
  VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
12
20
  else:
13
21
  VERSION_TUPLE = object
22
+ COMMIT_ID = object
14
23
 
15
24
  version: str
16
25
  __version__: str
17
26
  __version_tuple__: VERSION_TUPLE
18
27
  version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
19
30
 
20
- __version__ = version = '4.10.0'
21
- __version_tuple__ = version_tuple = (4, 10, 0)
31
+ __version__ = version = '4.11.0'
32
+ __version_tuple__ = version_tuple = (4, 11, 0)
33
+
34
+ __commit_id__ = commit_id = 'gee9361dd9'
@@ -63,6 +63,7 @@ class CubeAttrs:
63
63
  _upper: RegularSurface | None = None # upper surf, resampled to cube map resolution
64
64
  _lower: RegularSurface | None = None # lower surf, resampled to cube map resolution
65
65
  _min_thickness_mask: RegularSurface | None = None # mask for min. thickness trunc.
66
+ _mask_map_by_traceidcode: RegularSurface | None = None # mask for traceidcode 2
66
67
 
67
68
  _result_attr_maps: dict = field(default_factory=dict) # holds the resulting maps
68
69
 
@@ -94,6 +95,7 @@ class CubeAttrs:
94
95
  else self.lower_surface
95
96
  )
96
97
 
98
+ # the template surface is the topology that defines the resulting attribute maps
97
99
  self._template_surface = (
98
100
  upper
99
101
  if isinstance(self.upper_surface, (float, int))
@@ -184,7 +186,7 @@ class CubeAttrs:
184
186
  from xtgeo import Cube # avoid circular import by having this here
185
187
 
186
188
  cubev = self.cube.values.copy() # copy, so we don't change the input instance
187
- cubev[self.cube.traceidcodes == 2] = np.nan # set dead traces to nan
189
+ cubev[self.cube.traceidcodes == 2] = 0.0 # set traceidcode 2 to zero
188
190
 
189
191
  # Create a boolean mask based on the threshold
190
192
  mask = self._depth_array < self._outside_depth
@@ -311,13 +313,20 @@ class CubeAttrs:
311
313
  attr_map = self._upper.copy()
312
314
  attr_map.values = np.ma.masked_invalid(values)
313
315
 
316
+ # apply mask for the cube's dead traces (traceidcode 2)
317
+ attr_map.values = np.ma.masked_where(
318
+ self.cube.traceidcodes == 2, attr_map.values
319
+ )
320
+
314
321
  # now resample to the original input map
315
322
  attr_map_resampled = self._template_surface.copy()
316
323
  attr_map_resampled.resample(attr_map)
317
324
 
318
- attr_map_resampled.values = np.ma.masked_where(
319
- self.upper_surface.values.mask, attr_map_resampled.values
320
- )
325
+ # Use template_surface consistently for masking (it's already set correctly)
326
+ if hasattr(self._template_surface.values, "mask"):
327
+ attr_map_resampled.values = np.ma.masked_where(
328
+ self._template_surface.values.mask, attr_map_resampled.values
329
+ )
321
330
 
322
331
  self._result_attr_maps[attr_name] = attr_map_resampled
323
332
 
@@ -1053,13 +1053,18 @@ def inactivate_inside(
1053
1053
  raise RuntimeError("Problems with one or more polygons. Not closed?")
1054
1054
 
1055
1055
 
1056
- def collapse_inactive_cells(self: Grid) -> None:
1056
+ def collapse_inactive_cells(self: Grid, internal: bool = True) -> None:
1057
1057
  """Collapse inactive cells."""
1058
- self._set_xtgformat1()
1058
+ logger.debug("Collapsing inactive cells...")
1059
+ self._set_xtgformat2()
1059
1060
 
1060
- _cxtgeo.grd3d_collapse_inact(
1061
- self.ncol, self.nrow, self.nlay, self._zcornsv, self._actnumsv
1062
- )
1061
+ grid_cpp = _internal.grid3d.Grid(self)
1062
+ new_zcornsv = grid_cpp.collapse_inactive_cells(collapse_internal=internal)
1063
+
1064
+ if new_zcornsv is not None:
1065
+ self._zcornsv = new_zcornsv
1066
+
1067
+ logger.debug("Collapsing inactive cells done")
1063
1068
 
1064
1069
 
1065
1070
  def copy(self: Grid) -> Grid:
xtgeo/grid3d/grid.py CHANGED
@@ -2295,7 +2295,7 @@ class Grid(_Grid3D):
2295
2295
  * maxangle_topbase_proj (degrees) max angle projected (bird view)
2296
2296
  * minangle_sides (degress) minimum angle, all side surfaces
2297
2297
  * maxangle_sides (degress) maximum angle, all side surfaces
2298
- * collapsed (int) Integer, 1 of one or more corners are collpased in Z
2298
+ * collapsed (int) Integer, 1 of one or more corners are collapsed in Z
2299
2299
  * faulted (int) Integer, 1 if cell is faulted (one or more neighbours offset)
2300
2300
  * negative_thickness (int) Integer, 1 if cell has negative thickness
2301
2301
  * concave_proj (int) 1 if cell is concave seen from projected bird view
@@ -2332,7 +2332,7 @@ class Grid(_Grid3D):
2332
2332
  inside: bool = True,
2333
2333
  force_close: bool = False,
2334
2334
  ) -> None:
2335
- """Inacativate grid inside a polygon.
2335
+ """Inactivate grid inside a polygon.
2336
2336
 
2337
2337
  The Polygons instance may consist of several polygons. If a polygon
2338
2338
  is open, then the flag force_close will close any that are not open
@@ -2359,14 +2359,30 @@ class Grid(_Grid3D):
2359
2359
  layer_range: tuple[int, int] | None = None,
2360
2360
  force_close: bool = False,
2361
2361
  ) -> None:
2362
- """Inacativate grid outside a polygon."""
2362
+ """Inactivate grid outside a polygon."""
2363
2363
  self.inactivate_inside(
2364
2364
  poly, layer_range=layer_range, inside=False, force_close=force_close
2365
2365
  )
2366
2366
 
2367
- def collapse_inactive_cells(self) -> None:
2368
- """Collapse inactive layers where, for I J with other active cells."""
2369
- _grid_etc1.collapse_inactive_cells(self)
2367
+ def collapse_inactive_cells(self, internal: bool = True) -> None:
2368
+ """Collapse inactive layers per I J column (~vertically).
2369
+
2370
+ Seen by I,J column, the inactive cells are collapsed to the first active cell in
2371
+ the column. First transversed from top, then from bottom. If no active cells in
2372
+ the column, the (invisible) Z coordinates are averaged to one common location.
2373
+
2374
+ If `internal` is True (default), then also internal inactive cells (i.e.
2375
+ inactive "hole" surrounded by active cells) are collapsed. In this case the Z
2376
+ coordinates of the adjacent active cells are moved to fill the gap.
2377
+
2378
+ The current grid instance will be updated.
2379
+
2380
+ Args:
2381
+ internal: If True (default), then the internal collapse is also done.
2382
+
2383
+ .. versionchanged:: 4.11 Added ``internal option``, algorithm is improved
2384
+ """
2385
+ _grid_etc1.collapse_inactive_cells(self, internal=internal)
2370
2386
 
2371
2387
  def crop(
2372
2388
  self,
@@ -0,0 +1,220 @@
1
+ // Formatting library for C++ - dynamic argument lists
2
+ //
3
+ // Copyright (c) 2012 - present, Victor Zverovich
4
+ // All rights reserved.
5
+ //
6
+ // For the license information refer to format.h.
7
+
8
+ #ifndef FMT_ARGS_H_
9
+ #define FMT_ARGS_H_
10
+
11
+ #ifndef FMT_MODULE
12
+ # include <functional> // std::reference_wrapper
13
+ # include <memory> // std::unique_ptr
14
+ # include <vector>
15
+ #endif
16
+
17
+ #include "format.h" // std_string_view
18
+
19
+ FMT_BEGIN_NAMESPACE
20
+ namespace detail {
21
+
22
+ template <typename T> struct is_reference_wrapper : std::false_type {};
23
+ template <typename T>
24
+ struct is_reference_wrapper<std::reference_wrapper<T>> : std::true_type {};
25
+
26
+ template <typename T> auto unwrap(const T& v) -> const T& { return v; }
27
+ template <typename T>
28
+ auto unwrap(const std::reference_wrapper<T>& v) -> const T& {
29
+ return static_cast<const T&>(v);
30
+ }
31
+
32
+ // node is defined outside dynamic_arg_list to workaround a C2504 bug in MSVC
33
+ // 2022 (v17.10.0).
34
+ //
35
+ // Workaround for clang's -Wweak-vtables. Unlike for regular classes, for
36
+ // templates it doesn't complain about inability to deduce single translation
37
+ // unit for placing vtable. So node is made a fake template.
38
+ template <typename = void> struct node {
39
+ virtual ~node() = default;
40
+ std::unique_ptr<node<>> next;
41
+ };
42
+
43
+ class dynamic_arg_list {
44
+ template <typename T> struct typed_node : node<> {
45
+ T value;
46
+
47
+ template <typename Arg>
48
+ FMT_CONSTEXPR typed_node(const Arg& arg) : value(arg) {}
49
+
50
+ template <typename Char>
51
+ FMT_CONSTEXPR typed_node(const basic_string_view<Char>& arg)
52
+ : value(arg.data(), arg.size()) {}
53
+ };
54
+
55
+ std::unique_ptr<node<>> head_;
56
+
57
+ public:
58
+ template <typename T, typename Arg> auto push(const Arg& arg) -> const T& {
59
+ auto new_node = std::unique_ptr<typed_node<T>>(new typed_node<T>(arg));
60
+ auto& value = new_node->value;
61
+ new_node->next = std::move(head_);
62
+ head_ = std::move(new_node);
63
+ return value;
64
+ }
65
+ };
66
+ } // namespace detail
67
+
68
+ /**
69
+ * A dynamic list of formatting arguments with storage.
70
+ *
71
+ * It can be implicitly converted into `fmt::basic_format_args` for passing
72
+ * into type-erased formatting functions such as `fmt::vformat`.
73
+ */
74
+ template <typename Context> class dynamic_format_arg_store {
75
+ private:
76
+ using char_type = typename Context::char_type;
77
+
78
+ template <typename T> struct need_copy {
79
+ static constexpr detail::type mapped_type =
80
+ detail::mapped_type_constant<T, char_type>::value;
81
+
82
+ enum {
83
+ value = !(detail::is_reference_wrapper<T>::value ||
84
+ std::is_same<T, basic_string_view<char_type>>::value ||
85
+ std::is_same<T, detail::std_string_view<char_type>>::value ||
86
+ (mapped_type != detail::type::cstring_type &&
87
+ mapped_type != detail::type::string_type &&
88
+ mapped_type != detail::type::custom_type))
89
+ };
90
+ };
91
+
92
+ template <typename T>
93
+ using stored_t = conditional_t<
94
+ std::is_convertible<T, std::basic_string<char_type>>::value &&
95
+ !detail::is_reference_wrapper<T>::value,
96
+ std::basic_string<char_type>, T>;
97
+
98
+ // Storage of basic_format_arg must be contiguous.
99
+ std::vector<basic_format_arg<Context>> data_;
100
+ std::vector<detail::named_arg_info<char_type>> named_info_;
101
+
102
+ // Storage of arguments not fitting into basic_format_arg must grow
103
+ // without relocation because items in data_ refer to it.
104
+ detail::dynamic_arg_list dynamic_args_;
105
+
106
+ friend class basic_format_args<Context>;
107
+
108
+ auto data() const -> const basic_format_arg<Context>* {
109
+ return named_info_.empty() ? data_.data() : data_.data() + 1;
110
+ }
111
+
112
+ template <typename T> void emplace_arg(const T& arg) {
113
+ data_.emplace_back(arg);
114
+ }
115
+
116
+ template <typename T>
117
+ void emplace_arg(const detail::named_arg<char_type, T>& arg) {
118
+ if (named_info_.empty())
119
+ data_.insert(data_.begin(), basic_format_arg<Context>(nullptr, 0));
120
+ data_.emplace_back(detail::unwrap(arg.value));
121
+ auto pop_one = [](std::vector<basic_format_arg<Context>>* data) {
122
+ data->pop_back();
123
+ };
124
+ std::unique_ptr<std::vector<basic_format_arg<Context>>, decltype(pop_one)>
125
+ guard{&data_, pop_one};
126
+ named_info_.push_back({arg.name, static_cast<int>(data_.size() - 2u)});
127
+ data_[0] = {named_info_.data(), named_info_.size()};
128
+ guard.release();
129
+ }
130
+
131
+ public:
132
+ constexpr dynamic_format_arg_store() = default;
133
+
134
+ operator basic_format_args<Context>() const {
135
+ return basic_format_args<Context>(data(), static_cast<int>(data_.size()),
136
+ !named_info_.empty());
137
+ }
138
+
139
+ /**
140
+ * Adds an argument into the dynamic store for later passing to a formatting
141
+ * function.
142
+ *
143
+ * Note that custom types and string types (but not string views) are copied
144
+ * into the store dynamically allocating memory if necessary.
145
+ *
146
+ * **Example**:
147
+ *
148
+ * fmt::dynamic_format_arg_store<fmt::format_context> store;
149
+ * store.push_back(42);
150
+ * store.push_back("abc");
151
+ * store.push_back(1.5f);
152
+ * std::string result = fmt::vformat("{} and {} and {}", store);
153
+ */
154
+ template <typename T> void push_back(const T& arg) {
155
+ if (detail::const_check(need_copy<T>::value))
156
+ emplace_arg(dynamic_args_.push<stored_t<T>>(arg));
157
+ else
158
+ emplace_arg(detail::unwrap(arg));
159
+ }
160
+
161
+ /**
162
+ * Adds a reference to the argument into the dynamic store for later passing
163
+ * to a formatting function.
164
+ *
165
+ * **Example**:
166
+ *
167
+ * fmt::dynamic_format_arg_store<fmt::format_context> store;
168
+ * char band[] = "Rolling Stones";
169
+ * store.push_back(std::cref(band));
170
+ * band[9] = 'c'; // Changing str affects the output.
171
+ * std::string result = fmt::vformat("{}", store);
172
+ * // result == "Rolling Scones"
173
+ */
174
+ template <typename T> void push_back(std::reference_wrapper<T> arg) {
175
+ static_assert(
176
+ need_copy<T>::value,
177
+ "objects of built-in types and string views are always copied");
178
+ emplace_arg(arg.get());
179
+ }
180
+
181
+ /**
182
+ * Adds named argument into the dynamic store for later passing to a
183
+ * formatting function. `std::reference_wrapper` is supported to avoid
184
+ * copying of the argument. The name is always copied into the store.
185
+ */
186
+ template <typename T>
187
+ void push_back(const detail::named_arg<char_type, T>& arg) {
188
+ const char_type* arg_name =
189
+ dynamic_args_.push<std::basic_string<char_type>>(arg.name).c_str();
190
+ if (detail::const_check(need_copy<T>::value)) {
191
+ emplace_arg(
192
+ fmt::arg(arg_name, dynamic_args_.push<stored_t<T>>(arg.value)));
193
+ } else {
194
+ emplace_arg(fmt::arg(arg_name, arg.value));
195
+ }
196
+ }
197
+
198
+ /// Erase all elements from the store.
199
+ void clear() {
200
+ data_.clear();
201
+ named_info_.clear();
202
+ dynamic_args_ = {};
203
+ }
204
+
205
+ /// Reserves space to store at least `new_cap` arguments including
206
+ /// `new_cap_named` named arguments.
207
+ void reserve(size_t new_cap, size_t new_cap_named) {
208
+ FMT_ASSERT(new_cap >= new_cap_named,
209
+ "set of arguments includes set of named arguments");
210
+ data_.reserve(new_cap);
211
+ named_info_.reserve(new_cap_named);
212
+ }
213
+
214
+ /// Returns the number of elements in the store.
215
+ size_t size() const noexcept { return data_.size(); }
216
+ };
217
+
218
+ FMT_END_NAMESPACE
219
+
220
+ #endif // FMT_ARGS_H_