Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-16 | Rename chroma.fileio to chroma.io | Stan Seibert | |
2011-09-16 | Silence annoying GEANT4 warnings and banners during operation. | Stan Seibert | |
2011-09-16 | Now use setuptools-built Boost::Python GEANT4 module | Stan Seibert | |
2011-09-16 | Move C++ source to src directory | Stan Seibert | |
2011-09-16 | Move CUDA source inside chroma package, rename tests directory to test | Stan Seibert | |
2011-09-11 | remove #include. | Anthony LaTorre | |
2011-09-11 | speedup triangle intersection by reducing STACK_SIZE. | Anthony LaTorre | |
2011-09-10 | store geometry struct in shared memory. this increases photon propagation ↵ | Anthony LaTorre | |
speed from 3.3M -> 3.45!. | |||
2011-09-10 | geometry -> g, triangle -> t. dot(-a,b) <-> -dot(a,b). | Anthony LaTorre | |
2011-09-10 | merge | Anthony LaTorre | |
2011-09-10 | update 3d mode to work properly when rendering multiple geometries. | Anthony LaTorre | |
2011-09-10 | merge | Stan Seibert | |
2011-09-10 | Add the ability to propagate the same photons multiple times on the | Stan Seibert | |
the GPU, and run the DAQ multiple times on the same photons in a likelihood calculation. Propagating the same photons in a warp speeds up propagation by a factor of 3 (and we could do this even better if we wanted), and this improves the statistics in a likelihood evaluation quite a bit. Running the DAQ multiple times is also an inexpensive way to improve the quality of the PDF estimates. | |||
2011-09-10 | new alpha rendering scheme. | Anthony LaTorre | |
2011-09-07 | fix bug in searchsorted() so that it properly searches a descending array. | Anthony LaTorre | |
2011-09-06 | fix devious assumption in searchsorted that if searching a length one array ↵ | Anthony LaTorre | |
it assumed the array was meant to be in descending order; it now assumes ascending order and this assumption is documented. | |||
2011-09-06 | make min_distance argument to intersect_node() optional. | Anthony LaTorre | |
2011-09-06 | geometry on the GPU is now a struct created in the GPUGeometry class. coding ↵ | Anthony LaTorre | |
style for cuda code is now compliant with python PEP 7 -- Style Guide for C Code. | |||
2011-09-03 | merge | Stan Seibert | |
2011-09-03 | GPU-based sampling from an arbitrary distribition. | Stan Seibert | |
The sample_cdf() device function will draw random numbers from an arbitrary disribution given a cumulative distribution function in the form of a list of x,y points, beginning with y=0 and ending with y=1. For an example of how to convert a ROOT histogram to this form, see the unit test in test_sample_cdf.py | |||
2011-09-02 | update event structure. break gpu.GPU class into separate smaller ↵ | Anthony LaTorre | |
independent classes. | |||
2011-08-26 | no more 3d headache! 3d viewing angle changes depending on the distance to ↵ | Anthony LaTorre | |
the object in the center of the screen. | |||
2011-08-25 | merge | Anthony LaTorre | |
2011-08-25 | add 3d support to camera views by displaying images as an anaglyph. alpha ↵ | Anthony LaTorre | |
coloring is now calculated using the new searching/sorting algorithms. | |||
2011-08-25 | add cuda sorting/searching algorithms in src/sorting.h | Anthony LaTorre | |
2011-08-25 | A new PDF evaluation method that does not require storage proportional | Stan Seibert | |
to [number of bins] * [number of PMTs]. Instead we accumulate information as the Monte Carlo runs in order to evaluate the PDFs only at the points required for the likelihood calculation. This new interface has been propagated all the way up from the GPU class through the Simulation class to the Likelihood class. We have preserved the full binned histogram implementation in case we need it in the future. | |||
2011-08-22 | Enable creation of charge and time PDF on GPU | Stan Seibert | |
2011-08-18 | Replace Rayleigh scattering implementation with that from SNOMAN. The | Stan Seibert | |
angular distribution is slightly different, and now fits with the distribution given in the GEANT4 physics reference manual. Unit test is now included to verify the correctness of the scattering. | |||
2011-08-18 | Fix bug that caused photons to NAN_ABORT if they hit a triangle | Stan Seibert | |
at exactly normal incidence. The plane of incidence was undefined in that case, but should have been the plane normal to polarization vector. | |||
2011-08-17 | import chroma modules from subpackages with import chroma.module_name | Anthony LaTorre | |
2011-08-16 | add linear_extrude() function to make.py. rotate_extrude() now takes the ↵ | Anthony LaTorre | |
number of rotational steps to extrude instead of the angle step size. updated documention in make.py. | |||
2011-08-15 | merge | Anthony LaTorre | |
2011-08-15 | woops. dot product should be clamped to [-1.0,1.0]. | Anthony LaTorre | |
2011-08-15 | fix nan bug by clamping dot() of surface normal and -photon direction to ↵ | Anthony LaTorre | |
[0.0,1.0] | |||
2011-08-14 | Rewrite the color_solid function in gpu.GPU (and associated CUDA code) | Stan Seibert | |
to make it 100x faster. Instead of having each CUDA thread loop over the full triangle list, we give each thread a single triangle and ask it to look up the hit status and color for that triangle. The hit array and color array are small enough (approx 30,000 entries) to fit into the cache, so this goes much faster. Now the event viewer is quite snappy! | |||
2011-08-13 | A faulty optical process can make the position or direction of the | Stan Seibert | |
photon into NaN on the GPU. Now we abort these photons rather than let them lock up the intersect_mesh() method. There is a new history bit (#31) that indicates when a NAN_ABORT has occurred, and this bit is checked for by GPU.propagate(). If set for any of the photons, a warning message is printed. While not as good as preventing the NaN problem in the first place, this at least ensures we are aware of the problem. | |||
2011-08-12 | merge | Anthony LaTorre | |
2011-08-12 | do not check child nodes of a node at which the distance to the bounding box ↵ | Anthony LaTorre | |
is further than a triangle the ray/photon has already intersected | |||
2011-08-12 | Use an input and output photon queue in order to consolidate all the | Stan Seibert | |
photons that didn't die during propagation into the beginning of the list. This speeds up propagation by reducing the number of partially filled CUDA warps on the next propagation step. 2.2 million photons/sec on LBNE! | |||
2011-08-11 | No need for __noinline__ now that kernel caching works. | Stan Seibert | |
2011-08-11 | Switch from texture to float3 array for upper and lower bounds. 10% speed ↵ | Stan Seibert | |
boost! | |||
2011-08-10 | add the ability to cache a geometry along with its bounding volume ↵ | Anthony LaTorre | |
hierarchy. cached files are stored in $HOME/.chroma. fixed the timeit() decorator so that the decorated function is still able to pass back a return value. | |||
2011-08-09 | merge heads | Anthony LaTorre | |
2011-08-09 | switch to indexing child nodes by start and stop indices instead of start ↵ | Anthony LaTorre | |
and length; this reduces a bit of arithmetic when traversing the bounding volume hierarchy and makes the code in Geometry.build() more concise. add an untested cuda kernel to interleave the bits in three uint64 arrays. | |||
2011-08-09 | Put number of detected photons into charge value for channel. | Stan Seibert | |
2011-08-09 | Store a photon history for each hit channel. If multiple photons hit the | Stan Seibert | |
same channel, their history bits are OR'ed together. | |||
2011-08-08 | propagate() takes an array of photon offsets and a range of | Stan Seibert | |
offsets to load. Now events with more photons than RNG states can be propagated through multiple kernel calls. Also lays the groundwork for consolidating photons between steps to reduce the amount of propagation work required. | |||
2011-08-08 | add a simple event viewer. view events by running ./camera.py ↵ | Anthony LaTorre | |
<detector_name> -i <name_of_io_file>. | |||
2011-08-04 | Don't draw a random time delta in the daq kernel unless it is necessary. | Stan Seibert | |
2011-08-03 | Merge with Tony | Stan Seibert | |