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 generic grid builder and refactor builder code that uses generic grids #1157

Closed sethrj closed 5 months ago

sethrj commented 5 months ago

This adds a helper class for building GenericGridData (which we can later rename to GenericGridRecord and probably consolidate some of the grid classes). It removes the unused "generic grid" value grid builder/inserter functions for now, and also removes the unsupported "interp" data for the grids, since those are also unused.

I also added some error handling code for the livermore PE reader and inserter, since hydrogen doesn't have low-energy cross sections.