Skip to content

Commit

Permalink
[MeL] Remove unused nodes/nodes intersection fct.
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Jun 12, 2018
1 parent c49af3c commit ea71b6b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions MeshLib/MeshSubset.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,6 @@

namespace MeshLib
{
inline std::vector<Node*> nodesNodesIntersection(
std::vector<Node*> const& nodes_a, std::vector<Node*> const& nodes_b)
{
if (nodes_a.empty() || nodes_b.empty())
{
return {};
}

std::vector<Node*> active_nodes;

for (auto const& n_a : nodes_a)
{
auto it = std::find(begin(nodes_b), end(nodes_b), n_a);
if (it != end(nodes_b))
{
active_nodes.push_back(n_a);
}
}

return active_nodes;
}

/// A subset of nodes on a single mesh.
class MeshSubset
{
Expand Down

0 comments on commit ea71b6b

Please sign in to comment.