mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
Making sure overlap check counter is initialized if a plot requests that overlaps be drawn.
This commit is contained in:
parent
e837f2eb19
commit
2b7057667c
1 changed files with 1 additions and 0 deletions
|
|
@ -667,6 +667,7 @@ void Plot::set_color_overlaps(pugi::xml_node plot_node) {
|
|||
// they're going to be plotted
|
||||
if (color_overlaps_ && settings::run_mode == RUN_MODE_PLOTTING) {
|
||||
settings::check_overlaps = true;
|
||||
model::overlap_check_count.resize(model::cells.size(), 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue