From 088c4342195119b69b5f5fdb3ae18c2709b1bbb4 Mon Sep 17 00:00:00 2001 From: shimwell Date: Fri, 10 Jan 2025 16:33:10 +0100 Subject: [PATCH] added fendl 3.2c --- README.md | 2 +- src/openmc_data/convert/convert_fendl.py | 6 +++--- src/openmc_data/urls.py | 27 ++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd67741..db2d2be 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ A few categories of scripts are available: |convert_mcnp71 | ENDF/B | VII.1 | LANL | |convert_endf | ENDF/B | VII.1 | NNDC | |convert_lib80x | ENDF/B | VIII.0 | LANL | -|convert_fendl | FENDL | 3.2b
3.2a
3.2
3.1d
3.1a
3.1
3.0
2.1 | +|convert_fendl | FENDL | 3.2c
3.2b
3.2a
3.2
3.1d
3.1a
3.1
3.0
2.1 | |convert_jeff32 | JEFF | 3.2 | |convert_jeff33 | JEFF | 3.3 | |convert_tendl | TENDL | 2015
2017
2019
2021 | diff --git a/src/openmc_data/convert/convert_fendl.py b/src/openmc_data/convert/convert_fendl.py index c607374..a53e9f5 100755 --- a/src/openmc_data/convert/convert_fendl.py +++ b/src/openmc_data/convert/convert_fendl.py @@ -58,10 +58,10 @@ class CustomFormatter( parser.add_argument( "-r", "--release", - choices=["3.2b", "3.2a", "3.2", "3.1d", "3.1a", "3.1", "3.0", "2.1"], - default="3.2b", + choices=["3.2c", "3.2b", "3.2a", "3.2", "3.1d", "3.1a", "3.1", "3.0", "2.1"], + default="3.2c", help="The nuclear data library release version. The currently supported " - "options are 3.2b, 3.2a, 3.2, 3.1d, 3.1a, 3.1, 3.0, and 2.1", + "options are 3.2c 3.2b, 3.2a, 3.2, 3.1d, 3.1a, 3.1, 3.0, and 2.1", ) parser.add_argument( "-p", diff --git a/src/openmc_data/urls.py b/src/openmc_data/urls.py index b164b35..47669ef 100644 --- a/src/openmc_data/urls.py +++ b/src/openmc_data/urls.py @@ -50,6 +50,33 @@ }, }, "fendl": { + "3.2c": { + "neutron": { + "endf": { + "base_url": "https://www-nds.iaea.org/fendl/data/neutron/", + "compressed_files": ["fendl-FENDL-3.2c-neutron-endf.zip"], + "endf_files": "neutron/endf/*.endf", + "compressed_file_size": 0, + "uncompressed_file_size": 0, + }, + "ace": { + "base_url": "https://www-nds.iaea.org/fendl/data/neutron/", + "compressed_files": ["fendl-FENDL-3.2c-neutron-ace.zip"], + "ace_files": "neutron/ace/*", + "compressed_file_size": 0, + "uncompressed_file_size": 0, + } + }, + "photon": { + "endf": { + "base_url": "https://www-nds.iaea.org/fendl/data/atom/", + "compressed_files": ["fendl-FENDL-3.2c-atom-endf.zip"], + "endf_files": "atom/endf/*.endf", + "compressed_file_size": 0, + "uncompressed_file_size": 0, + } + }, + }, "3.2b": { "neutron": { "endf": {