[MOAB-dev] r5564 - MOAB/branches/nc_to_2.5d/test/io
xbxu at mcs.anl.gov
xbxu at mcs.anl.gov
Tue Jun 12 13:06:06 CDT 2012
Author: xbxu
Date: 2012-06-12 13:06:06 -0500 (Tue, 12 Jun 2012)
New Revision: 5564
Modified:
MOAB/branches/nc_to_2.5d/test/io/read_nc.cpp
Log:
update test to use new nc file
Modified: MOAB/branches/nc_to_2.5d/test/io/read_nc.cpp
===================================================================
--- MOAB/branches/nc_to_2.5d/test/io/read_nc.cpp 2012-06-12 18:05:17 UTC (rev 5563)
+++ MOAB/branches/nc_to_2.5d/test/io/read_nc.cpp 2012-06-12 18:06:06 UTC (rev 5564)
@@ -4,9 +4,9 @@
using namespace moab;
#ifdef MESHDIR
-static const char example[] = STRINGIFY(MESHDIR) "/io/cam18x40x48.t2.nc";
+static const char example[] = STRINGIFY(MESHDIR) "/io/camEul26x48x96.t3.nc";
#else
-static const char example[] = "/io/cam18x40x48.nc";
+static const char example[] = "/io/camEul26x48x96.t3.nc";
#endif
#ifdef USE_MPI
@@ -54,10 +54,10 @@
// check for proper tags
Tag Ttag0, Ttag1;
- rval = mb.tag_get_handle("T0", 1, MB_TYPE_DOUBLE, Ttag0);
+ rval = mb.tag_get_handle("T0", 26, MB_TYPE_DOUBLE, Ttag0);
CHECK_ERR(rval);
- rval = mb.tag_get_handle("T1", 1, MB_TYPE_DOUBLE, Ttag1);
+ rval = mb.tag_get_handle("T1", 26, MB_TYPE_DOUBLE, Ttag1);
CHECK_ERR(rval);
}
@@ -70,10 +70,10 @@
// check for proper tags
Tag Ttag0, Ttag1;
- rval = mb.tag_get_handle("T0", 1, MB_TYPE_DOUBLE, Ttag0);
+ rval = mb.tag_get_handle("T0", 26, MB_TYPE_DOUBLE, Ttag0);
CHECK_ERR(rval);
- rval = mb.tag_get_handle("T1", 1, MB_TYPE_DOUBLE, Ttag1);
+ rval = mb.tag_get_handle("T1", 26, MB_TYPE_DOUBLE, Ttag1);
CHECK_ERR(rval);
}
@@ -86,10 +86,10 @@
// check for proper tags
Tag Ttag0, Ttag1;
- rval = mb.tag_get_handle("T0", 1, MB_TYPE_DOUBLE, Ttag0);
+ rval = mb.tag_get_handle("T0", 26, MB_TYPE_DOUBLE, Ttag0);
CHECK_EQUAL(rval, MB_TAG_NOT_FOUND);
- rval = mb.tag_get_handle("T1", 1, MB_TYPE_DOUBLE, Ttag1);
More information about the moab-dev
mailing list