summaryrefslogtreecommitdiff
path: root/src/random.h
AgeCommit message (Collapse)Author
2011-09-06geometry 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-03GPU-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-06-23move photon initialization to the gpu. it's unclear if this is a speed ↵Anthony LaTorre
improvement.
2011-06-12added some fun models; added some untested code to implement absorption, ↵Anthony LaTorre
scattering, reflection, and refraction