示例#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)