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

Add proto-universe and CSG Unit construction #1148

Closed sethrj closed 5 months ago

sethrj commented 5 months ago

This is the next-to-last step for programmatically building an ORANGE geometry from CSG objects. It defines a "proto-universe" interface for defining individual universes (aka "scenes") and building them. For testing and external integration with SCALE, the UnitProto class has a helper function for returning a CsgUnit which makes testing a cinch.

The following PR will take the constructed CSG unit, build a UniverseInput, and actually construct an OrangeParams object for tracking.