Skip to content
Snippets Groups Projects
Commit dca5fc24 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[rans] Only consider walls at global boundaries

parent e4dc3425
No related branches found
No related tags found
1 merge request!868Freeflow/cleanup
...@@ -112,6 +112,10 @@ public: ...@@ -112,6 +112,10 @@ public:
{ {
for (const auto& intersection : intersections(gridView, element)) for (const auto& intersection : intersections(gridView, element))
{ {
// only search for walls at a global boundary
if (!intersection.boundary())
continue;
GlobalPosition global = intersection.geometry().center(); GlobalPosition global = intersection.geometry().center();
if (asImp_().isOnWall(global)) if (asImp_().isOnWall(global))
{ {
......
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