medcoupling 9.11.0__cp311-cp311-win_amd64.whl → 9.15.0__cp311-cp311-win_amd64.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.
MEDCouplingCompat.py CHANGED
@@ -777,6 +777,13 @@ class RefCountObject(RefCountObjectOnly, BigMemoryObject):
777
777
  """
778
778
  return _MEDCouplingCompat.RefCountObject_getHiddenCppPointer(self)
779
779
 
780
+ def getHiddenCppPointerAsLongLong(self):
781
+ r"""
782
+ getHiddenCppPointerAsLongLong(RefCountObject self) -> long long
783
+ 1
784
+ """
785
+ return _MEDCouplingCompat.RefCountObject_getHiddenCppPointerAsLongLong(self)
786
+
780
787
  # Register RefCountObject in _MEDCouplingCompat:
781
788
  _MEDCouplingCompat.RefCountObject_swigregister(RefCountObject)
782
789
  class GlobalDict(object):
@@ -1618,6 +1625,21 @@ class DataArrayFloat(DataArray):
1618
1625
  """
1619
1626
  return _MEDCouplingCompat.DataArrayFloat_Meld(a1, a2)
1620
1627
 
1628
+ @staticmethod
1629
+ def LoadForDbg(fileName):
1630
+ r"""
1631
+ LoadForDbg(std::string const & fileName) -> MCAuto< MEDCoupling::DataArrayFloat >
1632
+ 1
1633
+ """
1634
+ return _MEDCouplingCompat.DataArrayFloat_LoadForDbg(fileName)
1635
+
1636
+ def writeForDbg(self, fileName):
1637
+ r"""
1638
+ writeForDbg(DataArrayFloat self, std::string const & fileName)
1639
+ 1
1640
+ """
1641
+ return _MEDCouplingCompat.DataArrayFloat_writeForDbg(self, fileName)
1642
+
1621
1643
  @staticmethod
1622
1644
  def New(*args):
1623
1645
  r"""
@@ -2029,6 +2051,13 @@ class DataArrayDouble(DataArray):
2029
2051
  """
2030
2052
  return _MEDCouplingCompat.DataArrayDouble_duplicateEachTupleNTimes(self, nbTimes)
2031
2053
 
2054
+ def duplicateNTimes(self, nbTimes):
2055
+ r"""
2056
+ duplicateNTimes(DataArrayDouble self, mcIdType nbTimes) -> MCAuto< MEDCoupling::DataArrayDouble >
2057
+ 1
2058
+ """
2059
+ return _MEDCouplingCompat.DataArrayDouble_duplicateNTimes(self, nbTimes)
2060
+
2032
2061
  def getDifferentValues(self, prec, limitTupleId=-1):
2033
2062
  r"""
2034
2063
  getDifferentValues(DataArrayDouble self, double prec, int limitTupleId=-1) -> DataArrayDouble
@@ -2629,6 +2658,21 @@ class DataArrayDouble(DataArray):
2629
2658
  """
2630
2659
  return _MEDCouplingCompat.DataArrayDouble_convertToFloatArr(self)
2631
2660
 
2661
+ @staticmethod
2662
+ def LoadForDbg(fileName):
2663
+ r"""
2664
+ LoadForDbg(std::string const & fileName) -> MCAuto< MEDCoupling::DataArrayDouble >
2665
+ 1
2666
+ """
2667
+ return _MEDCouplingCompat.DataArrayDouble_LoadForDbg(fileName)
2668
+
2669
+ def writeForDbg(self, fileName):
2670
+ r"""
2671
+ writeForDbg(DataArrayDouble self, std::string const & fileName)
2672
+ 1
2673
+ """
2674
+ return _MEDCouplingCompat.DataArrayDouble_writeForDbg(self, fileName)
2675
+
2632
2676
  @staticmethod
2633
2677
  def New(*args):
2634
2678
  r"""
@@ -3522,6 +3566,14 @@ class DataArrayByte(DataArrayChar):
3522
3566
  """
3523
3567
  return _MEDCouplingCompat.DataArrayByte_byteValue(self)
3524
3568
 
3569
+ @staticmethod
3570
+ def LoadForDbg(fileName):
3571
+ r"""
3572
+ LoadForDbg(std::string const & fileName) -> MCAuto< MEDCoupling::DataArrayByte >
3573
+ 1
3574
+ """
3575
+ return _MEDCouplingCompat.DataArrayByte_LoadForDbg(fileName)
3576
+
3525
3577
  @staticmethod
3526
3578
  def New(*args):
3527
3579
  r"""
@@ -4486,6 +4538,13 @@ class DataArrayInt32(DataArray):
4486
4538
  """
4487
4539
  return _MEDCouplingCompat.DataArrayInt32_abs(self)
4488
4540
 
4541
+ def sortPerTuple(self, asc):
4542
+ r"""
4543
+ sortPerTuple(DataArrayInt32 self, bool asc)
4544
+ 1
4545
+ """
4546
+ return _MEDCouplingCompat.DataArrayInt32_sortPerTuple(self, asc)
4547
+
4489
4548
  def computeAbs(self):
4490
4549
  r"""
4491
4550
  computeAbs(DataArrayInt32 self) -> DataArrayInt32
@@ -4713,6 +4772,13 @@ class DataArrayInt32(DataArray):
4713
4772
  """
4714
4773
  return _MEDCouplingCompat.DataArrayInt32_duplicateEachTupleNTimes(self, nbTimes)
4715
4774
 
4775
+ def duplicateNTimes(self, nbTimes):
4776
+ r"""
4777
+ duplicateNTimes(DataArrayInt32 self, mcIdType nbTimes) -> MCAuto< MEDCoupling::DataArrayInt32 >
4778
+ 1
4779
+ """
4780
+ return _MEDCouplingCompat.DataArrayInt32_duplicateNTimes(self, nbTimes)
4781
+
4716
4782
  def getDifferentValues(self):
4717
4783
  r"""
4718
4784
  getDifferentValues(DataArrayInt32 self) -> DataArrayInt32
@@ -4810,6 +4876,21 @@ class DataArrayInt32(DataArray):
4810
4876
  """
4811
4877
  return _MEDCouplingCompat.DataArrayInt32_powEqual(self, other)
4812
4878
 
4879
+ @staticmethod
4880
+ def LoadForDbg(fileName):
4881
+ r"""
4882
+ LoadForDbg(std::string const & fileName) -> MCAuto< MEDCoupling::DataArrayInt32 >
4883
+ 1
4884
+ """
4885
+ return _MEDCouplingCompat.DataArrayInt32_LoadForDbg(fileName)
4886
+
4887
+ def writeForDbg(self, fileName):
4888
+ r"""
4889
+ writeForDbg(DataArrayInt32 self, std::string const & fileName)
4890
+ 1
4891
+ """
4892
+ return _MEDCouplingCompat.DataArrayInt32_writeForDbg(self, fileName)
4893
+
4813
4894
  def fromLinkedListOfPairToList(self):
4814
4895
  r"""
4815
4896
  fromLinkedListOfPairToList(DataArrayInt32 self) -> MCAuto< MEDCoupling::DataArrayInt32 >
@@ -5361,6 +5442,20 @@ class DataArrayInt32(DataArray):
5361
5442
  """
5362
5443
  return _MEDCouplingCompat.DataArrayInt32_findIdsRangesInListOfIds(self, listOfIds)
5363
5444
 
5445
+ def forThisAsPartitionBuildReduction(self, commonEntities, commonEntitiesIndex):
5446
+ r"""
5447
+ forThisAsPartitionBuildReduction(DataArrayInt32 self, DataArrayInt32 commonEntities, DataArrayInt32 commonEntitiesIndex) -> PyObject *
5448
+ 1
5449
+ """
5450
+ return _MEDCouplingCompat.DataArrayInt32_forThisAsPartitionBuildReduction(self, commonEntities, commonEntitiesIndex)
5451
+
5452
+ def fromListOfPairsToIndexArray(self):
5453
+ r"""
5454
+ fromListOfPairsToIndexArray(DataArrayInt32 self) -> PyObject *
5455
+ 1
5456
+ """
5457
+ return _MEDCouplingCompat.DataArrayInt32_fromListOfPairsToIndexArray(self)
5458
+
5364
5459
  def isRange(self):
5365
5460
  r"""
5366
5461
  isRange(DataArrayInt32 self) -> PyObject *
@@ -5376,6 +5471,13 @@ class DataArrayInt32(DataArray):
5376
5471
  """
5377
5472
  return _MEDCouplingCompat.DataArrayInt32_RemoveIdsFromIndexedArrays(li, arr, arrIndx, offsetForRemoval)
5378
5473
 
5474
+ def findCommonTuples(self, limitNodeId=-1):
5475
+ r"""
5476
+ findCommonTuples(DataArrayInt32 self, mcIdType limitNodeId=-1) -> PyObject
5477
+ 1
5478
+ """
5479
+ return _MEDCouplingCompat.DataArrayInt32_findCommonTuples(self, limitNodeId)
5480
+
5379
5481
  @staticmethod
5380
5482
  def ExtractFromIndexedArrays(li, arrIn, arrIndxIn):
5381
5483
  r"""
@@ -5401,6 +5503,30 @@ class DataArrayInt32(DataArray):
5401
5503
  """
5402
5504
  return _MEDCouplingCompat.DataArrayInt32_SetPartOfIndexedArrays(li, arrIn, arrIndxIn, srcArr, srcArrIndex)
5403
5505
 
5506
+ @staticmethod
5507
+ def FromVTKInternalReprOfPolyedra(arrIn, arrIndxIn):
5508
+ r"""
5509
+ FromVTKInternalReprOfPolyedra(DataArrayInt32 arrIn, DataArrayInt32 arrIndxIn) -> PyObject *
5510
+ 1
5511
+ """
5512
+ return _MEDCouplingCompat.DataArrayInt32_FromVTKInternalReprOfPolyedra(arrIn, arrIndxIn)
5513
+
5514
+ @staticmethod
5515
+ def FromVTK94InternalReprOfPolyedra(arrIn, arrIndxIn, arrIndxIn2):
5516
+ r"""
5517
+ FromVTK94InternalReprOfPolyedra(DataArrayInt32 arrIn, DataArrayInt32 arrIndxIn, DataArrayInt32 arrIndxIn2) -> PyObject *
5518
+ 1
5519
+ """
5520
+ return _MEDCouplingCompat.DataArrayInt32_FromVTK94InternalReprOfPolyedra(arrIn, arrIndxIn, arrIndxIn2)
5521
+
5522
+ @staticmethod
5523
+ def FromVTK93To94FacesInternaReprOfPolyedra(arrIn, arrIndxIn):
5524
+ r"""
5525
+ FromVTK93To94FacesInternaReprOfPolyedra(DataArrayInt32 arrIn, DataArrayInt32 arrIndxIn) -> PyObject *
5526
+ 1
5527
+ """
5528
+ return _MEDCouplingCompat.DataArrayInt32_FromVTK93To94FacesInternaReprOfPolyedra(arrIn, arrIndxIn)
5529
+
5404
5530
  @staticmethod
5405
5531
  def SetPartOfIndexedArraysSameIdx(li, arrIn, arrIndxIn, srcArr, srcArrIndex):
5406
5532
  r"""
@@ -6085,6 +6211,13 @@ class DataArrayInt64(DataArray):
6085
6211
  """
6086
6212
  return _MEDCouplingCompat.DataArrayInt64_abs(self)
6087
6213
 
6214
+ def sortPerTuple(self, asc):
6215
+ r"""
6216
+ sortPerTuple(DataArrayInt64 self, bool asc)
6217
+ 1
6218
+ """
6219
+ return _MEDCouplingCompat.DataArrayInt64_sortPerTuple(self, asc)
6220
+
6088
6221
  def computeAbs(self):
6089
6222
  r"""
6090
6223
  computeAbs(DataArrayInt64 self) -> DataArrayInt64
@@ -6312,6 +6445,13 @@ class DataArrayInt64(DataArray):
6312
6445
  """
6313
6446
  return _MEDCouplingCompat.DataArrayInt64_duplicateEachTupleNTimes(self, nbTimes)
6314
6447
 
6448
+ def duplicateNTimes(self, nbTimes):
6449
+ r"""
6450
+ duplicateNTimes(DataArrayInt64 self, mcIdType nbTimes) -> MCAuto< MEDCoupling::DataArrayInt64 >
6451
+ 1
6452
+ """
6453
+ return _MEDCouplingCompat.DataArrayInt64_duplicateNTimes(self, nbTimes)
6454
+
6315
6455
  def getDifferentValues(self):
6316
6456
  r"""
6317
6457
  getDifferentValues(DataArrayInt64 self) -> DataArrayInt64
@@ -6409,6 +6549,21 @@ class DataArrayInt64(DataArray):
6409
6549
  """
6410
6550
  return _MEDCouplingCompat.DataArrayInt64_powEqual(self, other)
6411
6551
 
6552
+ @staticmethod
6553
+ def LoadForDbg(fileName):
6554
+ r"""
6555
+ LoadForDbg(std::string const & fileName) -> MCAuto< MEDCoupling::DataArrayInt64 >
6556
+ 1
6557
+ """
6558
+ return _MEDCouplingCompat.DataArrayInt64_LoadForDbg(fileName)
6559
+
6560
+ def writeForDbg(self, fileName):
6561
+ r"""
6562
+ writeForDbg(DataArrayInt64 self, std::string const & fileName)
6563
+ 1
6564
+ """
6565
+ return _MEDCouplingCompat.DataArrayInt64_writeForDbg(self, fileName)
6566
+
6412
6567
  def fromLinkedListOfPairToList(self):
6413
6568
  r"""
6414
6569
  fromLinkedListOfPairToList(DataArrayInt64 self) -> MCAuto< MEDCoupling::DataArrayInt64 >
@@ -6960,6 +7115,20 @@ class DataArrayInt64(DataArray):
6960
7115
  """
6961
7116
  return _MEDCouplingCompat.DataArrayInt64_findIdsRangesInListOfIds(self, listOfIds)
6962
7117
 
7118
+ def forThisAsPartitionBuildReduction(self, commonEntities, commonEntitiesIndex):
7119
+ r"""
7120
+ forThisAsPartitionBuildReduction(DataArrayInt64 self, DataArrayInt32 commonEntities, DataArrayInt32 commonEntitiesIndex) -> PyObject *
7121
+ 1
7122
+ """
7123
+ return _MEDCouplingCompat.DataArrayInt64_forThisAsPartitionBuildReduction(self, commonEntities, commonEntitiesIndex)
7124
+
7125
+ def fromListOfPairsToIndexArray(self):
7126
+ r"""
7127
+ fromListOfPairsToIndexArray(DataArrayInt64 self) -> PyObject *
7128
+ 1
7129
+ """
7130
+ return _MEDCouplingCompat.DataArrayInt64_fromListOfPairsToIndexArray(self)
7131
+
6963
7132
  def isRange(self):
6964
7133
  r"""
6965
7134
  isRange(DataArrayInt64 self) -> PyObject *
@@ -6975,6 +7144,13 @@ class DataArrayInt64(DataArray):
6975
7144
  """
6976
7145
  return _MEDCouplingCompat.DataArrayInt64_RemoveIdsFromIndexedArrays(li, arr, arrIndx, offsetForRemoval)
6977
7146
 
7147
+ def findCommonTuples(self, limitNodeId=-1):
7148
+ r"""
7149
+ findCommonTuples(DataArrayInt64 self, mcIdType limitNodeId=-1) -> PyObject
7150
+ 1
7151
+ """
7152
+ return _MEDCouplingCompat.DataArrayInt64_findCommonTuples(self, limitNodeId)
7153
+
6978
7154
  @staticmethod
6979
7155
  def ExtractFromIndexedArrays(li, arrIn, arrIndxIn):
6980
7156
  r"""
@@ -7000,6 +7176,30 @@ class DataArrayInt64(DataArray):
7000
7176
  """
7001
7177
  return _MEDCouplingCompat.DataArrayInt64_SetPartOfIndexedArrays(li, arrIn, arrIndxIn, srcArr, srcArrIndex)
7002
7178
 
7179
+ @staticmethod
7180
+ def FromVTKInternalReprOfPolyedra(arrIn, arrIndxIn):
7181
+ r"""
7182
+ FromVTKInternalReprOfPolyedra(DataArrayInt64 arrIn, DataArrayInt32 arrIndxIn) -> PyObject *
7183
+ 1
7184
+ """
7185
+ return _MEDCouplingCompat.DataArrayInt64_FromVTKInternalReprOfPolyedra(arrIn, arrIndxIn)
7186
+
7187
+ @staticmethod
7188
+ def FromVTK94InternalReprOfPolyedra(arrIn, arrIndxIn, arrIndxIn2):
7189
+ r"""
7190
+ FromVTK94InternalReprOfPolyedra(DataArrayInt64 arrIn, DataArrayInt32 arrIndxIn, DataArrayInt32 arrIndxIn2) -> PyObject *
7191
+ 1
7192
+ """
7193
+ return _MEDCouplingCompat.DataArrayInt64_FromVTK94InternalReprOfPolyedra(arrIn, arrIndxIn, arrIndxIn2)
7194
+
7195
+ @staticmethod
7196
+ def FromVTK93To94FacesInternaReprOfPolyedra(arrIn, arrIndxIn):
7197
+ r"""
7198
+ FromVTK93To94FacesInternaReprOfPolyedra(DataArrayInt64 arrIn, DataArrayInt32 arrIndxIn) -> PyObject *
7199
+ 1
7200
+ """
7201
+ return _MEDCouplingCompat.DataArrayInt64_FromVTK93To94FacesInternaReprOfPolyedra(arrIn, arrIndxIn)
7202
+
7003
7203
  @staticmethod
7004
7204
  def SetPartOfIndexedArraysSameIdx(li, arrIn, arrIndxIn, srcArr, srcArrIndex):
7005
7205
  r"""
@@ -9082,6 +9282,13 @@ class MEDCouplingFieldDiscretizationOnNodesFE(MEDCouplingFieldDiscretizationOnNo
9082
9282
  1
9083
9283
  """
9084
9284
  return _MEDCouplingCompat.MEDCouplingFieldDiscretizationOnNodesFE_getCooInRefElement(self, mesh, locs)
9285
+
9286
+ def getClosestCooInRefElement(self, mesh, locs):
9287
+ r"""
9288
+ getClosestCooInRefElement(MEDCouplingFieldDiscretizationOnNodesFE self, MEDCouplingMesh mesh, PyObject * locs) -> DataArrayDouble
9289
+ 1
9290
+ """
9291
+ return _MEDCouplingCompat.MEDCouplingFieldDiscretizationOnNodesFE_getClosestCooInRefElement(self, mesh, locs)
9085
9292
  __swig_destroy__ = _MEDCouplingCompat.delete_MEDCouplingFieldDiscretizationOnNodesFE
9086
9293
 
9087
9294
  # Register MEDCouplingFieldDiscretizationOnNodesFE in _MEDCouplingCompat:
@@ -10042,6 +10249,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10042
10249
  """
10043
10250
  return _MEDCouplingCompat.MEDCouplingUMesh_changeOrientationOfCells(self)
10044
10251
 
10252
+ def orientCorrectly3DCells(self):
10253
+ r"""
10254
+ orientCorrectly3DCells(MEDCouplingUMesh self)
10255
+ 1
10256
+ """
10257
+ return _MEDCouplingCompat.MEDCouplingUMesh_orientCorrectly3DCells(self)
10258
+
10045
10259
  def computeCellCenterOfMassWithPrecision(self, eps):
10046
10260
  r"""
10047
10261
  computeCellCenterOfMassWithPrecision(MEDCouplingUMesh self, double eps) -> DataArrayDouble
@@ -10117,6 +10331,20 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10117
10331
  """
10118
10332
  return _MEDCouplingCompat.MEDCouplingUMesh_Build1DMeshFromCoords(da)
10119
10333
 
10334
+ def convertToQuadraticBasedOnSeg3(self, seg3):
10335
+ r"""
10336
+ convertToQuadraticBasedOnSeg3(MEDCouplingUMesh self, MEDCoupling1SGTUMesh * seg3) -> MEDCouplingUMesh
10337
+ 1
10338
+ """
10339
+ return _MEDCouplingCompat.MEDCouplingUMesh_convertToQuadraticBasedOnSeg3(self, seg3)
10340
+
10341
+ def extrudeConnectivity(self, nbOfCellsToExtrude):
10342
+ r"""
10343
+ extrudeConnectivity(MEDCouplingUMesh self, mcIdType nbOfCellsToExtrude) -> MEDCouplingUMesh
10344
+ 1
10345
+ """
10346
+ return _MEDCouplingCompat.MEDCouplingUMesh_extrudeConnectivity(self, nbOfCellsToExtrude)
10347
+
10120
10348
  def getAllGeoTypesSorted(self):
10121
10349
  r"""
10122
10350
  getAllGeoTypesSorted(MEDCouplingUMesh self) -> PyObject *
@@ -10404,6 +10632,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10632
  """
10405
10633
  return _MEDCouplingCompat.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10634
 
10635
+ def explodeMeshTo(self, targetDeltaLevel):
10636
+ r"""
10637
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10638
+ 1
10639
+ """
10640
+ return _MEDCouplingCompat.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10641
+
10407
10642
  def explodeIntoEdges(self):
10408
10643
  r"""
10409
10644
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *