From 46011a8e4ffa31f4b057b20b84e5b45b447902b7 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Wed, 20 Jul 2011 17:48:32 -0400 Subject: pulled a lot of the photon propagation code out of src/kernel.cu into src/photon.h so that photon propagation by propagate() in kernel.cu and the hybrid monte carlo ray tracing use the same code. instead of a single state, photons now carry the history of the processes they've undergone. this history is stored as a bitmask; see src/photon.h. start_node and first_node of the mesh are now stored as global variables in mesh.h instead of being passed to kernel functions. --- detectors/lbne.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'detectors/lbne.py') diff --git a/detectors/lbne.py b/detectors/lbne.py index 2b940d6..d7b6843 100644 --- a/detectors/lbne.py +++ b/detectors/lbne.py @@ -18,7 +18,7 @@ def build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing): lbne = Geometry() # outer cylinder - cylinder_mesh = cylinder(radius, radius, height+height/(pmts_per_string-1)) + cylinder_mesh = cylinder(radius, radius, height+height/(pmts_per_string-1), theta=(2*np.pi/nstrings)/4) cylinder_mesh.vertices = rotate(cylinder_mesh.vertices, np.pi/2, (-1,0,0)) lbne.add_solid(Solid(cylinder_mesh, water, vacuum, black_surface, 0xff)) -- cgit