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

[MeL] Remove unused resetElementsConnectedToNodes.

parent 4d0db97f
No related branches found
No related tags found
No related merge requests found
...@@ -184,18 +184,6 @@ void Mesh::setElementsConnectedToNodes() ...@@ -184,18 +184,6 @@ void Mesh::setElementsConnectedToNodes()
} }
} }
void Mesh::resetElementsConnectedToNodes()
{
for (auto& node : _nodes)
{
if (node)
{
node->clearElements();
}
}
this->setElementsConnectedToNodes();
}
void Mesh::calcEdgeLengthRange() void Mesh::calcEdgeLengthRange()
{ {
this->_edge_length.first = std::numeric_limits<double>::max(); this->_edge_length.first = std::numeric_limits<double>::max();
......
...@@ -140,13 +140,6 @@ protected: ...@@ -140,13 +140,6 @@ protected:
/// Set the minimum and maximum length over the edges of the mesh. /// Set the minimum and maximum length over the edges of the mesh.
void calcEdgeLengthRange(); void calcEdgeLengthRange();
/**
* Resets the connected elements for the node vector, i.e. removes the old information and
* calls setElementsConnectedToNodes to set the new information.
* \attention This needs to be called if node neighbourhoods are reset.
*/
void resetElementsConnectedToNodes();
/// Sets the dimension of the mesh. /// Sets the dimension of the mesh.
void setDimension(); void setDimension();
......
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