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

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Jun 1 18:08:13 CDT 2010


Author: tautges
Date: 2010-06-01 18:08:12 -0500 (Tue, 01 Jun 2010)
New Revision: 3988

Modified:
   MOAB/trunk/src/io/ReadCCMIO.cpp
   MOAB/trunk/src/io/ReadCCMIO.hpp
   MOAB/trunk/src/io/WriteCCMIO.cpp
   MOAB/trunk/src/io/WriteCCMIO.hpp
Log:
Forgot to handle the CreatingProgram tag.



Modified: MOAB/trunk/src/io/ReadCCMIO.cpp
===================================================================
--- MOAB/trunk/src/io/ReadCCMIO.cpp	2010-06-01 20:27:09 UTC (rev 3987)
+++ MOAB/trunk/src/io/ReadCCMIO.cpp	2010-06-01 23:08:12 UTC (rev 3988)
@@ -79,7 +79,7 @@
         : mMaterialIdTag(0), mMaterialTypeTag(0),
           mRadiationTag(0), mPorosityIdTag(0), mSpinIdTag(0), mGroupIdTag(0), mColorIdxTag(0),
           mProcessorIdTag(0), mLightMaterialTag(0), mFreeSurfaceMaterialTag(0),
-          mThicknessTag(0), mProstarRegionNumberTag(0), mbImpl(impl)
+          mThicknessTag(0), mProstarRegionNumberTag(0), mCreatingProgramTag(0), mbImpl(impl)
 {
   assert(impl != NULL);
   
@@ -160,7 +160,7 @@
   CCMIOError error = kCCMIONoErr;
 
   if (subset_list) {
-    readUtilIface->report_error( "Reading subset of files not supported for CCMOI data." );
+    readMeshIface->report_error( "Reading subset of files not supported for CCMOI data." );
     return MB_UNSUPPORTED_OPERATION;
   }
 
@@ -250,7 +250,7 @@
 
     // creating program
   EntityHandle dumh = (file_set ? *file_set : 0);
-  rval = get_str_option("CreatingProgram", dumh, mNameTag, processorID, NAME_TAG_NAME);
+  rval = get_str_option("CreatingProgram", dumh, mCreatingProgramTag, processorID);
   CHKERR(rval, "Trouble getting CreatingProgram tag.");
 
   rval = load_matset_data(problemID);

Modified: MOAB/trunk/src/io/ReadCCMIO.hpp
===================================================================
--- MOAB/trunk/src/io/ReadCCMIO.hpp	2010-06-01 20:27:09 UTC (rev 3987)
+++ MOAB/trunk/src/io/ReadCCMIO.hpp	2010-06-01 23:08:12 UTC (rev 3988)
@@ -150,7 +150,7 @@
   Tag mMaterialIdTag, mMaterialTypeTag;
   Tag mRadiationTag, mPorosityIdTag, mSpinIdTag, mGroupIdTag, mColorIdxTag,
       mProcessorIdTag, mLightMaterialTag, mFreeSurfaceMaterialTag;
-  Tag mThicknessTag, mProstarRegionNumberTag, mBoundaryTypeTag;
+  Tag mThicknessTag, mProstarRegionNumberTag, mBoundaryTypeTag, mCreatingProgramTag;
   
   Interface *mbImpl;
 

Modified: MOAB/trunk/src/io/WriteCCMIO.cpp
===================================================================
--- MOAB/trunk/src/io/WriteCCMIO.cpp	2010-06-01 20:27:09 UTC (rev 3987)
+++ MOAB/trunk/src/io/WriteCCMIO.cpp	2010-06-01 23:08:12 UTC (rev 3988)
@@ -108,8 +108,7 @@


More information about the moab-dev mailing list