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

Use pre-step optical material ID in optical pre-generators #1297

Closed amandalund closed 1 week ago

amandalund commented 1 week ago

@sethrj noticed that we are using the post-boundary-crossing material in the optical pre-generators when we should be using the pre-step material. This fixes that.

amandalund commented 1 week ago

Yeah, we'll definitely want expand the testing...