openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
699 stars 444 forks source link

`LostParticle` class in the Python API #2947

Closed pshriwise closed 2 days ago

pshriwise commented 3 weeks ago

Description

We have some nice capabilities for reading track files and it seems to me that some similar capability for handling particle restart files would be useful as well.

Alternatives

Adapt or modify existing Track(s) classes to support particle restart files also.

Compatibility

Likely a pure addition in capability.

shimwell commented 2 days ago

Paul just found this in the monthly meeting https://github.com/openmc-dev/openmc/blob/develop/openmc/particle_restart.py

pshriwise commented 2 days ago

I'm going to close this as it isn't urgent/critical, but I'll note that discussed a couple of feature additions for this class on the monthly call today: