[MOAB-dev] r3098 - MOAB/trunk/tools/dagmc

bmsmith6 at wisc.edu bmsmith6 at wisc.edu
Sun Aug 9 18:56:50 CDT 2009


Author: bmsmith
Date: 2009-08-09 18:56:49 -0500 (Sun, 09 Aug 2009)
New Revision: 3098

Modified:
   MOAB/trunk/tools/dagmc/test_geom.cc
Log:
Fixed ray-fire test by plotting the geometry and determining that two of the expected results were incorrect.


Modified: MOAB/trunk/tools/dagmc/test_geom.cc
===================================================================
--- MOAB/trunk/tools/dagmc/test_geom.cc	2009-08-08 13:47:41 UTC (rev 3097)
+++ MOAB/trunk/tools/dagmc/test_geom.cc	2009-08-09 23:56:49 UTC (rev 3098)
@@ -186,7 +186,7 @@
   }
   
   int errors = 0;
-  //RUN_TEST( test_ray_fire );
+  RUN_TEST( test_ray_fire );
   RUN_TEST( test_point_in_volume );
   RUN_TEST( test_measure_volume );
   RUN_TEST( test_measure_area );
@@ -320,8 +320,8 @@
     { 1, { 0.0, 0.0, -1. }, { -1.0/ROOT2, 0.0, 1.0/ROOT2 }, 4, ROOT2 },
     { 1, { 0.0, 0.0, -1. }, {  1.0/ROOT2, 0.0, 1.0/ROOT2 }, 2, ROOT2 },
     { 1, { 0.0, 0.0, -1. }, {  0.0, 1.0/ROOT2, 1.0/ROOT2 }, 3, ROOT2 },
-    { 1, { 0.5, 0.5, -1. }, {  0.0, 0.0, 1.0 },             6, 3     },
-    { 2, { 1.0, 0.0, 0.5 }, { -1.0, 0.0, 0.0 },             6, 1     } };
+    { 1, { 0.5, 0.5, -1. }, {  0.0, 0.0, 1.0 },             6, 1.5   },
+    { 2, { 1.0, 0.0, 0.5 }, { -1.0, 0.0, 0.0 },             6, 0.5   } };
 
   MBErrorCode rval;
   MBInterface& moab = *dagmc.moab_instance();



More information about the moab-dev mailing list