Example #1
0
def boundary():
    from pyne import dagmc

    dagmc.load(path)

    low, high = dagmc.volume_boundary(2)
    return [low, high]
Example #2
0
def boundary():
    from pyne import dagmc
    dagmc.load(path)

    low, high = dagmc.volume_boundary(2)
    for i in range(0, 3):
        assert_true(low[i] <= -1.0)
        assert_true(high[i] >= 1.0)
Example #3
0
def boundary():
    from pyne import dagmc
    dagmc.load(path)
    
    low, high = dagmc.volume_boundary(2)
    for i in range(0, 3):
        assert_true(low[i] <= -1.0)
        assert_true(high[i] >= 1.0)
Example #4
0
 def test_boundary(self):
     low, high = dagmc.volume_boundary(2)
     for i in range(0, 3):
         self.assertTrue(low[i] <= -1.0)
         self.assertTrue(high[i] >= 1.0)
Example #5
0
 def test_boundary(self):
     low, high = dagmc.volume_boundary(2)
     for i in range(0, 3):
         self.assertTrue(low[i] <= -1.0)
         self.assertTrue(high[i] >= 1.0)