From 8180caa1145519d7edfb8744562d1bbccdde77c4 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 18 Jun 2012 17:04:59 +0000 Subject: [PATCH] cleanup --- Geo/GFaceCompound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Geo/GFaceCompound.cpp b/Geo/GFaceCompound.cpp index f6f504586e..d495b8de04 100644 --- a/Geo/GFaceCompound.cpp +++ b/Geo/GFaceCompound.cpp @@ -1285,7 +1285,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const int iEdge; // getParameter Point - v->getParameter(0,tGlob); + v->getParameter(0, tGlob); //find compound Edge GEdgeCompound *gec = dynamic_cast<GEdgeCompound*>(v->onWhat()); @@ -1313,6 +1313,7 @@ SPoint2 GFaceCompound::getCoordinates(MVertex *v) const bool found = false; while(j < (int)ge->mesh_vertices.size()){ vR = ge->mesh_vertices[j]; + if(vR->getPolynomialOrder() > 1){ j++; continue; } vR->getParameter(0,tR); if(!vR->getParameter(0,tR)) { Msg::Error("vertex vr %p not MedgeVertex", vR); -- GitLab