mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Adding comment to cell_instance_at_level.
This commit is contained in:
parent
b2efde1033
commit
b42a04cc76
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ int cell_instance_at_level(const Particle& p, int level) {
|
|||
// determine the cell instance
|
||||
Cell& c {*model::cells[p.coord(level).cell]};
|
||||
|
||||
// quick exit if this cell doesn't have distribcell instances
|
||||
if (c.distribcell_index_ == C_NONE) return C_NONE;
|
||||
|
||||
int instance = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue