예제 #1
0
 def test_ray_story(self):
     # Run with `nosetests -s` to see output printed on stdout
     dagmc.tell_ray_story((0, 0, 0), (1, 1, 0))
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0))
     # tests edge behavior
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4)
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4.1)
예제 #2
0
 def test_ray_story(self):
     # Run with `nosetests -s` to see output printed on stdout
     dagmc.tell_ray_story((0, 0, 0), (1, 1, 0))
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0))
     # tests edge behavior
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4)
     dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4.1)
예제 #3
0
def ray_story():
    from pyne import dagmc
    dagmc.load(path)

    # Run with `nosetests -s` to see output printed on stdout
    dagmc.tell_ray_story((0, 0, 0), (1, 1, 0))
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0))
    # tests edge behavior
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4)
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4.1)
예제 #4
0
def ray_story():
    from pyne import dagmc
    dagmc.load(path)
    
    # Run with `nosetests -s` to see output printed on stdout
    dagmc.tell_ray_story((0, 0, 0), (1, 1, 0))
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0))
    # tests edge behavior
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4)
    dagmc.tell_ray_story((-3, 0, 0), (1, 0, 0), dist_limit=4.1)