Commit 5332e02f authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

chenage logic to break if tolerance not reached

parent b340f21a
......@@ -382,7 +382,7 @@ solve(AdaptInfo& /*adaptInfo*/, bool createMatrixData, bool storeMatrixData)
}
}
test_exit(!solverInfo.doBreak() && !solverInfo.error(), "Could not solver the linear system!");
test_exit(!solverInfo.doBreak() || !solverInfo.error(), "Could not solver the linear system!");
}
......
......@@ -15,8 +15,7 @@ ch->mesh: chMesh
ch->solver: direct
ch->solver->max iteration: 1000
ch->solver->relative tolerance: 1e-6
ch->solver->break if tolerance not reached: 1
ch->solver->info: 0
ch->solver->info: 1
ch->output[0]->format: vtk
ch->output[0]->filename: phi.2d
......
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