celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/user/index.html
Other
58 stars 32 forks source link

Work around union/polysolid boundaries and fix transformation of explicit daughters #1264

Closed sethrj closed 3 weeks ago

sethrj commented 4 weeks ago

This adds a minimal reproducer demonstrating #1260 (which is still disabled), adds a minimal GDML failure (union volume with a daughter), and then:

The force-inlining may be very inefficient but at least allows us a working solution while we implement a better longer-term alternative. It also creates universes with many more surfaces than before, which means that the surface hash acceleration from #1183 needs to be merged for performance reasons for nontrivial problems.

Tilecal top-level universe: tiletb csg

Raytrace at y=0: tilecal-xz

Raytrace at x=1.8m still shows some issues with the GenTrap's positioning somehow: emec-yz-x1800mm