mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
removing set_strides() from tally.cpp causes issues, but it should be fine to add in openmc_simulation_init() and in there should occur before init_results. this is because init_results use n_filter_bins_ which is modified by set_strides()
This commit is contained in:
parent
183d9c74f6
commit
0ef945cc06
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ int openmc_simulation_init()
|
|||
|
||||
// Allocate tally results arrays if they're not allocated yet
|
||||
for (auto& t : model::tallies) {
|
||||
t->set_strides();
|
||||
t->init_results();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue