Skip to content

Migrating ENDF interfacing from endf_parserpy to openmc.data - #310

Open
eitan-weinstein wants to merge 8 commits into
svalinn:mainfrom
eitan-weinstein:openmc_migration
Open

Migrating ENDF interfacing from endf_parserpy to openmc.data#310
eitan-weinstein wants to merge 8 commits into
svalinn:mainfrom
eitan-weinstein:openmc_migration

Conversation

@eitan-weinstein

Copy link
Copy Markdown
Contributor

Follows #305.

Even though we only recently made the switch from ENDFtk to endf_parserpy for our internal ENDF/PENDF interfacing, taking advantage of OpenMC's NJOY-compatible interpolation functionality pushed me to further investigate using openmc.data in general, beyond just the use-case of continuous energy cross-section interpolation within xs_plotting.

My main concern going into this, as I mentioned in the thread under #305, was whether openmc.data would be able to parse PENDF files. However, after building these new updates and testing them against the results with the previous endf_parserpy dependency, I found them to agree and that concern turned out to be a non-issue. Moreover, a nice add-on benefit that I've found from this migration is that OpenMC's parsing seems to be much faster than endf_parserpy. Not that it matters so much in the grand scheme of things, because the main contributing factor to the speed of the preprocessor is actually running NJOY itself, but it's still nice to improve the operating speed where it can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant