Salome HOME
Intersection: renaming some variables and refactor to make the algo easier to read.
[tools/medcoupling.git] / doc / tutorial / atestMEDCouplingRead.rst
index c0f4c476e3965e8d64f08ce33f9117d31886e75c..5da356bf2ac003c17caf85db032db3d9363ae502 100644 (file)
@@ -32,7 +32,7 @@ Read med File
        res=f.getValueOn(pos)
 
        # Verify if value is OK
-       bar = mesh3D.getBarycenterAndOwner()
+       bar = mesh3D.computeCellCenterOfMass()
        x=bar.getIJ(1,1)
        y=bar.getIJ(1,2)
        z=bar.getIJ(1,3)