[MOAB-dev] r2642 - MOAB/trunk

janehu at mcs.anl.gov janehu at mcs.anl.gov
Fri Feb 13 09:44:10 CST 2009


Author: janehu
Date: 2009-02-13 09:44:10 -0600 (Fri, 13 Feb 2009)
New Revision: 2642

Modified:
   MOAB/trunk/ReadNCDF.cpp
Log:
Tested using Paul's last cub file, converted to exodus file and the deformation exodus file. Although the number of elements are not the same, there are part of the node number matches. The code is able to update the origianl exodus file with the new coordinates.

Modified: MOAB/trunk/ReadNCDF.cpp
===================================================================
--- MOAB/trunk/ReadNCDF.cpp	2009-02-13 15:32:06 UTC (rev 2641)
+++ MOAB/trunk/ReadNCDF.cpp	2009-02-13 15:44:10 UTC (rev 2642)
@@ -2171,7 +2171,7 @@
                              deformed_arrays[2][node_index1+j-1] ;
         }
 
-        if(ptr1[node_index1+j] != ptr2[node_num +j])
+        if(ptr2[node_index1+j] != ptr1[node_num +j])
         {
           num_of_nodes = j;
           break;



More information about the moab-dev mailing list