from math import *
-Then we must instanciate a meshing object::
+Then we must instantiate a meshing object::
mesh=MEDCouplingUMesh.New()
mesh.setMeshDimension(2)
for i in range(6):
mesh.insertNextCell(NORM_POLYGON,6,connectivity[6*i:6*(i+1)])
pass
- mesh.finishInsertingCells()
- mesh.checkCoherency()
+ mesh.checkConsistencyLight()
Saving the mesh in a med file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~