mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
misc small edits. Trying to track down threading bug that causes undefined behavior
This commit is contained in:
parent
69d782f315
commit
79bf18efa8
4 changed files with 22 additions and 8 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue