[MOAB-dev] r3797 - in MOAB/trunk: src/io tools/dagmc

bmsmith6 at wisc.edu bmsmith6 at wisc.edu
Wed Apr 21 10:03:57 CDT 2010


Author: bmsmith
Date: 2010-04-21 10:03:57 -0500 (Wed, 21 Apr 2010)
New Revision: 3797

Modified:
   MOAB/trunk/src/io/ReadNCDF.cpp
   MOAB/trunk/tools/dagmc/cub2h5m.cc
Log:
Tolerance needs increased for 85pin 1/12 symmetry space reactor model.


Modified: MOAB/trunk/src/io/ReadNCDF.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNCDF.cpp	2010-04-20 23:02:20 UTC (rev 3796)
+++ MOAB/trunk/src/io/ReadNCDF.cpp	2010-04-21 15:03:57 UTC (rev 3797)
@@ -1850,7 +1850,9 @@
   // search is O(logn) but MOAB tag search is O(n). For 150k nodes this 
   // is 5 minutes faster. The MAX_NODE_DIST is the farthest that we will search
   // for a node. Note that the exodus file is single precision.
-  const double MAX_NODE_DIST = 1e-3;
+  // For the 1/12th symmetry 85 pin model, the max node dist could not be less
+  // than 1e-1 (March 26, 2010).
+  const double MAX_NODE_DIST = 1e-1;
   std::cout << "  exodus file contains " << numberNodes_loading << " nodes." 
             << std::endl;
   for(int i=0; i<numberNodes_loading; ++i) {
@@ -1912,7 +1914,7 @@
       average_magnitude += magnitude;
     } else {
       ++lost;
-      //std::cout << "cannot match exo vert=" << exo_coords << std::endl;
+      std::cout << "cannot match exo vert " << exo_id << " " << exo_coords << std::endl;
     }
   }
   

Modified: MOAB/trunk/tools/dagmc/cub2h5m.cc
===================================================================
--- MOAB/trunk/tools/dagmc/cub2h5m.cc	2010-04-20 23:02:20 UTC (rev 3796)
+++ MOAB/trunk/tools/dagmc/cub2h5m.cc	2010-04-21 15:03:57 UTC (rev 3797)
@@ -948,7 +948,7 @@
   if(4!=argc && 6!=argc && 7!=argc)
     {
       std::cerr << "To read meshed geometry for DagMC:" << std::endl;
-      std::cerr << "$> cub_file acis_file output_file" << std::endl;
+      std::cerr << "$> <cub_file.cub> <acis_file.sat> <output_file.h5m>" << std::endl;
       std::cerr << "To read meshed geometry for DagMC and update node coordinates:" << std::endl;
       std::cerr << "$> <cub_file.cub> <acis_file.sat> <output_file.h5m> <deformed_exo_file.e> time_step<int> check_vol_change<bool>" 
 		<< std::endl;















More information about the moab-dev mailing list