From fe23ad07e48843bd5b348f9a06a8438e08aa3248 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 4 Nov 2008 14:27:36 +0000 Subject: [PATCH] missing trsf coef --- Parser/Gmsh.tab.cpp | 4 ++-- Parser/Gmsh.y | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index c0dd832ae1..bbaa0ada94 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -6424,8 +6424,8 @@ yyreduce: if(ge){ ge->meshAttributes.Method = MESH_TRANSFINITE; ge->meshAttributes.nbPointsTransfinite = ((yyvsp[(5) - (7)].d) > 2) ? (int)(yyvsp[(5) - (7)].d) : 2; - ge->meshAttributes.typeTransfinite = sign(d); - ge->meshAttributes.coeffTransfinite = 1.; + ge->meshAttributes.typeTransfinite = type * sign(d); + ge->meshAttributes.coeffTransfinite = coef; } else yymsg(0, "Unknown line %d", j); diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index e53220acf3..aa5df8264b 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -2484,8 +2484,8 @@ Transfinite : if(ge){ ge->meshAttributes.Method = MESH_TRANSFINITE; ge->meshAttributes.nbPointsTransfinite = ($5 > 2) ? (int)$5 : 2; - ge->meshAttributes.typeTransfinite = sign(d); - ge->meshAttributes.coeffTransfinite = 1.; + ge->meshAttributes.typeTransfinite = type * sign(d); + ge->meshAttributes.coeffTransfinite = coef; } else yymsg(0, "Unknown line %d", j); -- GitLab