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

Use Element::setNeighbor() in setElementsConnectedToElements().

parent 6f410985
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ void Mesh::setElementNeighbors()
unsigned const opposite_face_id = element->addNeighbor(neighbors[i]);
if (element->addNeighbor(neighbors[i]))
{
neighbors[i]->addNeighbor(element);
neighbors[i]->setNeighbor(element, opposite_face_id);
}
}
neighbors.clear();
......
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