From dfbf4cfe2cfef2deeca666604c90162d7f696fb7 Mon Sep 17 00:00:00 2001 From: Christian Glusa Date: Tue, 26 Nov 2024 11:07:55 -0700 Subject: [PATCH] MueLu BoundaryDetection: Do not overwrite previously detected boundary nodes Signed-off-by: Christian Glusa --- .../Graph/MatrixTransformation/MueLu_BoundaryDetection.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/muelu/src/Graph/MatrixTransformation/MueLu_BoundaryDetection.hpp b/packages/muelu/src/Graph/MatrixTransformation/MueLu_BoundaryDetection.hpp index f79983f3cb43..31b01bb0952e 100644 --- a/packages/muelu/src/Graph/MatrixTransformation/MueLu_BoundaryDetection.hpp +++ b/packages/muelu/src/Graph/MatrixTransformation/MueLu_BoundaryDetection.hpp @@ -129,15 +129,11 @@ class VectorDirichletFunctor { } } else { if (!rowIsDirichlet) { - boundaryNodes(rblid) = false; return; } } } - if constexpr (useGreedyDirichlet) - boundaryNodes(rblid) = false; - else - boundaryNodes(rblid) = true; + boundaryNodes(rblid) = true; } };