mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
Removing unreachable block.
This commit is contained in:
parent
168066c01f
commit
73a068026f
1 changed files with 0 additions and 5 deletions
|
|
@ -684,16 +684,11 @@ void position_rgb(Particle p, Plot pl, RGBColor& rgb, int& id)
|
|||
rgb = pl.colors_[p.material - 1];
|
||||
id = materials[p.material - 1]->id_;
|
||||
}
|
||||
|
||||
} else if (PlotColorBy::cells == pl.color_by_) {
|
||||
// Assign color based on cell
|
||||
rgb = pl.colors_[p.coord[j].cell];
|
||||
id = cells[p.coord[j].cell]->id_;
|
||||
} else {
|
||||
rgb = RGBColor();
|
||||
id = -1;
|
||||
}
|
||||
|
||||
} // endif found_cell
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue