From ed3af6d9fdd7c4a53587cde18ce2c1993ad9734e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 14 Mar 2007 11:44:18 +0000 Subject: [PATCH] fix scaling of u,v in "periodic" algo (this was the cause of the high order bug on OCC geometries) --- Mesh/meshGFace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp index 70e02e7090..8bf9dcfea3 100644 --- a/Mesh/meshGFace.cpp +++ b/Mesh/meshGFace.cpp @@ -1,4 +1,4 @@ -// $Id: meshGFace.cpp,v 1.66 2007-03-11 20:18:58 geuzaine Exp $ +// $Id: meshGFace.cpp,v 1.67 2007-03-14 11:44:18 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -1422,7 +1422,7 @@ bool gmsh2DMeshGeneratorPeriodic ( GFace *gf , bool debug = true) BDS_Point *p = *itp; if (recover_map.find(p) == recover_map.end()) { - MVertex *v = new MFaceVertex (p->X,p->Y,p->Z,gf,p->u,p->v); + MVertex *v = new MFaceVertex (p->X,p->Y,p->Z,gf,SCALINGU*p->u,SCALINGV*p->v); recover_map[p] = v; gf->mesh_vertices.push_back(v); } -- GitLab