mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Using ParticleData accessors where needed.
This commit is contained in:
parent
ff69f5a07a
commit
618efbe9a7
4 changed files with 24 additions and 24 deletions
|
|
@ -117,7 +117,7 @@ find_cell_inner(Particle& p, const NeighborList* neighbor_list)
|
|||
}
|
||||
|
||||
if (!found) { return found; }
|
||||
i_cell = p.coord_[p.n_coord_ - 1].cell;
|
||||
i_cell = p.coord(p.n_coord() - 1).cell;
|
||||
|
||||
// Announce the cell that the particle is entering.
|
||||
if (found && (settings::verbosity >= 10 || p.trace())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue