Skip to content
Snippets Groups Projects
Commit 5cb203cb authored by Sebastien Blaise's avatar Sebastien Blaise
Browse files

setOrderN preserves partitioning information (2)

parent f04a176a
No related branches found
No related tags found
No related merge requests found
......@@ -801,9 +801,9 @@ static void setHighOrder(GEdge *ge, edgeContainer &edgeVertices, bool linear,
std::vector<MVertex*> ve;
getEdgeVertices(ge, l, ve, edgeVertices, linear, nbPts);
if(nbPts == 1)
lines2.push_back(new MLine3(l->getVertex(0), l->getVertex(1), ve[0]));
lines2.push_back(new MLine3(l->getVertex(0), l->getVertex(1), ve[0], l->getPartition()));
else
lines2.push_back(new MLineN(l->getVertex(0), l->getVertex(1), ve));
lines2.push_back(new MLineN(l->getVertex(0), l->getVertex(1), ve, l->getPartition()));
delete l;
}
ge->lines = lines2;
......
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