From b66c6d47f2d83a610901c03f8f919635da0dc9b3 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 28 Nov 2023 02:32:25 -0600 Subject: [PATCH] In volume calculation mode, only load atomic weight ratio from data files (#2741) --- src/nuclide.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nuclide.cpp b/src/nuclide.cpp index d2863025270..14d21bb090a 100644 --- a/src/nuclide.cpp +++ b/src/nuclide.cpp @@ -62,6 +62,10 @@ Nuclide::Nuclide(hid_t group, const vector& temperature) read_attribute(group, "metastable", metastable_); read_attribute(group, "atomic_weight_ratio", awr_); + if (settings::run_mode == RunMode::VOLUME) { + return; + } + // Determine temperatures available hid_t kT_group = open_group(group, "kTs"); auto dset_names = dataset_names(kT_group);