Salome HOME
Intersection: renaming some variables and refactor to make the algo easier to read.
[tools/medcoupling.git] / doc / tutorial / atestMEDCouplingPoly.rst
index cfbee5d62eafbeea6f004fb79546a9f1ec29ae4d..0b60b84c7bebe3ec872823a3b617763e77e0507d 100644 (file)
        for i in range(6):
                mesh.insertNextCell(NORM_POLYGON,6,connectivity[6*i:6*(i+1)])
                pass
-       mesh.finishInsertingCells()
 
        print "5 ********************"
-       mesh.checkCoherency()
+       mesh.checkConsistencyLight()
 
        medFileName = "MEDCoupling_Fleur.med"
        MEDLoader.WriteUMesh(medFileName,mesh,True)