mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Some updates from self-review.
This commit is contained in:
parent
9874004e94
commit
3d8c6a9f4b
7 changed files with 11 additions and 14 deletions
|
|
@ -115,9 +115,8 @@ find_cell_inner(Particle& p, const NeighborList* neighbor_list)
|
|||
const auto& univ {model::universes[i_universe]};
|
||||
found = univ->find_cell(p);
|
||||
}
|
||||
if (!found) {
|
||||
return found;
|
||||
}
|
||||
|
||||
if (!found) { return found; }
|
||||
i_cell = p.coord_[p.n_coord_ - 1].cell;
|
||||
|
||||
// Announce the cell that the particle is entering.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue