Skip to content
Snippets Groups Projects
Commit 8180caa1 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup

parent 2ff019ed
Branches
Tags
No related merge requests found
...@@ -1285,7 +1285,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const ...@@ -1285,7 +1285,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const
int iEdge; int iEdge;
// getParameter Point // getParameter Point
v->getParameter(0,tGlob); v->getParameter(0, tGlob);
//find compound Edge //find compound Edge
GEdgeCompound *gec = dynamic_cast<GEdgeCompound*>(v->onWhat()); GEdgeCompound *gec = dynamic_cast<GEdgeCompound*>(v->onWhat());
...@@ -1313,6 +1313,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const ...@@ -1313,6 +1313,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const
bool found = false; bool found = false;
while(j < (int)ge->mesh_vertices.size()){ while(j < (int)ge->mesh_vertices.size()){
vR = ge->mesh_vertices[j]; vR = ge->mesh_vertices[j];
if(vR->getPolynomialOrder() > 1){ j++; continue; }
vR->getParameter(0,tR); vR->getParameter(0,tR);
if(!vR->getParameter(0,tR)) { if(!vR->getParameter(0,tR)) {
Msg::Error("vertex vr %p not MedgeVertex", vR); Msg::Error("vertex vr %p not MedgeVertex", vR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment