[MOAB-dev] r1858 - MOAB/trunk/parallel

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed May 28 20:07:48 CDT 2008


Author: kraftche
Date: 2008-05-28 20:07:48 -0500 (Wed, 28 May 2008)
New Revision: 1858

Modified:
   MOAB/trunk/parallel/ReadParallel.cpp
Log:
Do not enable PA_RESOLVE_SHARED_ENTS unless 
"PARALLEL_RESOLVE_SHARED_ENTS" option is specified to reader.

Tim, It appears that your intent was to allow this option to be 
disabled given line 102 of ReadParallel.cpp.  Given that there 
is no way to disable it with an option to the reader, I assumed
your intent was that it should be disabled if the enabling option
is not specified.



Modified: MOAB/trunk/parallel/ReadParallel.cpp
===================================================================
--- MOAB/trunk/parallel/ReadParallel.cpp	2008-05-29 01:04:43 UTC (rev 1857)
+++ MOAB/trunk/parallel/ReadParallel.cpp	2008-05-29 01:07:48 UTC (rev 1858)
@@ -98,7 +98,7 @@
 
     // get resolve_shared_ents option
   std::string shared_str;
-  int resolve_dim = -1, shared_dim = -1;
+  int resolve_dim = -2, shared_dim = -1;
   result = opts.get_str_option("PARALLEL_RESOLVE_SHARED_ENTS", shared_str);
   if (MB_TYPE_OUT_OF_RANGE == result) {
     resolve_dim = -1;




More information about the moab-dev mailing list