[MOAB-dev] r4405 - MOAB/trunk/test/parallel

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Dec 22 12:09:59 CST 2010


Author: kraftche
Date: 2010-12-22 12:09:59 -0600 (Wed, 22 Dec 2010)
New Revision: 4405

Modified:
   MOAB/trunk/test/parallel/mhdf_parallel.c
Log:
fix non-standard C code in mhdf_parallel.c test

Modified: MOAB/trunk/test/parallel/mhdf_parallel.c
===================================================================
--- MOAB/trunk/test/parallel/mhdf_parallel.c	2010-12-22 18:09:40 UTC (rev 4404)
+++ MOAB/trunk/test/parallel/mhdf_parallel.c	2010-12-22 18:09:59 UTC (rev 4405)
@@ -57,13 +57,13 @@
   hid_t data, tagdata[2];
   long junk;
   
+  mhdf_Status status;
+  mhdf_FileHandle file;
+  
   time_t t;
   t = time(NULL);
   history[1] = ctime(&t);
   
-  mhdf_Status status;
-  mhdf_FileHandle file;
-  
   file = mhdf_createFile( filename, 1, elem_types, num_elem_types, &status );
   CHECK(status);
   
@@ -117,6 +117,7 @@
   hid_t handle, handles[2];
   mhdf_Status status;
   mhdf_FileHandle file;
+  int num_node, offset, dim;
   double coords[3*8] = { 0.0, 0.0, 0.0, 
                          0.0, 1.0, 0.0, 
                          0.0, 1.0, 1.0, 
@@ -127,7 +128,6 @@
                          0.0, 0.0, 1.0 };
   int i, list[10], tagdata[10];
   for (i = 0; i < 10; i++) tagdata[i] = RANK;
-  int num_node, offset, dim;
   
   
     /* open file */
















More information about the moab-dev mailing list