Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-18 | Could have run off the end of the array by 1 because the queue counter ↵ | Stan Seibert | |
points to the next available photon slot. | |||
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-18 | merge | Anthony LaTorre | |
2011-08-18 | make default camera resolution widescreen. fix checkerboard scene. | Anthony LaTorre | |
2011-08-17 | Start of MiniCLEAN geometry. | Stan Seibert | |
2011-08-17 | add grouper function from the itertools example | Stan Seibert | |
2011-08-17 | event module is no longer part of generator package | Stan Seibert | |
2011-08-17 | Add flag to Simulation() and Geometry.build() to ignore the BVH cache. | Stan Seibert | |
2011-08-17 | Put the temporary ZeroMQ IPC socket file into /tmp directory. | Stan Seibert | |
2011-08-17 | merge | Stan Seibert | |
2011-08-17 | Switch to ZeroMQ for both directions of communication between | Stan Seibert | |
the GEANT4 processes. Also handle sending the initial particle vertices from a thread in the main process to avoid possible deadlocking if the vertex queues fill up. | |||
2011-08-17 | Switch from multiprocessing.Queue to ZeroMQ push/pull socket for moving ↵ | Stan Seibert | |
photon information around. Improves LBNE performance from 1.4 to 2 Mphotons/sec. | |||
2011-08-17 | move useful bits from view.py into camera.py and get rid of view.py | Anthony LaTorre | |
2011-08-17 | merge | Anthony LaTorre | |
2011-08-17 | import chroma modules from subpackages with import chroma.module_name | Anthony LaTorre | |
2011-08-16 | merge documentation changes | Stan Seibert | |
2011-08-16 | Remove some unused parts of generator/photon.py | Stan Seibert | |
2011-08-16 | merge | Anthony LaTorre | |
2011-08-16 | update geometry.py() documentation | Anthony LaTorre | |
2011-08-16 | Minor fixes to simulation. Default to 11 bit mode, fix print statement. | Stan Seibert | |
2011-08-16 | Preheat GEANT4 process by running a short event at startup | Stan Seibert | |
2011-08-16 | Inexplicable syntax error sitting in our package __init__.py | Stan Seibert | |
2011-08-16 | update documentation for tools.py | Anthony LaTorre | |
2011-08-16 | add document\ation to stl.py. | Anthony LaTorre | |
2011-08-16 | cleanup and add documentation to pi0.py | Anthony LaTorre | |
2011-08-16 | merge | Stan Seibert | |
2011-08-16 | Refactor sim.py into a reusable Simulation class that is called by the | Stan Seibert | |
main function(). Also cleanup more event data structure names and add an nphoton value that is preserved even if you prune off all the actual photon vertices. | |||
2011-08-16 | merge | 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-16 | Seed the numpy random number generator. | Stan Seibert | |
2011-08-16 | Move general utility functions out of sim.py into tools. | Stan Seibert | |
The enable_debug_on_crash() function sets the exception hook to start up PDB on uncaught exceptions The @profile_if_possible decorator applies the kernprof.py @profile decorator if available (because of profiling in progress), otherwise does nothing. | |||
2011-08-16 | Merge | Stan Seibert | |
2011-08-16 | Epic restructuring of code to switch to a generator-based style of | Stan Seibert | |
event creation. Now we have vertex generators (that produce initial particles), photon generators (that create photons to propagate), and a standard data structure using Python class containers and numpy arrays to hand around the code. Also cleaned up some naming of things before they become conventions. | |||
2011-08-16 | Draw hits with charge rather than time. | Stan Seibert | |
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 | special camera mode | Stan Seibert | |
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-14 | Add a helper function to the ROOT Channel class that will populate 3 | Stan Seibert | |
arrays with hit information: hit or not, time and charge. Handy for fetching all the hits in an event into numpy arrays. | |||
2011-08-14 | Oops, view.py is still in use. | Stan Seibert | |
2011-08-13 | Remove unused render and view files. They have both been superceded by ↵ | Stan Seibert | |
camera.py. | |||
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-13 | For consistency, we should keep the water index of refraction down to | Stan Seibert | |
200 nm, like all the other optical properties. It no longer is a speed benefit, anyway. | |||
2011-08-13 | Finally get GEANT4 to stop printing debug information about all the physics ↵ | Stan Seibert | |
processes | |||
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 | Merge | Stan Seibert | |
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-12 | merge | Anthony LaTorre | |