medcoupling 9.11.0__cp39-cp39-win_amd64.whl → 9.13.0__cp39-cp39-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.
CaseIO.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: iso-8859-1 -*-
2
- # Copyright (C) 2007-2023 CEA, EDF
2
+ # Copyright (C) 2007-2024 CEA, EDF
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
CaseReader.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: iso-8859-1 -*-
2
- # Copyright (C) 2007-2023 CEA, EDF
2
+ # Copyright (C) 2007-2024 CEA, EDF
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
CaseWriter.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: iso-8859-1 -*-
2
- # Copyright (C) 2007-2023 CEA, EDF
2
+ # Copyright (C) 2007-2024 CEA, EDF
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
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):
@@ -10404,6 +10411,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10411
  """
10405
10412
  return _MEDCouplingCompat.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10413
 
10414
+ def explodeMeshTo(self, targetDeltaLevel):
10415
+ r"""
10416
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10417
+ 1
10418
+ """
10419
+ return _MEDCouplingCompat.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10420
+
10407
10421
  def explodeIntoEdges(self):
10408
10422
  r"""
10409
10423
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *
MEDCouplingRemapper.py CHANGED
@@ -777,6 +777,13 @@ class RefCountObject(RefCountObjectOnly, BigMemoryObject):
777
777
  """
778
778
  return _MEDCouplingRemapper.RefCountObject_getHiddenCppPointer(self)
779
779
 
780
+ def getHiddenCppPointerAsLongLong(self):
781
+ r"""
782
+ getHiddenCppPointerAsLongLong(RefCountObject self) -> long long
783
+ 1
784
+ """
785
+ return _MEDCouplingRemapper.RefCountObject_getHiddenCppPointerAsLongLong(self)
786
+
780
787
  # Register RefCountObject in _MEDCouplingRemapper:
781
788
  _MEDCouplingRemapper.RefCountObject_swigregister(RefCountObject)
782
789
  class GlobalDict(object):
@@ -10404,6 +10411,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10411
  """
10405
10412
  return _MEDCouplingRemapper.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10413
 
10414
+ def explodeMeshTo(self, targetDeltaLevel):
10415
+ r"""
10416
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10417
+ 1
10418
+ """
10419
+ return _MEDCouplingRemapper.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10420
+
10407
10421
  def explodeIntoEdges(self):
10408
10422
  r"""
10409
10423
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *
MEDLoader.py CHANGED
@@ -777,6 +777,13 @@ class RefCountObject(RefCountObjectOnly, BigMemoryObject):
777
777
  """
778
778
  return _MEDLoader.RefCountObject_getHiddenCppPointer(self)
779
779
 
780
+ def getHiddenCppPointerAsLongLong(self):
781
+ r"""
782
+ getHiddenCppPointerAsLongLong(RefCountObject self) -> long long
783
+ 1
784
+ """
785
+ return _MEDLoader.RefCountObject_getHiddenCppPointerAsLongLong(self)
786
+
780
787
  # Register RefCountObject in _MEDLoader:
781
788
  _MEDLoader.RefCountObject_swigregister(RefCountObject)
782
789
  class GlobalDict(object):
@@ -10404,6 +10411,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10411
  """
10405
10412
  return _MEDLoader.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10413
 
10414
+ def explodeMeshTo(self, targetDeltaLevel):
10415
+ r"""
10416
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10417
+ 1
10418
+ """
10419
+ return _MEDLoader.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10420
+
10407
10421
  def explodeIntoEdges(self):
10408
10422
  r"""
10409
10423
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *
@@ -17313,6 +17327,13 @@ class MEDFileUMesh(MEDFileMesh):
17313
17327
  """
17314
17328
  return _MEDLoader.MEDFileUMesh_getLevelM3Mesh(self, renum)
17315
17329
 
17330
+ def declarePartsUpdated(self):
17331
+ r"""
17332
+ declarePartsUpdated(MEDFileUMesh self)
17333
+ 1
17334
+ """
17335
+ return _MEDLoader.MEDFileUMesh_declarePartsUpdated(self)
17336
+
17316
17337
  def forceComputationOfParts(self):
17317
17338
  r"""
17318
17339
  forceComputationOfParts(MEDFileUMesh self)
@@ -17574,6 +17595,20 @@ class MEDFileUMesh(MEDFileMesh):
17574
17595
  """
17575
17596
  return _MEDLoader.MEDFileUMesh_buildInnerBoundaryAlongM1Group(self, grpNameM1)
17576
17597
 
17598
+ def crackAlong(self, grpNameM1, grpMustBeFullyDup=True):
17599
+ r"""
17600
+ crackAlong(MEDFileUMesh self, std::string const & grpNameM1, bool grpMustBeFullyDup=True) -> PyObject
17601
+ 1
17602
+ """
17603
+ return _MEDLoader.MEDFileUMesh_crackAlong(self, grpNameM1, grpMustBeFullyDup)
17604
+
17605
+ def openCrack(self, c2o2nNPy, factor=0.9):
17606
+ r"""
17607
+ openCrack(MEDFileUMesh self, PyObject * c2o2nNPy, double factor=0.9)
17608
+ 1
17609
+ """
17610
+ return _MEDLoader.MEDFileUMesh_openCrack(self, c2o2nNPy, factor)
17611
+
17577
17612
  def getDirectUndergroundSingleGeoTypeMesh(self, gt):
17578
17613
  r"""
17579
17614
  getDirectUndergroundSingleGeoTypeMesh(MEDFileUMesh self, INTERP_KERNEL::NormalizedCellType gt) -> MEDCoupling1GTUMesh
@@ -18549,6 +18584,13 @@ class MEDFileAnyTypeField1TS(RefCountObject, MEDFileFieldGlobsReal, MEDFileWrita
18549
18584
  """
18550
18585
  return _MEDLoader.MEDFileAnyTypeField1TS_getDtIt(self)
18551
18586
 
18587
+ def buildNewEmpty(self):
18588
+ r"""
18589
+ buildNewEmpty(MEDFileAnyTypeField1TS self) -> MEDFileAnyTypeField1TS
18590
+ 1
18591
+ """
18592
+ return _MEDLoader.MEDFileAnyTypeField1TS_buildNewEmpty(self)
18593
+
18552
18594
  def setProfileNameOnLeaf(self, typ, locId, newPflName, forceRenameOnGlob=False):
18553
18595
  r"""
18554
18596
  setProfileNameOnLeaf(MEDFileAnyTypeField1TS self, INTERP_KERNEL::NormalizedCellType typ, int locId, std::string const & newPflName, bool forceRenameOnGlob=False)
@@ -21569,10 +21611,10 @@ class MeshFormatWriter(object):
21569
21611
  _MEDLoader.MeshFormatWriter_swigregister(MeshFormatWriter)
21570
21612
 
21571
21613
  def enter1TS(self):
21572
- self.loadArrays()
21614
+ self.loadArraysIfNecessary()
21573
21615
  pass
21574
21616
  def exit1TS(self, exctype, exc, tb):
21575
- self.unloadArrays()
21617
+ self.unloadArraysWithoutDataLoss()
21576
21618
  pass
21577
21619
  MEDFileAnyTypeField1TS.__enter__=enter1TS
21578
21620
  MEDFileAnyTypeField1TS.__exit__=exit1TS
@@ -21890,6 +21932,9 @@ del MEDCouplingMappedExtrudedMeshReduce
21890
21932
  del MEDCouplingUMeshReduce
21891
21933
 
21892
21934
 
21935
+ import MEDLoaderFinalize
21936
+ MEDFileUMesh.reduceToCells = MEDLoaderFinalize.MEDFileUMeshReduceToCells
21937
+ del MEDLoaderFinalize
21893
21938
  MEDFileMeshesIterator.__next__ = MEDFileMeshesIterator.next
21894
21939
  MEDFileAnyTypeFieldMultiTSIterator.__next__ = MEDFileAnyTypeFieldMultiTSIterator.next
21895
21940
  MEDFileFieldsIterator.__next__ = MEDFileFieldsIterator.next
MEDLoaderFinalize.py ADDED
@@ -0,0 +1,66 @@
1
+ # -*- coding: iso-8859-1 -*-
2
+ # Copyright (C) 2023-2024 CEA, EDF
3
+ #
4
+ # This library is free software; you can redistribute it and/or
5
+ # modify it under the terms of the GNU Lesser General Public
6
+ # License as published by the Free Software Foundation; either
7
+ # version 2.1 of the License, or (at your option) any later version.
8
+ #
9
+ # This library is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ # Lesser General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU Lesser General Public
15
+ # License along with this library; if not, write to the Free Software
16
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
+ #
18
+ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
+ #
20
+
21
+ def MEDFileUMeshReduceToCells(self, level, keepCells, removeOrphanNodes=True):
22
+ """
23
+ Method returning a new MEDFileUMesh, restriction of self to level and keepCell cells at this level.
24
+ This method also
25
+
26
+ :param level: Specifies the top level of the returned MEDFileUMesh expected
27
+ :param keepCells: A DataArrayInt specifying cell ids at level level of self
28
+ :param removeOrphanNodes: Specifies if orphan nodes should be removed at the end
29
+
30
+ see also MEDFileUMesh.extractPart
31
+ """
32
+ import MEDLoader as ml
33
+ subLevs = [l for l in self.getNonEmptyLevels() if l<=level]
34
+ subMeshes = [self[lev] for lev in subLevs]
35
+ allFamilyFields = [self.getFamilyFieldAtLevel(lev) for lev in subLevs]
36
+ allRefMesh = subMeshes[0]
37
+ refMesh = allRefMesh[keepCells]
38
+
39
+ mmOut = ml.MEDFileUMesh()
40
+ # level 0
41
+ mmOut[0] = refMesh
42
+ mmOut.setFamilyFieldArr(0,allFamilyFields[0][keepCells])
43
+
44
+ # subLevels
45
+ for curLev,meshLev,famFieldLev in zip(subLevs[1:],subMeshes[1:],allFamilyFields[1:]):
46
+ allMeshLev,d,di, rd,rdi = allRefMesh.explodeMeshTo( curLev-level )
47
+ a,b = allMeshLev.areCellsIncludedIn(meshLev,2)
48
+ if not a:
49
+ raise RuntimeError("Error in mesh {}")
50
+ dlev,dlevi = ml.DataArrayInt.ExtractFromIndexedArrays( keepCells, d,di )
51
+ dlev2 = dlev.buildUniqueNotSorted()
52
+ cellsToKeepLev = ml.DataArrayInt.BuildIntersection([dlev2,b])
53
+ cellsToKeepLev = b.indicesOfSubPart(cellsToKeepLev)
54
+ cellsToKeepLev.sort()
55
+ mmOut[curLev] = meshLev[cellsToKeepLev]
56
+ mmOut.setFamilyFieldArr(curLev,famFieldLev[cellsToKeepLev])
57
+
58
+ allFamNodes = mmOut.getFamilyFieldAtLevel(1)
59
+ if allFamNodes:
60
+ mmOut.setFamilyFieldArr(1,allFamNodes[:])
61
+
62
+ if removeOrphanNodes:
63
+ mmOut.zipCoords()
64
+
65
+ mmOut.copyFamGrpMapsFrom(self)
66
+ return mmOut
MEDLoaderSplitter.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: iso-8859-1 -*-
2
- # Copyright (C) 2007-2023 CEA, EDF
2
+ # Copyright (C) 2007-2024 CEA, EDF
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
MEDRenumber.py CHANGED
@@ -777,6 +777,13 @@ class RefCountObject(RefCountObjectOnly, BigMemoryObject):
777
777
  """
778
778
  return _MEDRenumber.RefCountObject_getHiddenCppPointer(self)
779
779
 
780
+ def getHiddenCppPointerAsLongLong(self):
781
+ r"""
782
+ getHiddenCppPointerAsLongLong(RefCountObject self) -> long long
783
+ 1
784
+ """
785
+ return _MEDRenumber.RefCountObject_getHiddenCppPointerAsLongLong(self)
786
+
780
787
  # Register RefCountObject in _MEDRenumber:
781
788
  _MEDRenumber.RefCountObject_swigregister(RefCountObject)
782
789
  class GlobalDict(object):
@@ -10404,6 +10411,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10411
  """
10405
10412
  return _MEDRenumber.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10413
 
10414
+ def explodeMeshTo(self, targetDeltaLevel):
10415
+ r"""
10416
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10417
+ 1
10418
+ """
10419
+ return _MEDRenumber.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10420
+
10407
10421
  def explodeIntoEdges(self):
10408
10422
  r"""
10409
10423
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *
VTKReader.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: iso-8859-1 -*-
2
- # Copyright (C) 2007-2023 CEA, EDF
2
+ # Copyright (C) 2007-2024 CEA, EDF
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
5
5
  # modify it under the terms of the GNU Lesser General Public
_MEDCouplingCompat.pyd CHANGED
Binary file
_MEDCouplingRemapper.pyd CHANGED
Binary file
_MEDLoader.pyd CHANGED
Binary file
_MEDPartitioner.pyd CHANGED
Binary file
_MEDRenumber.pyd CHANGED
Binary file
_medcoupling.pyd CHANGED
Binary file
geom2medcoupling.py CHANGED
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env python3
2
2
  # -*- coding: utf-8 -*-
3
- # Copyright (C) 2021-2023 CEA, EDF
3
+ # Copyright (C) 2021-2024 CEA, EDF
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
hdf5.dll CHANGED
Binary file
interpkernel.dll CHANGED
Binary file
libxml2.dll CHANGED
Binary file
medC.dll CHANGED
Binary file
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 1.2
2
+ Name: medcoupling
3
+ Version: 9.13.0
4
+ Summary: Powerful library to manipulate meshes and fields
5
+ Home-page: https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/index.html
6
+ Author: EDF R&D
7
+ Author-email: eric.fayolle@edf.fr
8
+ License: LGPL
9
+ Keywords: salome mesh numerical simulation
10
+ Platform: any
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
13
+ Classifier: Programming Language :: C++
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Scientific/Engineering :: Physics
16
+ Classifier: Intended Audience :: Science/Research
17
+ Requires-Dist: scipy
18
+
19
+
20
+ # MEDCoupling
21
+
22
+ [![pypi](https://img.shields.io/pypi/v/medcoupling.svg?style=flat-square)](https://pypi.org/project/medcoupling)
23
+ https://github.com/jschueller/medcoupling-wheels
24
+ [![github](https://github.com/jschueller/medcoupling-wheels/actions/workflows/stable.yml/badge.svg?branch=master)](https://github.com/jschueller/medcoupling-wheels/actions/workflows/stable.yml)
25
+
26
+
27
+ MEDCoupling is a powerful library to manipulate meshes and fields from the [SALOME](https://www.salome-platform.org/) platform.
28
+
29
+ Refer to the [documentation](https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/index.html).
30
+
31
+ ## Installation from PyPI
32
+
33
+ To install MEDCoupling, you can now simply do
34
+
35
+ ```
36
+ pip install -U medcoupling
37
+ ```
38
+
39
+ Binary wheels are available for 64-bit Windows (`win_amd64`) and Linux-like platforms (`manylinux2014_x86_64`).
40
+
41
+ To ensure that MEDCoupling is well installed, try importing it with:
42
+
43
+ ```
44
+ import medcoupling # should not raise error
45
+ ```
@@ -0,0 +1,30 @@
1
+ .\CaseIO.py,sha256=h_tsPehWcmy7zymcWY4w_qzL5w8vPiX2ZvnsDXomZD4=,1735
2
+ .\CaseReader.py,sha256=Q-dRk0LiM_fFm9sX4JEPxk8lrmDJpqckvt5SToQIvuU=,20194
3
+ .\CaseWriter.py,sha256=BYosBK-cTq0nRWcWvpwox8Ha-ydJfQrJKTWRvud3HkM=,16368
4
+ .\geom2medcoupling.py,sha256=PYs1yQlxycYd5jamSDvRG0kN74u327OiXMM3yLx9t6M=,4108
5
+ .\hdf5.dll,sha256=I3A-7yoSrVezzpOPTijCJ4mlKCr9rl7uxo73vkmaYVc=,2956288
6
+ .\interpkernel.dll,sha256=WVbnv6if7U2STQ84DCuDF3WAo7wml8wy0fxrkcUzqh8=,733696
7
+ .\libxml2.dll,sha256=HUa_sIbRgg4fBXfQ72ZsZIGEjPVMKEyIpDdw5TTjvEI=,1407488
8
+ .\medC.dll,sha256=4Mfq_Ira02DogCoLe808rZRTvpD35T9PqJHeNZPFMZ8=,5445632
9
+ .\medcoupling.dll,sha256=jbJlIPu9xzH--CEEkvB4hylm9WlNPhZUJBeI1PwnI2Q=,2631680
10
+ .\medcoupling.py,sha256=s4xGJq1Iss5zbeK9WJIsxHNsI55gv4cElLKBMDY2YYE=,810254
11
+ .\MEDCouplingCompat.py,sha256=pcpmSeGEZNpVecuBCdmaOVplUXJXpGMkrGKMslSDYYo=,538877
12
+ .\medcouplingremapper.dll,sha256=DJ3hQDeyDvP8Wi00EdNtmdCOWH4sIbKwcSAoaMnXCNI=,574464
13
+ .\MEDCouplingRemapper.py,sha256=BuCmc-9KeZWFIZ6A23l-cYylo-_IxENH8GxRJYiTyi4=,563761
14
+ .\medicoco.dll,sha256=CrbN31f1B6opTTuOeuINbMsKEP4npeiULtE3XDjSTEU=,19456
15
+ .\medloader.dll,sha256=VAlM9TwXT6UoU3gwWFI_VbpVgH0z7SzD7PnJ3JPDnl8=,2010624
16
+ .\MEDLoader.py,sha256=cCCwa2x1TVKQRW56zz-7m6zhNz8Dp5cWT-85RdvSVck=,771453
17
+ .\MEDLoaderFinalize.py,sha256=USOqudg9lHQpfDzybNNmePqJLDF8VU4O4WDc7OL23vc=,2794
18
+ .\MEDLoaderSplitter.py,sha256=5G612vtDORCcV7kxYWAxnireNIQY-miZowTv57ppTkA=,9357
19
+ .\MEDPartitioner.py,sha256=cQIboO-wCLxay01TOARvvdDYzWRdeh2nq5-W2Raxh0c=,5798
20
+ .\medpartitionercpp.dll,sha256=cC5IToN6oN7s5-Im7qcXxttvbYcchMoRbqUS-ouhoz8=,468480
21
+ .\MEDRenumber.py,sha256=rywrn1niHDoTsLGJUlPz1xJhE725-GnndnPsccHUnEQ=,520363
22
+ .\renumbercpp.dll,sha256=wKOJn8AwmeEwx9_2QOTxlR6byS4tU1Rhglhni2hRpOQ=,132608
23
+ .\vtk2medcoupling.py,sha256=RfyXlfLiT_z8msaW75m_n65o7vLXvm00qCjT62Rugl8=,2775
24
+ .\VTKReader.py,sha256=tRvp_wjkdxjs0Sli9S3A4OFC6EhiFpd05PD_9MXr4wo=,12601
25
+ .\_medcoupling.pyd,sha256=Gv_iTHhefcovl9TUXXQcILEDPC58s__HsH4fmLmSAXs=,5433344
26
+ .\_MEDCouplingCompat.pyd,sha256=phGFqefYTzljwVQEtd_HdMRuDP7DgaSIOgwkbTMcn-E=,3523072
27
+ .\_MEDCouplingRemapper.pyd,sha256=eMiB7ibiz-sK4cICdHxyBS5N94M1QFH0t045m1LLqzE=,3629056
28
+ .\_MEDLoader.pyd,sha256=4Pxu__12gnJEzGe0gFQuYKprsguEnFHUZsdzR-rEMrQ=,5248512
29
+ .\_MEDPartitioner.pyd,sha256=RPzTIqBrUBgzRJE8KGC79-TvGNtjC7RKdxc-MVKGrkw=,76800
30
+ .\_MEDRenumber.pyd,sha256=wKkGu2Y1Jjyc4syz_vWCiZNA0fB47ygaobdOqeBkpcM=,3530240
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: custom
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_amd64
medcoupling.dll CHANGED
Binary file
medcoupling.py CHANGED
@@ -777,6 +777,13 @@ class RefCountObject(RefCountObjectOnly, BigMemoryObject):
777
777
  """
778
778
  return _medcoupling.RefCountObject_getHiddenCppPointer(self)
779
779
 
780
+ def getHiddenCppPointerAsLongLong(self):
781
+ r"""
782
+ getHiddenCppPointerAsLongLong(RefCountObject self) -> long long
783
+ 1
784
+ """
785
+ return _medcoupling.RefCountObject_getHiddenCppPointerAsLongLong(self)
786
+
780
787
  # Register RefCountObject in _medcoupling:
781
788
  _medcoupling.RefCountObject_swigregister(RefCountObject)
782
789
  class GlobalDict(object):
@@ -10404,6 +10411,13 @@ class MEDCouplingUMesh(MEDCouplingPointSet):
10404
10411
  """
10405
10412
  return _medcoupling.MEDCouplingUMesh_explode3DMeshTo1D(self, *args)
10406
10413
 
10414
+ def explodeMeshTo(self, targetDeltaLevel):
10415
+ r"""
10416
+ explodeMeshTo(MEDCouplingUMesh self, int targetDeltaLevel) -> PyObject *
10417
+ 1
10418
+ """
10419
+ return _medcoupling.MEDCouplingUMesh_explodeMeshTo(self, targetDeltaLevel)
10420
+
10407
10421
  def explodeIntoEdges(self):
10408
10422
  r"""
10409
10423
  explodeIntoEdges(MEDCouplingUMesh self) -> PyObject *
@@ -17903,6 +17917,13 @@ class MEDFileUMesh(MEDFileMesh):
17903
17917
  """
17904
17918
  return _medcoupling.MEDFileUMesh_getLevelM3Mesh(self, renum)
17905
17919
 
17920
+ def declarePartsUpdated(self):
17921
+ r"""
17922
+ declarePartsUpdated(MEDFileUMesh self)
17923
+ 1
17924
+ """
17925
+ return _medcoupling.MEDFileUMesh_declarePartsUpdated(self)
17926
+
17906
17927
  def forceComputationOfParts(self):
17907
17928
  r"""
17908
17929
  forceComputationOfParts(MEDFileUMesh self)
@@ -18164,6 +18185,20 @@ class MEDFileUMesh(MEDFileMesh):
18164
18185
  """
18165
18186
  return _medcoupling.MEDFileUMesh_buildInnerBoundaryAlongM1Group(self, grpNameM1)
18166
18187
 
18188
+ def crackAlong(self, grpNameM1, grpMustBeFullyDup=True):
18189
+ r"""
18190
+ crackAlong(MEDFileUMesh self, std::string const & grpNameM1, bool grpMustBeFullyDup=True) -> PyObject
18191
+ 1
18192
+ """
18193
+ return _medcoupling.MEDFileUMesh_crackAlong(self, grpNameM1, grpMustBeFullyDup)
18194
+
18195
+ def openCrack(self, c2o2nNPy, factor=0.9):
18196
+ r"""
18197
+ openCrack(MEDFileUMesh self, PyObject * c2o2nNPy, double factor=0.9)
18198
+ 1
18199
+ """
18200
+ return _medcoupling.MEDFileUMesh_openCrack(self, c2o2nNPy, factor)
18201
+
18167
18202
  def getDirectUndergroundSingleGeoTypeMesh(self, gt):
18168
18203
  r"""
18169
18204
  getDirectUndergroundSingleGeoTypeMesh(MEDFileUMesh self, INTERP_KERNEL::NormalizedCellType gt) -> MEDCoupling1GTUMesh
@@ -19139,6 +19174,13 @@ class MEDFileAnyTypeField1TS(RefCountObject, MEDFileFieldGlobsReal, MEDFileWrita
19139
19174
  """
19140
19175
  return _medcoupling.MEDFileAnyTypeField1TS_getDtIt(self)
19141
19176
 
19177
+ def buildNewEmpty(self):
19178
+ r"""
19179
+ buildNewEmpty(MEDFileAnyTypeField1TS self) -> MEDFileAnyTypeField1TS
19180
+ 1
19181
+ """
19182
+ return _medcoupling.MEDFileAnyTypeField1TS_buildNewEmpty(self)
19183
+
19142
19184
  def setProfileNameOnLeaf(self, typ, locId, newPflName, forceRenameOnGlob=False):
19143
19185
  r"""
19144
19186
  setProfileNameOnLeaf(MEDFileAnyTypeField1TS self, INTERP_KERNEL::NormalizedCellType typ, int locId, std::string const & newPflName, bool forceRenameOnGlob=False)
@@ -22159,10 +22201,10 @@ class MeshFormatWriter(object):
22159
22201
  _medcoupling.MeshFormatWriter_swigregister(MeshFormatWriter)
22160
22202
 
22161
22203
  def enter1TS(self):
22162
- self.loadArrays()
22204
+ self.loadArraysIfNecessary()
22163
22205
  pass
22164
22206
  def exit1TS(self, exctype, exc, tb):
22165
- self.unloadArrays()
22207
+ self.unloadArraysWithoutDataLoss()
22166
22208
  pass
22167
22209
  MEDFileAnyTypeField1TS.__enter__=enter1TS
22168
22210
  MEDFileAnyTypeField1TS.__exit__=exit1TS
@@ -22689,6 +22731,9 @@ del MEDCouplingMappedExtrudedMeshReduce
22689
22731
  del MEDCouplingUMeshReduce
22690
22732
 
22691
22733
 
22734
+ import MEDLoaderFinalize
22735
+ MEDFileUMesh.reduceToCells = MEDLoaderFinalize.MEDFileUMeshReduceToCells
22736
+ del MEDLoaderFinalize
22692
22737
  MEDFileMeshesIterator.__next__ = MEDFileMeshesIterator.next
22693
22738
  MEDFileAnyTypeFieldMultiTSIterator.__next__ = MEDFileAnyTypeFieldMultiTSIterator.next
22694
22739
  MEDFileFieldsIterator.__next__ = MEDFileFieldsIterator.next
medcouplingremapper.dll CHANGED
Binary file
medicoco.dll CHANGED
Binary file
medloader.dll CHANGED
Binary file
medpartitionercpp.dll CHANGED
Binary file
renumbercpp.dll CHANGED
Binary file
vtk2medcoupling.py CHANGED
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env python3
2
2
  # -*- coding: utf-8 -*-
3
- # Copyright (C) 2020-2023 CEA, EDF
3
+ # Copyright (C) 2020-2024 CEA, EDF
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -1,22 +0,0 @@
1
- Metadata-Version: 2.0
2
- Name: medcoupling
3
- Version: 9.11.0
4
- Summary: Powerful library to manipulate meshes and fields
5
- Home-page: https://www.salome-platform.org/downloads
6
- Author: EDF R&D
7
- Author-email: eric.fayolle@edf.fr
8
- License: LGPL
9
- Keywords: salome mesh numerical simulation
10
- Platform: any
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
13
- Classifier: Operating System :: Microsoft :: Windows
14
- Classifier: Operating System :: MacOS :: MacOS X
15
- Classifier: Operating System :: POSIX :: Linux
16
- Classifier: Programming Language :: C
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Topic :: Scientific/Engineering :: Physics
19
- Classifier: Intended Audience :: Science/Research
20
- Requires-Dist: numpy
21
-
22
- Powerful library to manipulate meshes and fields from SALOME platform
@@ -1 +0,0 @@
1
- medcoupling-9.11.0.dist-info\RECORD,,
@@ -1 +0,0 @@
1
- Wheel-Version: 1.0