Skip to content
Snippets Groups Projects
Commit 8934cbe2 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'feature/improve-error-msg-staggered-local-res' into 'master'

[staggered][freeflow] Print position of failing BC

See merge request !1185
parents 5e94e6e8 43685b9e
No related branches found
No related tags found
1 merge request!1185[staggered][freeflow] Print position of failing BC
...@@ -326,7 +326,8 @@ protected: ...@@ -326,7 +326,8 @@ protected:
residual += computeFluxForFace(problem, element, scvf, fvGeometry, elemVolVars, elemFaceVars, elemFluxVarsCache); residual += computeFluxForFace(problem, element, scvf, fvGeometry, elemVolVars, elemFaceVars, elemFluxVarsCache);
} }
else 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());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment