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/
Other
64 stars 35 forks source link

Add distance-to-bbox function #1446

Closed elliottbiondo closed 3 weeks ago

elliottbiondo commented 1 month ago

This MR adds the ability to calculate the distance to the inside of a bounding box for a given point and direction. This small enhancement should be all that is necessary gearing up to a larger MR for BIH background intersections.

elliottbiondo commented 1 month ago

@sethrj this small MR is ready for you review

github-actions[bot] commented 1 month ago

Test summary

 3 350 files   5 176 suites   3m 53s :stopwatch:  1 558 tests  1 530 :white_check_mark: 28 :zzz: 0 :x: 17 198 runs  17 135 :white_check_mark: 63 :zzz: 0 :x:

Results for commit baacebcb.

:recycle: This comment has been updated with latest results.

elliottbiondo commented 3 weeks ago

@sethrj @pcanal this is ready for another look