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

Fixed bad Recombine init for extrude

parent e35d21c8
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
%{
// $Id: Gmsh.y,v 1.85 2001-07-31 19:25:04 geuzaine Exp $
// $Id: Gmsh.y,v 1.86 2001-08-01 13:34:16 geuzaine Exp $
//
// Generaliser sprintf avec des chaines de caracteres
......@@ -1758,6 +1758,10 @@ Extrude :
;
ExtrudeParameters :
{
extr.mesh.ExtrudeMesh = false;
extr.mesh.Recombine = false;
}
ExtrudeParameter
{
}
......@@ -1771,8 +1775,8 @@ ExtrudeParameter :
{
double d;
int j;
extr.mesh.NbLayer = List_Nbr($3);
extr.mesh.ExtrudeMesh = true;
extr.mesh.NbLayer = List_Nbr($3);
for(int i=0;i<List_Nbr($3);i++){
List_Read($3,i,&d);
j = (int)d;
......
......@@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.98 2001-07-31 19:25:04 geuzaine Exp $
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.99 2001-08-01 13:34:17 geuzaine Exp $
*/
#define FLEX_SCANNER
......@@ -990,7 +990,7 @@ char *yytext;
#define INITIAL 0
#line 2 "Gmsh.l"
// $Id: Gmsh.yy.cpp,v 1.98 2001-07-31 19:25:04 geuzaine Exp $
// $Id: Gmsh.yy.cpp,v 1.99 2001-08-01 13:34:17 geuzaine Exp $
#include <stdio.h>
#include <stdlib.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment