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
62 stars 32 forks source link

Support safety and reentrant boundaries for multi-universe ORANGE #1140

Closed elliottbiondo closed 6 months ago

elliottbiondo commented 6 months ago

This MR adds support for reentrant cross_boundary() calls when a particle resides on boundary between geometric universes. In addition, safety distance calculations are updated to find the minimum safety distance over multiple levels. A TestEM3 unit test is added, using universes. This version of the this test problem supports simple safety. Finally, a bug in UnitInserter is fixed, in which volume flags were being erroneously unset.

elliottbiondo commented 6 months ago

@sethrj you can remove draft and begin your review

elliottbiondo commented 6 months ago

@sethrj this is ready for another look