Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2011-08-12 | speedup Mesh.remove_duplicate_vertices() | Anthony LaTorre | |
2011-08-12 | Widen the field of view in camera to make it easier to look at Cherenkov ↵ | Stan Seibert | |
rings from inside the detector. | |||
2011-08-12 | Allow multiple GEANT4 generator threads to keep up with the speed of photon ↵ | Stan Seibert | |
propagation. Defaults to 4. | |||
2011-08-12 | Segmented cylinder FOR MOAR SPEED! 1.8 Mphotons/sec! | Stan Seibert | |
2011-08-12 | G4Generator and sim.py can now generate boosted pi0 decays. | Stan Seibert | |
The ROOT data structure has been extended to allow storage of the individual gamma rays as subtracks. | |||
2011-08-12 | Refactor ROOT file writing into fileio.root.RootWriter class | Stan Seibert | |
2011-08-12 | Storage for subtracks in ROOT data structure. | Stan Seibert | |
2011-08-11 | Make the generator process a "daemon" process, so it will be cleaned | Stan Seibert | |
up when the parent exits, and also start the generator process earlier. | |||
2011-08-11 | merge | Stan Seibert | |
2011-08-11 | Tell CUDA to enlarge L1 cache. | Stan Seibert | |
2011-08-11 | merge heads | Anthony LaTorre | |
2011-08-11 | add consume() to itertoolset. checksum the number of bits shifted in each ↵ | Anthony LaTorre | |
iteration of the bounding volume hierarchy construction. only cache the bounding volume hierarchy information. | |||
2011-08-11 | No need for __noinline__ now that kernel caching works. | Stan Seibert | |
2011-08-11 | Show number of registers used in CUDA kernels | Stan Seibert | |
2011-08-11 | Switch from texture to float3 array for upper and lower bounds. 10% speed ↵ | Stan Seibert | |
boost! | |||
2011-08-10 | Set the GEANT4 and CUDA RNG seeds using current time and process ID if not ↵ | Stan Seibert | |
set on command line. |