From 0716c8af5be04ea1709ca178d5341e5ee3df607b Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Mon, 25 Jul 2011 16:41:34 -0400 Subject: moved triangle colors to a separate global device array so that the ray tracer and photon simulation can be run in the same context. added the ability to add alpha channel to triangle color so that triangles can be made transparent. added __noinline__ modifier to certain device functions to speed up kernel compilation. --- detectors/lbne.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'detectors') diff --git a/detectors/lbne.py b/detectors/lbne.py index d7b6843..8fe2c18 100644 --- a/detectors/lbne.py +++ b/detectors/lbne.py @@ -20,7 +20,7 @@ def build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing): # outer cylinder 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)) + lbne.add_solid(Solid(cylinder_mesh, water, vacuum, black_surface, 0x990000ff)) lbne.pmtids = [] -- cgit