[MOAB-dev] r5263 - MOAB/trunk/tools/mbzoltan

hongjun at mcs.anl.gov hongjun at mcs.anl.gov
Thu Dec 15 11:13:46 CST 2011


Author: hongjun
Date: 2011-12-15 11:13:43 -0600 (Thu, 15 Dec 2011)
New Revision: 5263

Modified:
   MOAB/trunk/tools/mbzoltan/mbpart.cpp
Log:
o Bug fixed
o Geometry partition mesh size option is used incorreclty


Modified: MOAB/trunk/tools/mbzoltan/mbpart.cpp
===================================================================
--- MOAB/trunk/tools/mbzoltan/mbpart.cpp	2011-12-15 07:11:01 UTC (rev 5262)
+++ MOAB/trunk/tools/mbzoltan/mbpart.cpp	2011-12-15 17:13:43 UTC (rev 5263)
@@ -149,7 +149,7 @@
   clock_t t = clock();
 
   const char* options = NULL;
-  if (part_geom_mesh_size) options = "FACET_DISTANCE_TOLERANCE=0.1";
+  if (part_geom_mesh_size > 0.) options = "FACET_DISTANCE_TOLERANCE=0.1";
   ErrorCode rval = mb.load_file( input_file.c_str(), 0, options );
   if (MB_SUCCESS != rval) {
     std::cerr << input_file << " : failed to read file." << std::endl;








































More information about the moab-dev mailing list