Commit 43685b9e authored by Giuliano Lombardo's avatar Giuliano Lombardo Committed by Kilian Weishaupt
Browse files

[staggered][freeflow] Print position of failing BC

parent 0d76e19f
......@@ -326,7 +326,8 @@ protected:
residual += computeFluxForFace(problem, element, scvf, fvGeometry, elemVolVars, elemFaceVars, elemFluxVarsCache);
}
else
DUNE_THROW(Dune::InvalidStateException, "Something went wrong with the boundary conditions for the momentum equations.");
DUNE_THROW(Dune::InvalidStateException, "Something went wrong with the boundary conditions "
"for the momentum equations at global position " << scvf.center());
}
}
......
Supports Markdown
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