[MOAB-dev] r4540 - in MOAB/branches/Version4.0: src test

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Mar 1 14:38:34 CST 2011


Author: kraftche
Date: 2011-03-01 14:38:34 -0600 (Tue, 01 Mar 2011)
New Revision: 4540

Modified:
   MOAB/branches/Version4.0/src/Core.cpp
   MOAB/branches/Version4.0/test/MBTest.cpp
Log:
get_meshset_options should return MESHSET_TRACK_OWNER for root set 

Modified: MOAB/branches/Version4.0/src/Core.cpp
===================================================================
--- MOAB/branches/Version4.0/src/Core.cpp	2011-03-01 20:21:22 UTC (rev 4539)
+++ MOAB/branches/Version4.0/src/Core.cpp	2011-03-01 20:38:34 UTC (rev 4540)
@@ -2656,7 +2656,7 @@
                                           unsigned int& options) const
 {
   if (!ms_handle) { // root set
-    options = MESHSET_SET;
+    options = MESHSET_SET|MESHSET_TRACK_OWNER;
     return MB_SUCCESS;
   }
   

Modified: MOAB/branches/Version4.0/test/MBTest.cpp
===================================================================
--- MOAB/branches/Version4.0/test/MBTest.cpp	2011-03-01 20:21:22 UTC (rev 4539)
+++ MOAB/branches/Version4.0/test/MBTest.cpp	2011-03-01 20:38:34 UTC (rev 4540)
@@ -8062,7 +8062,7 @@
   rval = mb->get_meshset_options( rs, flags );
   CHECK( flags & MESHSET_SET );
   CHECK( !(flags & MESHSET_ORDERED) );
-  CHECK( !(flags & MESHSET_TRACK_OWNER) );
+  CHECK( flags & MESHSET_TRACK_OWNER );
   
     // contains tests
   bool c = mb->contains_entities( rs, &some_set, 1 );


























More information about the moab-dev mailing list