Converted fission bank to SharedArray type.

This commit is contained in:
John Tramm 2020-01-23 20:28:55 +00:00
parent 6bf15297ec
commit 56e314d724
7 changed files with 32 additions and 45 deletions

View file

@ -375,7 +375,7 @@ void initialize_generation()
{
if (settings::run_mode == RunMode::EIGENVALUE) {
// Clear out the fission bank
simulation::fission_bank_length = 0;
simulation::fission_bank.resize(0);
// Count source sites if using uniform fission source weighting
if (settings::ufs_on) ufs_count_sites();