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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Jul 7 12:11:03 CDT 2011


Author: kraftche
Date: 2011-07-07 12:11:03 -0500 (Thu, 07 Jul 2011)
New Revision: 5045

Modified:
   MOAB/trunk/test/parallel/parallel_unit_tests.cpp
Log:
Fix parallel_unit_test bugs when run on more than two processes.
 - All tests now pass on at least 8 processes except two-level ghosting
 - Two level ghosting test fails on 5 or more processes.  Before this
     checkin it failed on any number other than 2.



Modified: MOAB/trunk/test/parallel/parallel_unit_tests.cpp
===================================================================
--- MOAB/trunk/test/parallel/parallel_unit_tests.cpp	2011-07-06 22:03:15 UTC (rev 5044)
+++ MOAB/trunk/test/parallel/parallel_unit_tests.cpp	2011-07-07 17:11:03 UTC (rev 5045)
@@ -40,25 +40,12 @@
 /**************************************************************************
                      Utility Method Declarations
  **************************************************************************/
- 
-// Get either all the entities in a set or only the entities of
-// a specific type, depending on whether or not type == MBMAXTYPE.
-ErrorCode get_set_contents( Interface& moab, 
-                              EntityHandle set, 
-                              EntityType type,
-                              Range& contents_out );
 
 // Get processors an entity is shared with.
 ErrorCode get_sharing_processors( Interface& moab,
                                     EntityHandle entity,
                                     std::vector<int>& other_procs_out );
 
-// Get mesh entities owned by a geometric entity set.
-ErrorCode get_geom_inclusive_mesh( Interface& moab,
-                                     EntityHandle set,
-                                     EntityType type,
-                                     Range& contents_out );
-
 // Create a parallel mesh
 //
 // Each processor will create four quads.
@@ -231,17 +218,6 @@
 /**************************************************************************
                      Utility Method Implementations
  **************************************************************************/
- 
-ErrorCode get_set_contents( Interface& moab,
-                              EntityHandle set,
-                              EntityType type,
-                              Range& contents_out )
-{
-  if (type == MBMAXTYPE) 
-    return moab.get_entities_by_handle( set, contents_out );
-  else
-    return moab.get_entities_by_type( set, type, contents_out );
-}
 
 ErrorCode get_sharing_processors( Interface& moab,
                                     EntityHandle entity,
@@ -276,30 +252,7 @@
     other_procs_out.push_back(procs[i]);
   return MB_SUCCESS;


More information about the moab-dev mailing list