[MOAB-dev] r2000 - MOAB/trunk/parallel

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue Jul 8 14:10:29 CDT 2008


Author: kraftche
Date: 2008-07-08 14:10:29 -0500 (Tue, 08 Jul 2008)
New Revision: 2000

Modified:
   MOAB/trunk/parallel/mhdf_parallel.c
Log:
Element type must be 'Hex' rather than 'hex' because MBCN::EntityTypeFromName is case-sensitive

Modified: MOAB/trunk/parallel/mhdf_parallel.c
===================================================================
--- MOAB/trunk/parallel/mhdf_parallel.c	2008-07-08 19:04:14 UTC (rev 1999)
+++ MOAB/trunk/parallel/mhdf_parallel.c	2008-07-08 19:10:29 UTC (rev 2000)
@@ -26,7 +26,7 @@
 
 const char* filename = "mhdf_ll.h5m";
 const char* proc_tag_name = "proc_id";
-const char* elem_handle = "hex";
+const char* elem_handle = "Hex";
 
 int RANK;
 int NUM_PROC;
@@ -155,7 +155,7 @@
   
     /* write hex connectivity */
   for (i = 0; i < 8; ++i)
-    list[i] = 4*RANK + i;
+    list[i] = 4*RANK + i + 1;
   handle = mhdf_openConnectivity( file, elem_handle, &dim, &count, &first_elem, &status );
   CHECK(status);
   assert( count == total_num_hexes );




More information about the moab-dev mailing list