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:
lewisgross1296 2022-08-18 14:55:56 -05:00
parent 183d9c74f6
commit 0ef945cc06

View file

@ -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();
}