From 3e35529b65548876ce63815afc17bbfe5e5b77ee Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 10 May 2022 12:12:15 +0200 Subject: [PATCH] [PL/SD] Recover comment. --- ProcessLib/CreateDeactivatedSubdomain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ProcessLib/CreateDeactivatedSubdomain.cpp b/ProcessLib/CreateDeactivatedSubdomain.cpp index 0551a6e3a1f..44c4f7551d4 100644 --- a/ProcessLib/CreateDeactivatedSubdomain.cpp +++ b/ProcessLib/CreateDeactivatedSubdomain.cpp @@ -53,6 +53,7 @@ extractInnerAndOuterNodes(MeshLib::Mesh const& mesh, auto const bulk_node = mesh.getNode((*bulk_node_ids)[n->getID()]); const auto& connected_elements = mesh.getElementsConnectedToNode(*bulk_node); + // Check whether this node is connected only to an active // elements. Then it is an inner node, and outer otherwise. return std::all_of(begin(connected_elements), end(connected_elements), is_active); -- GitLab