Skip to content

Commit

Permalink
In volume calculation mode, only load atomic weight ratio from data f…
Browse files Browse the repository at this point in the history
…iles (#2741)
  • Loading branch information
paulromano authored Nov 28, 2023
1 parent cad9fdc commit b66c6d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nuclide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b66c6d4

Please sign in to comment.