mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
In volume calculation mode, only load atomic weight ratio from data files (#2741)
This commit is contained in:
parent
cad9fdc338
commit
b66c6d47f2
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue