diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-12 16:41:17 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-12 16:41:17 -0400 |
commit | 6f0703602270d03f4025221f13fee21aa842a863 (patch) | |
tree | 2d227fbc236e647e3d6c96113f1d6b93a4113793 /tests/test_propagation.py | |
parent | 4b5d9c633bd01ce8b2819d92eaf3e01d881fb996 (diff) | |
download | chroma-6f0703602270d03f4025221f13fee21aa842a863.tar.gz chroma-6f0703602270d03f4025221f13fee21aa842a863.tar.bz2 chroma-6f0703602270d03f4025221f13fee21aa842a863.zip |
add chroma-sim script. get rid of GPU class; contexts should now be created with create_cuda_context().
Diffstat (limited to 'tests/test_propagation.py')
-rw-r--r-- | tests/test_propagation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_propagation.py b/tests/test_propagation.py index 8f9d084..43ecb9b 100644 --- a/tests/test_propagation.py +++ b/tests/test_propagation.py @@ -20,7 +20,8 @@ class TestPropagation(unittest.TestCase): cube = Geometry(vacuum) cube.add_solid(Solid(box(100,100,100), vacuum, vacuum)) cube.pmtids = [0] - sim = Simulation(cube, bvh_bits=4, geant4_processes=0, use_cache=False) + cube.build(use_cache=False) + sim = Simulation(cube, geant4_processes=0) # Create initial photons nphotons = 10000 |