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

Extend BIH capabilities for intersection operations #1479

Open elliottbiondo opened 2 weeks ago

elliottbiondo commented 2 weeks ago

This MR creates the BIHIntersectingVolFinder class which is used to find the surface that a ray intersects with first, and the corresponding distance to this surface. This is done using a traversal strategy that is distinct from BIHEnclosingVolFinder, as is documented in their respective top-level doc strings. In a subsequent MR, this will be "hooked up" for use in background volumes.

github-actions[bot] commented 2 weeks ago

Test summary

 3 401 files   5 253 suites   3m 52s :stopwatch:  1 587 tests  1 559 :white_check_mark: 28 :zzz: 0 :x: 17 504 runs  17 438 :white_check_mark: 66 :zzz: 0 :x:

Results for commit 4adf145f.

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

elliottbiondo commented 2 weeks ago

@sethrj this is ready. Probably better to review this one first, then I will do the vol_id + others one.