Using ParticleData accessors where needed.

This commit is contained in:
Patrick Shriwise 2021-05-19 20:33:59 -05:00
parent ff69f5a07a
commit 618efbe9a7
4 changed files with 24 additions and 24 deletions

View file

@ -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())) {