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

Add external bounding box to generic trapezoid #1244

Closed sethrj closed 1 month ago

sethrj commented 1 month ago

As part of this I added an improved grow function for the bbox and realized while doing so that the existing min/max that we've defined is suboptimal for certain architectures (viz., ARM) and that the CUDA floating point min/max are exactly equal to fmin/fmax which is supported across architectures.