misc small edits. Trying to track down threading bug that causes undefined behavior

This commit is contained in:
John Tramm 2020-01-06 20:52:48 +00:00
parent 69d782f315
commit 79bf18efa8
4 changed files with 22 additions and 8 deletions

View file

@ -119,6 +119,12 @@ find_cell_inner(Particle* p, const NeighborList* neighbor_list)
}
// Announce the cell that the particle is entering.
if( p->trace_ )
{
std::stringstream msg;
msg << "p->trace = " << p->trace_;
write_message(msg, 1);
}
if (found && (settings::verbosity >= 10 || p->trace_)) {
std::stringstream msg;
msg << " Entering cell " << model::cells[i_cell]->id_;