mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
Namespace filter_matches and tally_filters
This commit is contained in:
parent
a63a89f9d6
commit
24613a6799
4 changed files with 42 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue