Namespace filter_matches and tally_filters

This commit is contained in:
Paul Romano 2018-11-08 15:46:06 -06:00
parent a63a89f9d6
commit 24613a6799
4 changed files with 42 additions and 30 deletions

View file

@ -81,7 +81,7 @@ int openmc_simulation_init()
// Allocate array for matching filter bins
#pragma omp parallel
{
filter_matches.resize(n_filters);
simulation::filter_matches.resize(model::tally_filters.size());
}
// Set up tally procedure pointers
@ -144,7 +144,7 @@ int openmc_simulation_finalize()
#pragma omp parallel
{
filter_matches.clear();
simulation::filter_matches.clear();
}
// Deallocate Fortran variables, set tallies to inactive