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

Implement G4Sphere conversion #1177

Closed sethrj closed 3 months ago

sethrj commented 3 months ago

This implements conversion of the Sphere shape, as long as it doesn't have any polar segmentation.

See #1167

@mrguilima This is an example of how to add the GenTrap conversion with new tests (except of course you don't need to create a new Solid, you should just be able to use make_shape), so please do something similar in a new PR!