In volume calculation mode, only load atomic weight ratio from data files (#2741)

This commit is contained in:
Paul Romano 2023-11-28 02:32:25 -06:00 committed by GitHub
parent cad9fdc338
commit b66c6d47f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,10 @@ Nuclide::Nuclide(hid_t group, const vector<double>& 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);