While looking through PR #2135 I was thinking it might be useful if the openmc.data.Decay class have an export_to_hdf5 and a from_hdf5 classmethod.
This would allow us to process endf decay data into h5 files.
Once in h5 file format perhaps we could have decay data entries in the cross_sections.xml file or an equivalent xml file?
This would help automatically loading the decay data on demand for materials with lots of nuclides when we don't what to identify the individual endf files to use each time when making Decay instances.
While looking through PR #2135 I was thinking it might be useful if the openmc.data.Decay class have an
export_to_hdf5
and afrom_hdf5
classmethod.This would allow us to process endf decay data into h5 files.
Once in h5 file format perhaps we could have decay data entries in the cross_sections.xml file or an equivalent xml file?
This would help automatically loading the decay data on demand for materials with lots of nuclides when we don't what to identify the individual endf files to use each time when making Decay instances.