Skip to content
Snippets Groups Projects
Commit 3e35529b authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/SD] Recover comment.

parent c625c4ec
No related branches found
No related tags found
Loading
...@@ -53,6 +53,7 @@ extractInnerAndOuterNodes(MeshLib::Mesh const& mesh, ...@@ -53,6 +53,7 @@ extractInnerAndOuterNodes(MeshLib::Mesh const& mesh,
auto const bulk_node = mesh.getNode((*bulk_node_ids)[n->getID()]); auto const bulk_node = mesh.getNode((*bulk_node_ids)[n->getID()]);
const auto& connected_elements = const auto& connected_elements =
mesh.getElementsConnectedToNode(*bulk_node); mesh.getElementsConnectedToNode(*bulk_node);
// Check whether this node is connected only to an active
// elements. Then it is an inner node, and outer otherwise. // elements. Then it is an inner node, and outer otherwise.
return std::all_of(begin(connected_elements), return std::all_of(begin(connected_elements),
end(connected_elements), is_active); end(connected_elements), is_active);
......
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