[cgma-dev] r5165 - cgm/trunk/geom/parallel

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Fri Sep 16 13:31:35 CDT 2011


Author: hongjun
Date: 2011-09-16 13:31:34 -0500 (Fri, 16 Sep 2011)
New Revision: 5165

Modified:
   cgm/trunk/geom/parallel/CABodies.cpp
   cgm/trunk/geom/parallel/CGMReadParallel.cpp
   cgm/trunk/geom/parallel/TDParallel.cpp
   cgm/trunk/geom/parallel/TDParallel.hpp
Log:
o more changes to add ghost geomtry entity info in CABodies and TDParallel
o passes make check


Modified: cgm/trunk/geom/parallel/CABodies.cpp
===================================================================
--- cgm/trunk/geom/parallel/CABodies.cpp	2011-09-15 22:00:51 UTC (rev 5164)
+++ cgm/trunk/geom/parallel/CABodies.cpp	2011-09-16 18:31:34 UTC (rev 5165)
@@ -149,7 +149,7 @@
   else {
     // else make a new one
     par = new TDParallel(attrib_owner(), &m_sharedBodies, &m_sharedProcs,
-			 m_uniqueID, m_interface);
+			 &m_ghostProcs, m_uniqueID, m_interface);
   }
 
   delete_attrib(CUBIT_TRUE);

Modified: cgm/trunk/geom/parallel/CGMReadParallel.cpp
===================================================================
--- cgm/trunk/geom/parallel/CGMReadParallel.cpp	2011-09-15 22:00:51 UTC (rev 5164)
+++ cgm/trunk/geom/parallel/CGMReadParallel.cpp	2011-09-16 18:31:34 UTC (rev 5165)
@@ -506,7 +506,7 @@
                 shared_procs.reverse();
 	      }
               loads[shared_procs[0]] = loads[shared_procs[0]] + entity->measure();
-	      td_par = new TDParallel(entity, NULL, &shared_procs, merge_id, 1);
+	      td_par = new TDParallel(entity, NULL, &shared_procs, NULL, merge_id, 1);
 	    }
 	    else if (entity->entity_type_info() == typeid(RefEdge) ||
 		     entity->entity_type_info() == typeid(RefVertex)) {
@@ -533,7 +533,7 @@
                   }
                 }
               }
-	      td_par = new TDParallel(entity, NULL, &shared_procs, merge_id, 1);
+	      td_par = new TDParallel(entity, NULL, &shared_procs, NULL, merge_id, 1);
 	    }
 	  }
 	}

Modified: cgm/trunk/geom/parallel/TDParallel.cpp
===================================================================
--- cgm/trunk/geom/parallel/TDParallel.cpp	2011-09-15 22:00:51 UTC (rev 5164)
+++ cgm/trunk/geom/parallel/TDParallel.cpp	2011-09-16 18:31:34 UTC (rev 5165)
@@ -15,8 +15,8 @@
 #include <time.h>
 
 TDParallel::TDParallel(ToolDataUser *owner, DLIList<int> *shared_bodies,
-		       DLIList<int> *shared_procs, int unique_id,
-		       int interface)
+		       DLIList<int> *shared_procs, DLIList<int> *ghost_procs,
+                       int unique_id, int interface)
   : m_uniqueId(unique_id), m_interface(interface)
 {


More information about the cgma-dev mailing list