cherry pick fixes

This commit is contained in:
Gavin Ridley 2021-04-22 15:39:06 -04:00
parent 4399645859
commit 711c60ea15
3 changed files with 3 additions and 6 deletions

View file

@ -315,7 +315,7 @@ cross_lattice(Particle& p, const BoundaryInfo& boundary)
if (settings::verbosity >= 10 || p.trace_) {
write_message(fmt::format(
" Crossing lattice {}. Current position ({},{},{}). r={}",
lat.id_, coord.lattice_x, coord.lattice_y, coord.lattice_z, p.r()), 1);
lat.id_, coord.lattice_i[0], coord.lattice_i[1], coord.lattice_i[2], p.r()), 1);
}
// Set the lattice indices.