Updates will be applied April 15th at 12pm EDT (UTC-0400). GitLab could be a little slow between 12 - 12:45pm EDT.

Commit e8c83483 authored by Burlen Loring's avatar Burlen Loring

Merge branch 'fix_miniapp_error_report' into 'master'

use cerr for errors in oscillator miniapp

See merge request !112
parents d9e827a7 a6ae4752
......@@ -115,12 +115,10 @@ struct Block
}
if (!enqueued)
{
fmt::print(
"Error: could not find appropriate neighbor for particle: "
"id: {}, position: ({}, {}, {}), velocity: ({}, {}, {})\n",
particle->id,
particle->position[0], particle->position[1], particle->position[2],
particle->velocity[0], particle->velocity[1], particle->velocity[2]);
std::cerr << "Error: could not find appropriate neighbor for particle: id: " << particle->id
<< ", position: (" << particle->position[0] << ", " << particle->position[1] << ", " << particle->position[2]
<< "), velocity: (" << particle->velocity[0] << ", " << particle->velocity[1] << ", " << particle->velocity[2]
<< std::endl;
}
particle = particles.erase(particle);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment