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

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Mon May 23 12:49:08 CDT 2011


Author: hongjun
Date: 2011-05-23 12:49:06 -0500 (Mon, 23 May 2011)
New Revision: 4861

Modified:
   cgm/trunk/geom/parallel/CGMReadParallel.cpp
Log:
o Double check and instantiate as tool data when only volume has partition information
o Passes make check


Modified: cgm/trunk/geom/parallel/CGMReadParallel.cpp
===================================================================
--- cgm/trunk/geom/parallel/CGMReadParallel.cpp	2011-05-23 16:42:30 UTC (rev 4860)
+++ cgm/trunk/geom/parallel/CGMReadParallel.cpp	2011-05-23 17:49:06 UTC (rev 4861)
@@ -320,7 +320,7 @@
                      tEnd - tStart);
         }
 
-        if (CGM_read_parallel_debug && !check_partition_info()) {
+        if (!check_partition_info()) {
           PRINT_ERROR("Check partition info failed.\n");
           return CUBIT_FAILURE;
         }
@@ -350,7 +350,7 @@
                      tEnd - tStart);
         }
 
-        if (CGM_read_parallel_debug && !check_partition_info()) {
+        if (!check_partition_info()) {
           PRINT_ERROR("Check partition info failed.\n");
           return CUBIT_FAILURE;
         }
@@ -481,7 +481,6 @@
       TopologyEntity *te = CAST_TO(entity, TopologyEntity);
       
       if (te->bridge_manager()->number_of_bridges() > 1) {
-        //if (att != NULL) { // if it is shared entity
         DLIList<Body*> parent_bodies;
 	DLIList<int> shared_procs;
 	(dynamic_cast<TopologyEntity*> (entity))->bodies(parent_bodies);























More information about the cgma-dev mailing list