[MOAB-dev] r4937 - MOAB/trunk/src/io

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Jun 2 20:26:24 CDT 2011


Author: jain
Date: 2011-06-02 20:26:24 -0500 (Thu, 02 Jun 2011)
New Revision: 4937

Modified:
   MOAB/trunk/src/io/ReadCCMIO.cpp
   MOAB/trunk/src/io/WriteCCMIO.cpp
Log:
o Fix typos in new get_tag_handle function causing compile errors.


Modified: MOAB/trunk/src/io/ReadCCMIO.cpp
===================================================================
--- MOAB/trunk/src/io/ReadCCMIO.cpp	2011-06-03 00:50:28 UTC (rev 4936)
+++ MOAB/trunk/src/io/ReadCCMIO.cpp	2011-06-03 01:26:24 UTC (rev 4937)
@@ -105,7 +105,7 @@
                                 mNeumannSetTag, MB_TAG_CREAT|MB_TAG_SPARSE);
 
   result = impl->tag_get_handle(HAS_MID_NODES_TAG_NAME, 4, MB_TYPE_INTEGER,
-                                mHasMidNodesTag, MB_TAG_CREAT|MB_TAG_SPASRE );
+                                mHasMidNodesTag, MB_TAG_CREAT|MB_TAG_SPARSE );
   assert(MB_SUCCESS == result);
   
   result = impl->tag_get_handle(GLOBAL_ID_TAG_NAME, 1, MB_TYPE_INTEGER,
@@ -314,7 +314,7 @@
   if (kCCMIONoErr == CCMIOReadOpti(NULL, node, opt_str, &idum)) {
     if (!tag) {
       rval = mbImpl->tag_get_handle(opt_str, 1, MB_TYPE_INTEGER, 
-                                    tag, MB_TAG_SPRASE|MB_TAG_CREAT);
+                                    tag, MB_TAG_SPARSE|MB_TAG_CREAT);
       CHKERR(rval, NULL);
     }
     
@@ -333,7 +333,7 @@
     ErrorCode rval;
     if (!tag) {
       rval = mbImpl->tag_get_handle(opt_str, 1, MB_TYPE_DOUBLE, 
-                                    tag, MB_TAG_SPRASE|MB_TAG_CREAT);
+                                    tag, MB_TAG_SPARSE|MB_TAG_CREAT);
       CHKERR(rval, NULL);
     }
     

Modified: MOAB/trunk/src/io/WriteCCMIO.cpp
===================================================================
--- MOAB/trunk/src/io/WriteCCMIO.cpp	2011-06-03 00:50:28 UTC (rev 4936)
+++ MOAB/trunk/src/io/WriteCCMIO.cpp	2011-06-03 01:26:24 UTC (rev 4937)
@@ -123,7 +123,7 @@
     impl->tag_get_handle(MATERIAL_SET_TAG_NAME, 1, MB_TYPE_INTEGER,
                          mMaterialSetTag, MB_TAG_SPARSE|MB_TAG_CREAT);
 
-    impl->tag_get_handle(DIRICHLET_SET_TAG_NAME 1, MB_TYPE_INTEGER,
+    impl->tag_get_handle(DIRICHLET_SET_TAG_NAME, 1, MB_TYPE_INTEGER,
                          mDirichletSetTag, MB_TAG_SPARSE|MB_TAG_CREAT);
 
     impl->tag_get_handle(NEUMANN_SET_TAG_NAME, 1, MB_TYPE_INTEGER,








More information about the moab-dev mailing list