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

Implement polycone #1247

Closed sethrj closed 1 month ago

sethrj commented 1 month ago

Chained on #1246

This adds the notorious "polycone" shape (stacked cones/cylinders), at least for inside/outside testing and distance calculation. It allows cylinders to be constructed as degenerate cones since that's a common pattern.