Commit 3c9e0319 authored by Lukas Riedel's avatar Lukas Riedel

Enable linear solver warning concerning ParMETIS

Only enabled for verbose > 0 and processor rank 0.
parent b5a5b8d1
......@@ -120,13 +120,18 @@ bool Simulation<Traits>::compute_time_step ()
const RF t = controller->getTime();
const RF dt = controller->getDT();
bool exception = false;
const bool parmetis_warning = verbose > 0 && helper.rank() == 0 ?
true : false;
try
{
pdesolver->setMaxIterations(controller->getIterations());
dwarn.push(false);
osm->apply(t,dt,*uold,*unew);
dwarn.pop();
if (not parmetis_warning)
dwarn.push(false);
osm->apply(t, dt, *uold, *unew);
if (not parmetis_warning)
dwarn.pop();
*uold = *unew;
}
......
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