]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Write nodes in the order of increasing ids
authoreap <eap@opencascade.com>
Mon, 8 Feb 2010 14:39:14 +0000 (14:39 +0000)
committereap <eap@opencascade.com>
Mon, 8 Feb 2010 14:39:14 +0000 (14:39 +0000)
-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);

src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx

index 9c97adb9bfde2b7e230db7da3b570bcfd15a6e96..ca0753da7df876e0639ee893c8220ab786b8fc40 100644 (file)
@@ -392,7 +392,7 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
           }
       }
 
-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);
       switch(aMeshDimension){
       case 3:
         aCoordHelperPtr.reset(new TCoordHelper(aNodesIter,aXYZGetCoord,aXYZName));