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

Tim Tautges tautges at mcs.anl.gov
Mon Aug 10 10:08:05 CDT 2009


Thanks Brandon.

- tim

bmsmith6 at wisc.edu wrote:
> 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();
> 
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706




More information about the moab-dev mailing list