Commit 36e3ee42 authored by ws's avatar ws

Continue of element is a degenerated element as this can occur multiple times…

Continue of element is a degenerated element as this can occur multiple times (e.g. if a sphere is intersected on its degenerated edge). This will solve the failing test.
parent 7cb1721d
Pipeline #1373 passed with stage
in 19 minutes and 45 seconds
......@@ -271,7 +271,7 @@ static void getEdgeVertices(GEdge *ge, MElement *ele, std::vector<MVertex*> &ve,
else
edgeVertices[p].insert(edgeVertices[p].end(), veEdge.rbegin(), veEdge.rend());
}
else { // Vertices already exist
else if (p.first != p.second) { // Vertices already exist and edge is not a degenerated edge
Msg::Error("Edges from different entities share vertices: create a finer mesh");
}
ve.insert(ve.end(), veEdge.begin(), veEdge.end());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment