Newer
Older

Christophe Geuzaine
committed
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.

Christophe Geuzaine
committed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Christophe Geuzaine
committed
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Christophe Geuzaine
committed

Christophe Geuzaine
committed
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.

Christophe Geuzaine
committed
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* C LALR(1) parser skeleton written by Richard Stallman, by
simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
variables, as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0

Christophe Geuzaine
committed
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1

Christophe Geuzaine
committed
#define yyparse gmsh_yyparse
#define yylex gmsh_yylex
#define yyerror gmsh_yyerror
#define yylval gmsh_yylval
#define yychar gmsh_yychar
#define yydebug gmsh_yydebug
#define yynerrs gmsh_yynerrs
/* Copy the first part of user declarations. */

Christophe Geuzaine
committed
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#line 1 "Gmsh.y"
// Gmsh - Copyright (C) 1997-2011 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include "GmshConfig.h"
#include "GmshMessage.h"
#include "fullMatrix.h"
#include "MallocUtils.h"
#include "ListUtils.h"
#include "TreeUtils.h"
#include "StringUtils.h"
#include "Numeric.h"
#include "Context.h"
#include "GModel.h"
#include "Geo.h"
#include "GeoInterpolation.h"
#include "Options.h"
#include "Colors.h"
#include "Parser.h"
#include "OpenFile.h"
#include "CommandLine.h"
#include "FunctionManager.h"
#include "ColorTable.h"
#include "OS.h"
#include "CreateFile.h"
#include "gmshSurface.h"
#include "gmshLevelset.h"
Emilie Marchandise
committed
#include "fullMatrix.h"

Christophe Geuzaine
committed
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#if defined(HAVE_MESH)
#include "Generator.h"
#include "Field.h"
#include "BackgroundMesh.h"
#endif
#if defined(HAVE_POST)
#include "PView.h"
#include "PViewDataList.h"
#endif
#if defined(HAVE_PLUGINS)
#include "PluginManager.h"
#endif
#if defined(HAVE_OPENGL)
#include "drawContext.h"
#endif
#if defined(HAVE_KBIPACK)
#include "Homology.h"
#endif
// Global parser variables
std::string gmsh_yyname;
int gmsh_yyerrorstate = 0;
int gmsh_yyviewindex = 0;
std::map<std::string, std::vector<double> > gmsh_yysymbols;
// Static parser variables (accessible only in this file)
static std::map<std::string, std::string> gmsh_yystringsymbols;

Christophe Geuzaine
committed
#if defined(HAVE_POST)
static PViewDataList *ViewData;
#endif
static std::vector<double> ViewCoord;
static std::vector<double> *ViewValueList = 0;
static int *ViewNumList = 0;
static ExtrudeParams extr;
static int curPhysDim = 0;
static gmshSurface *myGmshSurface = 0;
#define MAX_RECUR_LOOPS 100
static int ImbricatedLoop = 0;
static fpos_t yyposImbricatedLoopsTab[MAX_RECUR_LOOPS];
static int yylinenoImbricatedLoopsTab[MAX_RECUR_LOOPS];
static double LoopControlVariablesTab[MAX_RECUR_LOOPS][3];
static const char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];
static std::map<std::string, std::vector<double> > floatOptions;
static std::map<std::string, std::vector<std::string> > charOptions;

Christophe Geuzaine
committed
void yyerror(const char *s);
void yymsg(int level, const char *fmt, ...);
void skip_until(const char *skip, const char *until);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list);
/* Line 268 of yacc.c */
#line 170 "Gmsh.tab.cpp"

Christophe Geuzaine
committed
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0
#endif
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
tDOUBLE = 258,
tSTRING = 259,
tBIGSTR = 260,
tEND = 261,
tAFFECT = 262,
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
tDOTS = 263,
tPi = 264,
tMPI_Rank = 265,
tMPI_Size = 266,
tEuclidian = 267,
tCoordinates = 268,
tExp = 269,
tLog = 270,
tLog10 = 271,
tSqrt = 272,
tSin = 273,
tAsin = 274,
tCos = 275,
tAcos = 276,
tTan = 277,
tRand = 278,
tAtan = 279,
tAtan2 = 280,
tSinh = 281,
tCosh = 282,
tTanh = 283,
tFabs = 284,
tFloor = 285,
tCeil = 286,
tFmod = 287,
tModulo = 288,
tHypot = 289,
tPrintf = 290,
tSprintf = 291,
tStrCat = 292,
tStrPrefix = 293,
tStrRelative = 294,
tBoundingBox = 295,
tDraw = 296,
tToday = 297,
tCreateTopologyNoHoles = 300,
tDistanceFunction = 301,
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
tDefineConstant = 302,
tPoint = 303,
tCircle = 304,
tEllipse = 305,
tLine = 306,
tSphere = 307,
tPolarSphere = 308,
tSurface = 309,
tSpline = 310,
tVolume = 311,
tCharacteristic = 312,
tLength = 313,
tParametric = 314,
tElliptic = 315,
tRefineMesh = 316,
tPlane = 317,
tRuled = 318,
tTransfinite = 319,
tComplex = 320,
tPhysical = 321,
tCompound = 322,
tPeriodic = 323,
tUsing = 324,
tPlugin = 325,
tDegenerated = 326,
tRotate = 327,
tTranslate = 328,
tSymmetry = 329,
tDilate = 330,
tExtrude = 331,
tLevelset = 332,
tLoop = 333,
tRecombine = 334,
tSmoother = 335,
tSplit = 336,
tDelete = 337,
tCoherence = 338,
tIntersect = 339,
tLayers = 340,
tHole = 341,
tAlias = 342,
tAliasWithOptions = 343,
tQuadTriDbl = 344,
tQuadTriSngl = 345,
tRecombLaterals = 346,
tTransfQuadTri = 347,
tText2D = 348,
tText3D = 349,
tInterpolationScheme = 350,
tTime = 351,
tCombine = 352,
tBSpline = 353,
tBezier = 354,
tNurbs = 355,
tNurbsOrder = 356,
tNurbsKnots = 357,
tColor = 358,
tColorTable = 359,
tFor = 360,
tIn = 361,
tEndFor = 362,
tIf = 363,
tEndIf = 364,
tExit = 365,
tField = 366,
tReturn = 367,
tCall = 368,
tFunction = 369,
tShow = 370,
tHide = 371,
tGetValue = 372,
tGetEnv = 373,
tGetString = 374,
tGMSH_MAJOR_VERSION = 375,
tGMSH_MINOR_VERSION = 376,
tGMSH_PATCH_VERSION = 377,
tHomRank = 378,
tHomGen = 379,
tHomCut = 380,
tHomSeq = 381,
tAFFECTDIVIDE = 382,
tAFFECTTIMES = 383,
tAFFECTMINUS = 384,
tAFFECTPLUS = 385,
tOR = 386,
tAND = 387,
tNOTEQUAL = 388,
tEQUAL = 389,
tGREATEROREQUAL = 390,
tLESSOREQUAL = 391,
UNARYPREC = 392,
tMINUSMINUS = 393,
tPLUSPLUS = 394

Christophe Geuzaine
committed
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
/* Line 293 of yacc.c */
#line 357 "Gmsh.tab.cpp"

Christophe Geuzaine
committed
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
/* Line 343 of yacc.c */
#line 369 "Gmsh.tab.cpp"
#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#elif (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
typedef signed char yytype_int8;
#else
typedef short int yytype_int8;
#endif
#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif
#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif
#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
# define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
# define YYSIZE_T size_t
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# else
# define YYSIZE_T unsigned int
# endif
#endif
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
# endif
# endif
# ifndef YY_
# define YY_(msgid) msgid
# endif
#endif
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# define YYUSE(e) /* empty */
/* Identity function, used to suppress warnings about constant conditions. */
#ifndef lint
# define YYID(n) (n)
#else
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static int

Christophe Geuzaine
committed
YYID (int yyi)

Christophe Geuzaine
committed
YYID (yyi)
int yyi;

Christophe Geuzaine
committed
return yyi;
#if ! defined yyoverflow || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
# ifdef YYSTACK_USE_ALLOCA
# if YYSTACK_USE_ALLOCA
# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# elif defined __BUILTIN_VA_ARG_INCR
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
# elif defined _AIX
# define YYSTACK_ALLOC __alloca
# elif defined _MSC_VER
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
# define alloca _alloca
# else
# define YYSTACK_ALLOC alloca
# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
/* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
# ifndef YYSTACK_ALLOC_MAXIMUM
/* The OS might guarantee only one guard page at the bottom of the stack,
and a page size can be as small as 4096 bytes. So we cannot safely
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
to allow for a few compiler-allocated temporary stack slots. */
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
# endif
# else
# define YYSTACK_ALLOC YYMALLOC
# define YYSTACK_FREE YYFREE
# ifndef YYSTACK_ALLOC_MAXIMUM
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
# endif
# if (defined __cplusplus && ! defined EXIT_SUCCESS \
&& (defined YYFREE || defined free)))
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
# endif
# ifndef YYMALLOC
# define YYMALLOC malloc
# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# ifndef YYFREE
# define YYFREE free
# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void free (void *); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
#if (! defined yyoverflow \
&& (! defined __cplusplus \
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{

Christophe Geuzaine
committed
yytype_int16 yyss_alloc;
YYSTYPE yyvs_alloc;
};
/* The size of the maximum gap between one aligned stack and the next. */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with
N elements. */
# define YYSTACK_BYTES(N) \
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
/* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next
stack. */

Christophe Geuzaine
committed
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
do \
{ \
YYSIZE_T yynewbytes; \

Christophe Geuzaine
committed
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (YYID (0))
# endif
# endif
#endif /* !YYCOPY_NEEDED */
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const yytype_uint8 yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 145, 2, 155, 2, 144, 2, 2,
150, 151, 142, 140, 156, 141, 154, 143, 2, 2,
136, 2, 137, 131, 2, 2, 2, 2, 2, 2,
2, 152, 2, 153, 149, 2, 2, 2, 2, 2,
2, 2, 2, 157, 2, 158, 159, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 132, 133, 134, 135,
138, 139, 146, 147, 148
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
static const yytype_uint16 yyprhs[] =
{
0, 0, 3, 5, 8, 9, 12, 14, 16, 18,
20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
40, 42, 44, 46, 48, 51, 57, 65, 73, 83,
90, 97, 104, 105, 108, 111, 114, 117, 120, 122,
126, 128, 132, 133, 134, 145, 147, 151, 152, 166,
168, 172, 173, 189, 198, 213, 214, 221, 223, 225,
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
227, 229, 231, 233, 235, 241, 246, 254, 264, 271,
278, 285, 289, 296, 301, 308, 318, 325, 335, 341,
350, 359, 371, 378, 388, 394, 402, 412, 422, 434,
444, 454, 455, 457, 458, 462, 468, 469, 479, 480,
483, 487, 491, 493, 495, 496, 502, 503, 506, 514,
515, 525, 532, 540, 545, 553, 562, 571, 579, 587,
599, 608, 617, 618, 628, 637, 647, 651, 656, 667,
675, 683, 692, 701, 714, 715, 725, 734, 742, 751,
752, 762, 768, 780, 786, 796, 801, 811, 821, 823,
825, 826, 829, 836, 843, 850, 857, 866, 877, 892,
909, 922, 931, 940, 947, 962, 967, 974, 981, 985,
990, 996, 1000, 1004, 1009, 1014, 1018, 1026, 1034, 1038,
1046, 1050, 1053, 1056, 1059, 1075, 1078, 1081, 1084, 1087,
1094, 1103, 1112, 1123, 1125, 1128, 1130, 1134, 1139, 1141,
1147, 1159, 1173, 1174, 1182, 1183, 1197, 1198, 1214, 1215,
1222, 1231, 1240, 1249, 1262, 1275, 1288, 1303, 1318, 1333,
1334, 1347, 1348, 1361, 1362, 1375, 1376, 1393, 1394, 1411,
1412, 1429, 1430, 1449, 1450, 1469, 1470, 1489, 1491, 1494,
1500, 1508, 1518, 1521, 1524, 1528, 1531, 1535, 1545, 1552,
1553, 1557, 1558, 1560, 1561, 1564, 1565, 1568, 1576, 1583,
1592, 1598, 1602, 1608, 1615, 1622, 1635, 1646, 1657, 1668,
1679, 1682, 1686, 1693, 1705, 1717, 1729, 1741, 1743, 1747,
1750, 1753, 1756, 1760, 1764, 1768, 1772, 1776, 1780, 1784,
1788, 1792, 1796, 1800, 1804, 1808, 1812, 1818, 1823, 1828,
1833, 1838, 1843, 1848, 1853, 1858, 1863, 1868, 1875, 1880,
1885, 1890, 1895, 1900, 1905, 1912, 1919, 1926, 1931, 1936,
1941, 1946, 1951, 1956, 1961, 1966, 1971, 1976, 1981, 1988,
1993, 1998, 2003, 2008, 2013, 2018, 2025, 2032, 2039, 2044,
2046, 2048, 2050, 2052, 2054, 2056, 2058, 2060, 2066, 2071,
2076, 2079, 2085, 2089, 2096, 2101, 2109, 2116, 2118, 2121,
2124, 2128, 2132, 2144, 2154, 2162, 2170, 2172, 2176, 2178,
2180, 2183, 2187, 2192, 2198, 2200, 2202, 2205, 2209, 2213,
2219, 2224, 2227, 2230, 2233, 2236, 2238, 2240, 2244, 2251,
2253, 2255, 2259, 2263, 2273, 2281, 2283, 2289, 2293, 2300,
2302, 2306, 2308, 2310, 2314, 2321, 2323, 2325, 2330, 2337,
2344, 2349, 2354, 2359
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
161, 0, -1, 162, -1, 1, 6, -1, -1, 162,
163, -1, 166, -1, 165, -1, 184, -1, 193, -1,
198, -1, 202, -1, 203, -1, 204, -1, 207, -1,
227, -1, 228, -1, 229, -1, 230, -1, 206, -1,
205, -1, 201, -1, 231, -1, 137, -1, 137, 137,
-1, 35, 150, 5, 151, 6, -1, 35, 150, 5,
151, 164, 244, 6, -1, 35, 150, 5, 156, 240,
151, 6, -1, 35, 150, 5, 156, 240, 151, 164,
244, 6, -1, 4, 5, 157, 167, 158, 6, -1,
87, 4, 152, 232, 153, 6, -1, 88, 4, 152,
232, 153, 6, -1, -1, 167, 170, -1, 167, 174,
-1, 167, 177, -1, 167, 179, -1, 167, 180, -1,
232, -1, 168, 156, 232, -1, 232, -1, 169, 156,
232, -1, -1, -1, 4, 171, 150, 168, 151, 172,
157, 169, 158, 6, -1, 244, -1, 173, 156, 244,
-1, -1, 93, 150, 232, 156, 232, 156, 232, 151,
175, 157, 173, 158, 6, -1, 244, -1, 176, 156,
244, -1, -1, 94, 150, 232, 156, 232, 156, 232,
156, 232, 151, 178, 157, 176, 158, 6, -1, 95,
157, 236, 158, 157, 236, 158, 6, -1, 95, 157,
236, 158, 157, 236, 158, 157, 236, 158, 157, 236,
158, 6, -1, -1, 96, 181, 157, 169, 158, 6,
-1, 7, -1, 130, -1, 129, -1, 128, -1, 127,
-1, 148, -1, 147, -1, 47, 152, 186, 153, 6,
-1, 4, 182, 232, 6, -1, 4, 152, 232, 153,
182, 232, 6, -1, 4, 152, 157, 240, 158, 153,
182, 237, 6, -1, 4, 152, 153, 7, 237, 6,
-1, 4, 152, 153, 130, 237, 6, -1, 4, 152,
153, 129, 237, 6, -1, 4, 183, 6, -1, 4,
152, 232, 153, 183, 6, -1, 4, 7, 245, 6,
-1, 4, 154, 4, 7, 245, 6, -1, 4, 152,
232, 153, 154, 4, 7, 245, 6, -1, 4, 154,
4, 182, 232, 6, -1, 4, 152, 232, 153, 154,
4, 182, 232, 6, -1, 4, 154, 4, 183, 6,
-1, 4, 152, 232, 153, 154, 4, 183, 6, -1,
4, 154, 103, 154, 4, 7, 241, 6, -1, 4,
152, 232, 153, 154, 103, 154, 4, 7, 241, 6,
-1, 4, 154, 104, 7, 242, 6, -1, 4, 152,
232, 153, 154, 104, 7, 242, 6, -1, 4, 111,
7, 232, 6, -1, 111, 152, 232, 153, 7, 4,
6, -1, 111, 152, 232, 153, 154, 4, 7, 232,
6, -1, 111, 152, 232, 153, 154, 4, 7, 245,
6, -1, 111, 152, 232, 153, 154, 4, 7, 157,
240, 158, 6, -1, 70, 150, 4, 151, 154, 4,
7, 232, 6, -1, 70, 150, 4, 151, 154, 4,
7, 245, 6, -1, -1, 156, -1, -1, 186, 185,
4, -1, 186, 185, 4, 7, 232, -1, -1, 186,
185, 4, 7, 157, 232, 187, 188, 158, -1, -1,
188, 189, -1, 156, 4, 237, -1, 156, 4, 5,
-1, 232, -1, 245, -1, -1, 106, 52, 157, 232,
158, -1, -1, 62, 234, -1, 48, 150, 232, 151,
7, 234, 6, -1, -1, 66, 48, 194, 150, 190,
151, 7, 237, 6, -1, 57, 58, 237, 7, 232,
6, -1, 51, 150, 232, 151, 7, 237, 6, -1,
71, 51, 237, 6, -1, 55, 150, 232, 151, 7,
237, 6, -1, 49, 150, 232, 151, 7, 237, 192,
6, -1, 50, 150, 232, 151, 7, 237, 192, 6,
-1, 98, 150, 232, 151, 7, 237, 6, -1, 99,
150, 232, 151, 7, 237, 6, -1, 100, 150, 232,
151, 7, 237, 102, 237, 101, 232, 6, -1, 51,
78, 150, 232, 151, 7, 237, 6, -1, 67, 51,
150, 232, 151, 7, 237, 6, -1, -1, 66, 51,
195, 150, 190, 151, 7, 237, 6, -1, 62, 54,
150, 232, 151, 7, 237, 6, -1, 63, 54, 150,
232, 151, 7, 237, 191, 6, -1, 12, 13, 6,
-1, 13, 54, 232, 6, -1, 59, 54, 150, 232,
151, 7, 5, 5, 5, 6, -1, 52, 150, 232,
151, 7, 237, 6, -1, 53, 150, 232, 151, 7,
237, 6, -1, 54, 78, 150, 232, 151, 7, 237,
6, -1, 67, 54, 150, 232, 151, 7, 237, 6,
-1, 67, 54, 150, 232, 151, 7, 237, 4, 157,
236, 158, 6, -1, -1, 66, 54, 196, 150, 190,
151, 7, 237, 6, -1, 65, 56, 150, 232, 151,
7, 237, 6, -1, 56, 150, 232, 151, 7, 237,
6, -1, 67, 56, 150, 232, 151, 7, 237, 6,
-1, -1, 66, 56, 197, 150, 190, 151, 7, 237,
6, -1, 73, 234, 157, 199, 158, -1, 72, 157,
234, 156, 234, 156, 232, 158, 157, 199, 158, -1,
74, 234, 157, 199, 158, -1, 75, 157, 234, 156,
232, 158, 157, 199, 158, -1, 4, 157, 199, 158,
-1, 84, 51, 157, 240, 158, 54, 157, 232, 158,
-1, 81, 51, 150, 232, 151, 157, 240, 158, 6,
-1, 200, -1, 198, -1, -1, 200, 193, -1, 200,
48, 157, 240, 158, 6, -1, 200, 51, 157, 240,
158, 6, -1, 200, 54, 157, 240, 158, 6, -1,
200, 56, 157, 240, 158, 6, -1, 77, 62, 150,
232, 151, 7, 237, 6, -1, 77, 48, 150, 232,
151, 7, 157, 236, 158, 6, -1, 77, 62, 150,
232, 151, 7, 157, 234, 156, 234, 156, 240, 158,
6, -1, 77, 62, 150, 232, 151, 7, 157, 234,
156, 234, 156, 234, 156, 240, 158, 6, -1, 77,
52, 150, 232, 151, 7, 157, 234, 156, 240, 158,
6, -1, 77, 4, 150, 232, 151, 7, 237, 6,
-1, 77, 4, 150, 232, 151, 7, 5, 6, -1,
77, 4, 157, 232, 158, 6, -1, 77, 4, 150,
232, 151, 7, 157, 234, 156, 234, 156, 240, 158,
6, -1, 82, 157, 200, 158, -1, 82, 111, 152,
232, 153, 6, -1, 82, 4, 152, 232, 153, 6,
-1, 82, 4, 6, -1, 82, 4, 4, 6, -1,
103, 241, 157, 200, 158, -1, 115, 5, 6, -1,
116, 5, 6, -1, 115, 157, 200, 158, -1, 116,
157, 200, 158, -1, 4, 245, 6, -1, 4, 4,
152, 232, 153, 244, 6, -1, 4, 4, 4, 152,
232, 153, 6, -1, 4, 232, 6, -1, 70, 150,
4, 151, 154, 4, 6, -1, 97, 4, 6, -1,
110, 6, -1, 43, 6, -1, 40, 6, -1, 40,
157, 232, 156, 232, 156, 232, 156, 232, 156, 232,
156, 232, 158, 6, -1, 41, 6, -1, 44, 6,
-1, 45, 6, -1, 61, 6, -1, 105, 150, 232,
8, 232, 151, -1, 105, 150, 232, 8, 232, 8,
232, 151, -1, 105, 4, 106, 157, 232, 8, 232,
158, -1, 105, 4, 106, 157, 232, 8, 232, 8,
232, 158, -1, 107, -1, 114, 4, -1, 112, -1,
113, 4, 6, -1, 108, 150, 232, 151, -1, 109,
-1, 76, 234, 157, 200, 158, -1, 76, 157, 234,
156, 234, 156, 232, 158, 157, 200, 158, -1, 76,
157, 234, 156, 234, 156, 234, 156, 232, 158, 157,
200, 158, -1, -1, 76, 234, 157, 200, 208, 221,
158, -1, -1, 76, 157, 234, 156, 234, 156, 232,
158, 157, 200, 209, 221, 158, -1, -1, 76, 157,
234, 156, 234, 156, 234, 156, 232, 158, 157, 200,
210, 221, 158, -1, -1, 76, 157, 200, 211, 221,
158, -1, 76, 48, 157, 232, 156, 234, 158, 6,
-1, 76, 51, 157, 232, 156, 234, 158, 6, -1,
76, 54, 157, 232, 156, 234, 158, 6, -1, 76,
48, 157, 232, 156, 234, 156, 234, 156, 232, 158,
6, -1, 76, 51, 157, 232, 156, 234, 156, 234,
156, 232, 158, 6, -1, 76, 54, 157, 232, 156,
234, 156, 234, 156, 232, 158, 6, -1, 76, 48,
157, 232, 156, 234, 156, 234, 156, 234, 156, 232,
158, 6, -1, 76, 51, 157, 232, 156, 234, 156,
234, 156, 234, 156, 232, 158, 6, -1, 76, 54,
157, 232, 156, 234, 156, 234, 156, 234, 156, 232,
158, 6, -1, -1, 76, 48, 157, 232, 156, 234,
158, 212, 157, 221, 158, 6, -1, -1, 76, 51,
157, 232, 156, 234, 158, 213, 157, 221, 158, 6,
-1, -1, 76, 54, 157, 232, 156, 234, 158, 214,
157, 221, 158, 6, -1, -1, 76, 48, 157, 232,
156, 234, 156, 234, 156, 232, 158, 215, 157, 221,
158, 6, -1, -1, 76, 51, 157, 232, 156, 234,
156, 234, 156, 232, 158, 216, 157, 221, 158, 6,
-1, -1, 76, 54, 157, 232, 156, 234, 156, 234,
156, 232, 158, 217, 157, 221, 158, 6, -1, -1,
76, 48, 157, 232, 156, 234, 156, 234, 156, 234,
156, 232, 158, 218, 157, 221, 158, 6, -1, -1,
76, 51, 157, 232, 156, 234, 156, 234, 156, 234,
156, 232, 158, 219, 157, 221, 158, 6, -1, -1,
76, 54, 157, 232, 156, 234, 156, 234, 156, 234,
156, 232, 158, 220, 157, 221, 158, 6, -1, 222,
-1, 221, 222, -1, 85, 157, 232, 158, 6, -1,
85, 157, 237, 156, 237, 158, 6, -1, 85, 157,
237, 156, 237, 156, 237, 158, 6, -1, 79, 6,
-1, 89, 6, -1, 89, 91, 6, -1, 90, 6,
-1, 90, 91, 6, -1, 86, 150, 232, 151, 7,
237, 69, 232, 6, -1, 69, 4, 152, 232, 153,
6, -1, -1, 69, 4, 232, -1, -1, 4, -1,
-1, 7, 237, -1, -1, 7, 232, -1, 64, 51,
238, 7, 232, 223, 6, -1, 64, 54, 238, 225,
224, 6, -1, 60, 54, 157, 232, 158, 7, 237,
6, -1, 64, 56, 238, 225, 6, -1, 92, 238,
6, -1, 79, 54, 238, 226, 6, -1, 80, 54,
237, 7, 232, 6, -1, 68, 51, 237, 7, 237,
6, -1, 68, 54, 232, 157, 240, 158, 7, 232,
157, 240, 158, 6, -1, 48, 157, 240, 158, 106,
54, 157, 232, 158, 6, -1, 51, 157, 240, 158,
106, 54, 157, 232, 158, 6, -1, 51, 157, 240,
158, 106, 56, 157, 232, 158, 6, -1, 54, 157,
240, 158, 106, 56, 157, 232, 158, 6, -1, 83,
6, -1, 83, 4, 6, -1, 83, 48, 157, 240,
158, 6, -1, 123, 150, 244, 151, 7, 157, 237,
156, 237, 158, 6, -1, 124, 150, 244, 151, 7,
157, 237, 156, 237, 158, 6, -1, 125, 150, 244,
151, 7, 157, 237, 156, 237, 158, 6, -1, 126,
150, 244, 151, 7, 157, 237, 156, 237, 158, 6,
-1, 233, -1, 150, 232, 151, -1, 141, 232, -1,
140, 232, -1, 145, 232, -1, 232, 141, 232, -1,
232, 140, 232, -1, 232, 142, 232, -1, 232, 143,
232, -1, 232, 144, 232, -1, 232, 149, 232, -1,
232, 136, 232, -1, 232, 137, 232, -1, 232, 139,
232, -1, 232, 138, 232, -1, 232, 135, 232, -1,
232, 134, 232, -1, 232, 133, 232, -1, 232, 132,
232, -1, 232, 131, 232, 8, 232, -1, 14, 150,
232, 151, -1, 15, 150, 232, 151, -1, 16, 150,
232, 151, -1, 17, 150, 232, 151, -1, 18, 150,
232, 151, -1, 19, 150, 232, 151, -1, 20, 150,
232, 151, -1, 21, 150, 232, 151, -1, 22, 150,
232, 151, -1, 24, 150, 232, 151, -1, 25, 150,
232, 156, 232, 151, -1, 26, 150, 232, 151, -1,
27, 150, 232, 151, -1, 28, 150, 232, 151, -1,
29, 150, 232, 151, -1, 30, 150, 232, 151, -1,
31, 150, 232, 151, -1, 32, 150, 232, 156, 232,
151, -1, 33, 150, 232, 156, 232, 151, -1, 34,
150, 232, 156, 232, 151, -1, 23, 150, 232, 151,
-1, 14, 152, 232, 153, -1, 15, 152, 232, 153,
-1, 16, 152, 232, 153, -1, 17, 152, 232, 153,
-1, 18, 152, 232, 153, -1, 19, 152, 232, 153,
-1, 20, 152, 232, 153, -1, 21, 152, 232, 153,
-1, 22, 152, 232, 153, -1, 24, 152, 232, 153,
-1, 25, 152, 232, 156, 232, 153, -1, 26, 152,
232, 153, -1, 27, 152, 232, 153, -1, 28, 152,
232, 153, -1, 29, 152, 232, 153, -1, 30, 152,
232, 153, -1, 31, 152, 232, 153, -1, 32, 152,
232, 156, 232, 153, -1, 33, 152, 232, 156, 232,
153, -1, 34, 152, 232, 156, 232, 153, -1, 23,
152, 232, 153, -1, 3, -1, 9, -1, 10, -1,
11, -1, 120, -1, 121, -1, 122, -1, 4, -1,
4, 159, 157, 232, 158, -1, 4, 152, 232, 153,
-1, 155, 4, 152, 153, -1, 4, 183, -1, 4,
152, 232, 153, 183, -1, 4, 154, 4, -1, 4,
152, 232, 153, 154, 4, -1, 4, 154, 4, 183,
-1, 4, 152, 232, 153, 154, 4, 183, -1, 117,
150, 244, 156, 232, 151, -1, 235, -1, 141, 234,
-1, 140, 234, -1, 234, 141, 234, -1, 234, 140,
234, -1, 157, 232, 156, 232, 156, 232, 156, 232,
156, 232, 158, -1, 157, 232, 156, 232, 156, 232,
156, 232, 158, -1, 157, 232, 156, 232, 156, 232,
158, -1, 150, 232, 156, 232, 156, 232, 151, -1,
237, -1, 236, 156, 237, -1, 232, -1, 239, -1,
157, 158, -1, 157, 240, 158, -1, 141, 157, 240,
158, -1, 232, 142, 157, 240, 158, -1, 237, -1,
5, -1, 141, 239, -1, 232, 142, 239, -1, 232,
8, 232, -1, 232, 8, 232, 8, 232, -1, 48,
157, 232, 158, -1, 48, 5, -1, 51, 5, -1,
54, 5, -1, 56, 5, -1, 198, -1, 207, -1,
4, 152, 153, -1, 4, 152, 157, 240, 158, 153,
-1, 232, -1, 239, -1, 240, 156, 232, -1, 240,
156, 239, -1, 157, 232, 156, 232, 156, 232, 156,
232, 158, -1, 157, 232, 156, 232, 156, 232, 158,
-1, 4, -1, 4, 154, 103, 154, 4, -1, 157,
243, 158, -1, 4, 152, 232, 153, 154, 104, -1,
241, -1, 243, 156, 241, -1, 245, -1, 4, -1,
4, 154, 4, -1, 4, 152, 232, 153, 154, 4,
-1, 5, -1, 42, -1, 118, 150, 244, 151, -1,
119, 150, 244, 156, 244, 151, -1, 37, 150, 244,
156, 244, 151, -1, 38, 150, 244, 151, -1, 39,
150, 244, 151, -1, 36, 150, 244, 151, -1, 36,
150, 244, 156, 240, 151, -1
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
0, 162, 162, 163, 168, 170, 174, 175, 176, 177,
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
188, 189, 190, 194, 198, 205, 210, 224, 237, 265,
279, 290, 305, 310, 311, 312, 313, 314, 318, 320,
325, 327, 333, 437, 332, 455, 462, 473, 472, 490,
497, 508, 507, 524, 541, 564, 563, 577, 578, 579,
580, 581, 585, 586, 592, 594, 620, 647, 687, 697,
705, 715, 727, 739, 748, 754, 763, 781, 799, 808,
820, 825, 833, 853, 876, 885, 893, 915, 938, 966,
978, 992, 992, 994, 996, 1007, 1019, 1018, 1031, 1032,
1036, 1047, 1060, 1064, 1075, 1078, 1091, 1094, 1104, 1128,
1127, 1147, 1169, 1187, 1208, 1226, 1256, 1286, 1304, 1322,
1348, 1365, 1384, 1383, 1406, 1424, 1463, 1469, 1475, 1482,
1507, 1532, 1548, 1565, 1597, 1596, 1620, 1638, 1655, 1672,
1671, 1697, 1702, 1707, 1712, 1717, 1740, 1746, 1757, 1758,
1763, 1766, 1770, 1793, 1816, 1839, 1867, 1888, 1911, 1932,
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
1954, 1974, 2086, 2105, 2143, 2252, 2261, 2267, 2282, 2310,
2327, 2341, 2347, 2353, 2362, 2376, 2418, 2435, 2450, 2469,
2481, 2505, 2509, 2516, 2522, 2527, 2533, 2537, 2541, 2551,
2568, 2585, 2604, 2623, 2653, 2661, 2667, 2674, 2678, 2687,
2695, 2703, 2712, 2711, 2725, 2724, 2738, 2737, 2751, 2750,
2763, 2770, 2777, 2784, 2791, 2798, 2805, 2812, 2819, 2827,
2826, 2839, 2838, 2851, 2850, 2863, 2862, 2875, 2874, 2887,
2886, 2899, 2898, 2911, 2910, 2923, 2922, 2938, 2941, 2947,
2956, 2976, 2999, 3003, 3007, 3011, 3015, 3019, 3038, 3051,
3054, 3070, 3073, 3086, 3089, 3095, 3098, 3105, 3161, 3231,
3236, 3303, 3339, 3382, 3407, 3434, 3478, 3501, 3524, 3527,
3536, 3540, 3550, 3587, 3624, 3660, 3695, 3735, 3736, 3737,
3738, 3739, 3740, 3741, 3742, 3743, 3750, 3751, 3752, 3753,
3754, 3755, 3756, 3757, 3758, 3759, 3760, 3761, 3762, 3763,
3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3772, 3773,
3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3783, 3784,
3785, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794,
3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3812,
3813, 3814, 3815, 3816, 3817, 3818, 3822, 3841, 3859, 3874,
3884, 3900, 3918, 3923, 3928, 3938, 3948, 3956, 3960, 3964,
3968, 3972, 3979, 3983, 3987, 3991, 3998, 4003, 4010, 4015,
4019, 4024, 4028, 4036, 4047, 4051, 4063, 4071, 4079, 4086,
4097, 4117, 4121, 4125, 4129, 4133, 4143, 4153, 4163, 4183,
4188, 4192, 4196, 4208, 4212, 4224, 4231, 4241, 4245, 4260,
4265, 4272, 4276, 4289, 4297, 4308, 4312, 4320, 4328, 4336,
4344, 4358, 4372, 4376
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
"$end", "error", "$undefined", "tDOUBLE", "tSTRING", "tBIGSTR", "tEND",
"tAFFECT", "tDOTS", "tPi", "tMPI_Rank", "tMPI_Size", "tEuclidian",
"tCoordinates", "tExp", "tLog", "tLog10", "tSqrt", "tSin", "tAsin",
"tCos", "tAcos", "tTan", "tRand", "tAtan", "tAtan2", "tSinh", "tCosh",
"tTanh", "tFabs", "tFloor", "tCeil", "tFmod", "tModulo", "tHypot",
"tPrintf", "tSprintf", "tStrCat", "tStrPrefix", "tStrRelative",
"tBoundingBox", "tDraw", "tToday", "tSyncModel", "tCreateTopology",
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
"tCreateTopologyNoHoles", "tDistanceFunction", "tDefineConstant",
"tPoint", "tCircle", "tEllipse", "tLine", "tSphere", "tPolarSphere",
"tSurface", "tSpline", "tVolume", "tCharacteristic", "tLength",
"tParametric", "tElliptic", "tRefineMesh", "tPlane", "tRuled",
"tTransfinite", "tComplex", "tPhysical", "tCompound", "tPeriodic",
"tUsing", "tPlugin", "tDegenerated", "tRotate", "tTranslate",
"tSymmetry", "tDilate", "tExtrude", "tLevelset", "tLoop", "tRecombine",
"tSmoother", "tSplit", "tDelete", "tCoherence", "tIntersect", "tLayers",
"tHole", "tAlias", "tAliasWithOptions", "tQuadTriDbl", "tQuadTriSngl",
"tRecombLaterals", "tTransfQuadTri", "tText2D", "tText3D",
"tInterpolationScheme", "tTime", "tCombine", "tBSpline", "tBezier",
"tNurbs", "tNurbsOrder", "tNurbsKnots", "tColor", "tColorTable", "tFor",
"tIn", "tEndFor", "tIf", "tEndIf", "tExit", "tField", "tReturn", "tCall",
"tFunction", "tShow", "tHide", "tGetValue", "tGetEnv", "tGetString",
"tGMSH_MAJOR_VERSION", "tGMSH_MINOR_VERSION", "tGMSH_PATCH_VERSION",
"tHomRank", "tHomGen", "tHomCut", "tHomSeq", "tAFFECTDIVIDE",
"tAFFECTTIMES", "tAFFECTMINUS", "tAFFECTPLUS", "'?'", "tOR", "tAND",
"tNOTEQUAL", "tEQUAL", "'<'", "'>'", "tGREATEROREQUAL", "tLESSOREQUAL",
"'+'", "'-'", "'*'", "'/'", "'%'", "'!'", "UNARYPREC", "tMINUSMINUS",
"tPLUSPLUS", "'^'", "'('", "')'", "'['", "']'", "'.'", "'#'", "','",
"'{'", "'}'", "'~'", "$accept", "All", "GeoFormatItems", "GeoFormatItem",
"SendToFile", "Printf", "View", "Views", "ElementCoords",
"ElementValues", "Element", "$@1", "$@2", "Text2DValues", "Text2D",
"$@3", "Text3DValues", "Text3D", "$@4", "InterpolationMatrix", "Time",
"$@5", "NumericAffectation", "NumericIncrement", "Affectation", "Comma",
"DefineConstants", "$@6", "FloatParameterOptions",
"FloatParameterOption", "PhysicalId", "InSphereCenter", "CircleOptions",
"Shape", "$@7", "$@8", "$@9", "$@10", "Transform", "MultipleShape",
"ListOfShapes", "LevelSet", "Delete", "Colorify", "Visibility",
"Command", "Loop", "Extrude", "$@11", "$@12", "$@13", "$@14", "$@15",
"$@16", "$@17", "$@18", "$@19", "$@20", "$@21", "$@22", "$@23",
"ExtrudeParameters", "ExtrudeParameter", "TransfiniteType",

Christophe Geuzaine
committed
"TransfiniteArrangement", "TransfiniteCorners", "RecombineAngle",
"Transfinite", "Periodic", "Embedding", "Coherence", "Homology", "FExpr",
"FExpr_Single", "VExpr", "VExpr_Single", "RecursiveListOfListOfDouble",
"ListOfDouble", "ListOfDoubleOrAll", "FExpr_Multi",
"RecursiveListOfDouble", "ColorExpr", "ListOfColor",
# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
token YYLEX-NUM. */
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,

Christophe Geuzaine
committed
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
385, 63, 386, 387, 388, 389, 60, 62, 390, 391,
43, 45, 42, 47, 37, 33, 392, 393, 394, 94,
40, 41, 91, 93, 46, 35, 44, 123, 125, 126
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] =
{
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
0, 160, 161, 161, 162, 162, 163, 163, 163, 163,
163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
163, 163, 163, 164, 164, 165, 165, 165, 165, 166,
166, 166, 167, 167, 167, 167, 167, 167, 168, 168,
169, 169, 171, 172, 170, 173, 173, 175, 174, 176,
176, 178, 177, 179, 179, 181, 180, 182, 182, 182,
182, 182, 183, 183, 184, 184, 184, 184, 184, 184,
184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
184, 185, 185, 186, 186, 186, 187, 186, 188, 188,
189, 189, 190, 190, 191, 191, 192, 192, 193, 194,
193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
193, 193, 195, 193, 193, 193, 193, 193, 193, 193,
193, 193, 193, 193, 196, 193, 193, 193, 193, 197,
193, 198, 198, 198, 198, 198, 198, 198, 199, 199,
200, 200, 200, 200, 200, 200, 201, 201, 201, 201,
201, 201, 201, 201, 201, 202, 202, 202, 202, 202,
203, 204, 204, 204, 204, 205, 205, 205, 205, 205,
205, 205, 205, 205, 205, 205, 205, 205, 205, 206,
206, 206, 206, 206, 206, 206, 206, 206, 206, 207,
207, 207, 208, 207, 209, 207, 210, 207, 211, 207,
207, 207, 207, 207, 207, 207, 207, 207, 207, 212,
207, 213, 207, 214, 207, 215, 207, 216, 207, 217,
207, 218, 207, 219, 207, 220, 207, 221, 221, 222,
222, 222, 222, 222, 222, 222, 222, 222, 222, 223,
223, 224, 224, 225, 225, 226, 226, 227, 227, 227,
227, 227, 227, 227, 228, 228, 229, 229, 229, 229,
230, 230, 230, 231, 231, 231, 231, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 233,
233, 233, 233, 233, 233, 233, 233, 233, 233, 233,

Christophe Geuzaine
committed
233, 233, 233, 233, 233, 233, 233, 234, 234, 234,
234, 234, 235, 235, 235, 235, 236, 236, 237, 237,
237, 237, 237, 237, 238, 238, 239, 239, 239, 239,
239, 239, 239, 239, 239, 239, 239, 239, 239, 240,
240, 240, 240, 241, 241, 241, 241, 242, 242, 243,
243, 244, 244, 244, 244, 245, 245, 245, 245, 245,
245, 245, 245, 245
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const yytype_uint8 yyr2[] =
{
0, 2, 1, 2, 0, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 5, 7, 7, 9, 6,
6, 6, 0, 2, 2, 2, 2, 2, 1, 3,
1, 3, 0, 0, 10, 1, 3, 0, 13, 1,
3, 0, 15, 8, 14, 0, 6, 1, 1, 1,
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1, 1, 1, 1, 5, 4, 7, 9, 6, 6,
6, 3, 6, 4, 6, 9, 6, 9, 5, 8,
8, 11, 6, 9, 5, 7, 9, 9, 11, 9,
9, 0, 1, 0, 3, 5, 0, 9, 0, 2,
3, 3, 1, 1, 0, 5, 0, 2, 7, 0,
9, 6, 7, 4, 7, 8, 8, 7, 7, 11,
8, 8, 0, 9, 8, 9, 3, 4, 10, 7,
7, 8, 8, 12, 0, 9, 8, 7, 8, 0,
9, 5, 11, 5, 9, 4, 9, 9, 1, 1,
0, 2, 6, 6, 6, 6, 8, 10, 14, 16,
12, 8, 8, 6, 14, 4, 6, 6, 3, 4,
5, 3, 3, 4, 4, 3, 7, 7, 3, 7,
3, 2, 2, 2, 15, 2, 2, 2, 2, 6,
8, 8, 10, 1, 2, 1, 3, 4, 1, 5,
11, 13, 0, 7, 0, 13, 0, 15, 0, 6,
8, 8, 8, 12, 12, 12, 14, 14, 14, 0,
12, 0, 12, 0, 12, 0, 16, 0, 16, 0,
16, 0, 18, 0, 18, 0, 18, 1, 2, 5,
7, 9, 2, 2, 3, 2, 3, 9, 6, 0,
3, 0, 1, 0, 2, 0, 2, 7, 6, 8,
5, 3, 5, 6, 6, 12, 10, 10, 10, 10,
2, 3, 6, 11, 11, 11, 11, 1, 3, 2,
2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 5, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 6, 4, 4,
4, 4, 4, 4, 6, 6, 6, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 6, 4,
4, 4, 4, 4, 4, 6, 6, 6, 4, 1,
1, 1, 1, 1, 1, 1, 1, 5, 4, 4,
2, 5, 3, 6, 4, 7, 6, 1, 2, 2,
3, 3, 11, 9, 7, 7, 1, 3, 1, 1,
2, 3, 4, 5, 1, 1, 2, 3, 3, 5,
4, 2, 2, 2, 2, 1, 1, 3, 6, 1,
1, 3, 3, 9, 7, 1, 5, 3, 6, 1,
3, 1, 1, 3, 6, 1, 1, 4, 6, 6,
4, 4, 4, 6
/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
Performed when YYTABLE doesn't specify something else to do. Zero
means the default is an error. */
static const yytype_uint16 yydefact[] =
{
0, 0, 0, 2, 3, 1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 193,
0, 198, 0, 0, 195, 0, 0, 0, 0, 0,
0, 0, 0, 5, 7, 6, 8, 9, 10, 21,
11, 12, 13, 20, 19, 14, 15, 16, 17, 18,
22, 339, 346, 405, 57, 340, 341, 342, 0, 0,
0, 0, 0, 406, 0, 0, 0, 0, 343, 344,
345, 61, 60, 59, 58, 0, 0, 0, 63, 62,
0, 0, 0, 0, 150, 0, 0, 0, 277, 0,
0, 0, 0, 183, 0, 185, 182, 186, 187, 93,
0, 0, 0, 0, 0, 0, 188, 0, 0, 0,
0, 0, 0, 109, 122, 134, 139, 0, 0, 0,
357, 0, 0, 0, 0, 0, 150, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 150, 0, 270,
0, 0, 0, 0, 346, 375, 0, 0, 0, 0,
0, 0, 385, 386, 368, 374, 0, 369, 0, 0,
0, 0, 395, 0, 0, 0, 0, 0, 181, 0,
0, 194, 0, 150, 0, 150, 0, 0, 0, 0,
0, 0, 0, 0, 350, 32, 405, 0, 0, 0,

Christophe Geuzaine
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 346, 280,
279, 281, 0, 0, 0, 0, 0, 0, 0, 0,
0, 149, 0, 148, 0, 71, 178, 0, 0, 0,
0, 0, 175, 126, 0, 0, 0, 91, 0, 0,
389, 390, 0, 0, 0, 0, 0, 0, 0, 0,
253, 253, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 359, 358, 0, 0, 0,
0, 150, 150, 0, 0, 0, 0, 0, 0, 0,
208, 0, 150, 0, 0, 0, 0, 0, 255, 0,
0, 0, 168, 0, 0, 0, 271, 0, 0, 0,
0, 0, 381, 0, 382, 383, 384, 0, 279, 376,
370, 0, 0, 0, 261, 180, 0, 0, 0, 0,
0, 150, 0, 0, 0, 0, 196, 171, 0, 172,
0, 402, 0, 401, 0, 0, 0, 0, 0, 352,
0, 0, 73, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 278, 0, 0, 0, 0, 0,
57, 0, 0, 0, 0, 0, 145, 0, 0, 0,
0, 151, 65, 0, 295, 294, 293, 292, 288, 289,
291, 290, 283, 282, 284, 285, 286, 287, 127, 0,
0, 0, 0, 92, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 251, 0, 0,
113, 0, 0, 0, 361, 360, 0, 0, 0, 0,
0, 0, 0, 0, 0, 202, 0, 0, 0, 0,
0, 0, 0, 0, 0, 169, 0, 0, 165, 0,
0, 0, 0, 387, 0, 0, 0, 0, 371, 378,
0, 284, 377, 0, 0, 0, 0, 0, 0, 0,
0, 197, 0, 173, 174, 0, 0, 0, 0, 0,
0, 0, 348, 354, 0, 42, 0, 0, 0, 55,
0, 33, 34, 35, 36, 37, 297, 318, 298, 319,
299, 320, 300, 321, 301, 322, 302, 323, 303, 324,
304, 325, 305, 326, 317, 338, 306, 327, 0, 0,
308, 329, 309, 330, 310, 331, 311, 332, 312, 333,
313, 334, 0, 0, 0, 0, 0, 0, 412, 0,
0, 410, 411, 84, 0, 407, 0, 0, 0, 0,
0, 57, 0, 0, 0, 0, 0, 78, 0, 0,
0, 0, 349, 0, 0, 0, 0, 0, 25, 23,
0, 0, 0, 64, 94, 0, 391, 392, 0, 0,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 249, 254, 252, 0, 260,
0, 0, 102, 103, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 141, 143, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 237,
0, 199, 0, 0, 0, 0, 0, 0, 256, 262,
0, 0, 0, 0, 0, 0, 0, 0, 0, 348,
380, 372, 0, 0, 0, 0, 0, 0, 0, 170,
0, 0, 0, 0, 0, 403, 0, 0, 0, 0,
0, 0, 351, 0, 347, 0, 0, 0, 0, 0,
29, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 68, 70, 69, 0, 0, 0, 0,
0, 72, 74, 76, 0, 0, 399, 0, 82, 0,
0, 0, 0, 296, 24, 0, 0, 0, 0, 0,
0, 106, 106, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 111, 0, 0, 0, 0, 0, 0,
258, 0, 0, 0, 0, 0, 0, 0, 0, 264,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
242, 0, 0, 243, 0, 245, 0, 209, 238, 0,
0, 0, 163, 0, 0, 0, 263, 0, 167, 166,
272, 0, 30, 31, 0, 379, 373, 0, 0, 0,
396, 0, 0, 0, 189, 0, 0, 0, 0, 0,
0, 0, 177, 353, 176, 0, 0, 0, 0, 366,
0, 307, 328, 314, 335, 315, 336, 316, 337, 413,
409, 356, 408, 0, 57, 0, 0, 0, 0, 66,
0, 0, 0, 397, 0, 0, 0, 0, 26, 27,
0, 0, 0, 95, 108, 0, 0, 0, 0, 0,
112, 0, 0, 129, 130, 0, 0, 114, 137, 0,
0, 0, 104, 0, 257, 0, 0, 0, 0, 0,
0, 0, 0, 0, 179, 0, 0, 0, 0, 150,
0, 219, 0, 221, 0, 223, 0, 368, 0, 0,
244, 246, 0, 0, 203, 0, 0, 0, 0, 0,
0, 0, 0, 0, 388, 117, 118, 0, 0, 0,
0, 85, 0, 0, 0, 0, 0, 0, 355, 0,
38, 0, 0, 0, 0, 0, 40, 0, 0, 0,
79, 0, 0, 80, 0, 400, 152, 153, 154, 155,
0, 0, 96, 0, 107, 115, 116, 120, 0, 0,
131, 0, 0, 259, 124, 0, 0, 250, 136, 0,
0, 0, 0, 121, 0, 132, 138, 0, 0, 0,
0, 365, 0, 364, 0, 0, 210, 0, 0, 211,
0, 0, 212, 0, 0, 0, 0, 0, 0, 0,
162, 0, 0, 161, 0, 0, 0, 156, 0, 0,
0, 0, 394, 0, 191, 190, 0, 0, 0, 404,
0, 0, 0, 0, 43, 0, 0, 0, 367, 0,
0, 0, 67, 75, 77, 0, 83, 0, 28, 0,
98, 0, 0, 0, 0, 0, 0, 125, 110, 123,
135, 140, 0, 0, 89, 90, 150, 0, 144, 0,
0, 0, 0, 0, 0, 0, 239, 0, 0, 150,
0, 0, 0, 0, 0, 147, 146, 0, 0, 0,
0, 86, 87, 0, 0, 0, 0, 0, 39, 0,
0, 0, 41, 56, 0, 398, 0, 0, 266, 267,
268, 269, 128, 0, 0, 0, 0, 0, 363, 0,
0, 0, 0, 0, 0, 0, 0, 0, 248, 0,
0, 0, 204, 0, 0, 157, 0, 0, 0, 393,
192, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81, 0, 0, 97, 99, 0, 0, 0, 142, 0,
225, 0, 0, 227, 0, 0, 229, 0, 0, 0,
240, 0, 200, 0, 150, 0, 0, 0, 119, 88,
273, 274, 275, 276, 0, 47, 0, 53, 0, 0,
0, 105, 133, 265, 362, 213, 0, 0, 220, 214,
0, 0, 222, 215, 0, 0, 224, 0, 0, 0,
206, 0, 160, 0, 0, 0, 0, 0, 0, 0,
101, 100, 0, 231, 0, 233, 0, 235, 241, 247,
205, 201, 0, 0, 0, 0, 44, 0, 51, 0,
0, 0, 216, 0, 0, 217, 0, 0, 218, 0,
0, 164, 0, 158, 0, 45, 0, 0, 184, 0,
0, 0, 0, 0, 0, 207, 0, 0, 0, 0,
0, 226, 0, 228, 0, 230, 0, 159, 46, 48,
0, 49, 0, 0, 0, 0, 0, 0, 54, 232,
234, 236, 50, 52
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
-1, 2, 3, 73, 750, 74, 75, 471, 1099, 1105,
671, 855, 1257, 1414, 672, 1376, 1440, 673, 1416, 674,
675, 859, 145, 264, 76, 564, 357, 1210, 1267, 1314,
781, 1136, 1027, 541, 383, 384, 385, 386, 232, 332,
333, 79, 80, 81, 82, 83, 84, 233, 812, 1333,
1392, 613, 1157, 1160, 1163, 1356, 1360, 1364, 1403, 1406,
1409, 808, 809, 919, 778, 587, 622, 86, 87, 88,
89, 90, 234, 148, 396, 200, 988, 989, 236, 237,
441, 244, 741, 887, 462, 463
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
3871, 37, 19, 3986, -1033, -1033, 1891, 74, -26, -72,
25, 91, 96, 134, 195, 67, -116, 76, 92, -54,
107, 110, -67, 156, 206, 116, 324, 332, 389, 362,
375, 167, 359, 312, 333, 185, 290, 405, 300, 318,
318, 305, 65, 62, 409, 413, 419, 1, 38, 425,
481, 489, 2046, 490, 329, 349, 350, 13, 36, -1033,
373, -1033, 520, 378, -1033, 531, 534, 15, 22, 392,
426, 427, 431, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, 21, 382, 649, -1033, -1033, -1033, -98, -80,
-25, 202, 215, 336, 361, 384, 393, 396, 456, 457,
475, 522, 526, 544, 552, 629, 633, 638, 639, 445,
449, 450, 462, -1033, 564, 468, 471, 476, -1033, -1033,
-1033, -1033, -1033, -1033, -1033, 3748, 3748, 3748, -1033, -1033,
3748, 3165, 47, 555, 10, 3748, 566, 699, -1033, 625,
634, 3748, 630, -1033, 3748, -1033, -1033, -1033, -1033, -1033,
3748, 3568, 3748, 3748, 495, 3748, 3568, 3748, 3748, 500,
3568, 3748, 3748, 2493, 501, 482, -1033, 507, 511, 2046,
2046, 2046, 515, -1033, -1033, -1033, -1033, 518, 519, 527,
2493, 3748, 676, 2493, 318, 318, 318, 3748, 3748, -8,
-1033, 57, 318, 541, 546, 563, 3387, 104, -112, 584,
592, 621, 2046, 2493, 650, 31, 614, -1033, 780, -1033,
648, 657, 658, 668, 904, -1033, 24, 819, 820, 823,
2642, 1735, -1033, -1033, 1689, -1033, 815, -1033, 856, 3748,
3748, 3748, 711, 3748, 720, 767, 3748, 3748, -1033, 3748,
880, -1033, 881, -1033, 884, -1033, 528, 528, 528, 528,
772, 3748, 926, 777, -1033, -1033, -1033, 931, 3748, 3748,
3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748,
3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748,
3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748,
3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748,
528, 528, 528, 528, 3748, 528, 528, 528, 421, 792,
792, 792, 6029, 8, 3568, 5270, 182, 790, 924, 795,
802, -1033, 805, 1069, 1268, -1033, -1033, 3748, 3748, 3748,
3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748, 3748,
3748, 3748, -1033, -1033, 1296, 48, 3563, 103, 6050, 3568,
2745, -1033, 567, 6071, 6092, 3748, 6113, 568, 6134, 6155,
3748, 616, 6176, 6197, 957, 3748, 3748, 3748, 3748, 966,
969, 969, 3748, 810, 833, 840, 843, 3748, 3748, 3748,
973, 4514, 846, 992, 250, -1033, -1033, 4594, 4620, 318,
318, 10, 10, 279, 3748, 3748, 3748, 3387, 3387, 3748,
1069, 340, -1033, 3748, 3748, 3748, 3748, 3748, 994, 998,
3748, 1003, -1033, 3748, 3748, 453, -1033, 3568, 3568, 3748,
3748, 3320, -1033, 3748, -1033, -1033, -1033, 3568, 792, -1033,
-1033, 653, 3748, 2791, -1033, -1033, 6218, 6239, 6260, 909,
4646, -1033, 863, 2785, 6281, 5293, -1033, -1033, 804, -1033,
1257, 661, 866, -1033, 873, 876, 877, 3748, 5316, 40,
3748, 5, -1033, 6302, 5339, 6323, 5362, 6344, 5385, 6365,
5408, 6386, 5431, 6407, 5454, 6428, 5477, 6449, 5500, 6470,
5523, 6491, 5546, 6512, 5569, 4672, 4698, 6533, 5592, 6554,
5615, 6575, 5638, 6596, 5661, 6617, 5684, 6638, 5707, 4724,
4750, 4776, 4802, 4828, 4854, 61, 879, 885, 890, 1531,
889, 897, 898, 3748, -1033, 2493, 2493, 2493, 688, 100,
649, 3748, 1053, 1075, 14, 927, -1033, -92, -42, -62,
-88, -1033, -1033, 2894, 1147, 1383, 1237, 1237, 109, 109,
109, 109, -38, -38, 792, 792, 792, 792, -1033, 4,
3568, 3748, 1078, -1033, 1084, 1086, 3568, 3568, 995, 1098,
1099, 6659, 1100, 1002, 1102, 1103, 6680, 1006, 1106, 1107,
3748, 6701, 3380, 6722, 6743, 3748, 2493, 1112, 1121, 6764,
3711, 3711, 3711, 3711, 6785, 6806, 6827, 2493, 3568, 976,
-1033, 318, 3748, 3748, -1033, -1033, 975, 979, 3748, 4880,
4906, 4932, 4568, 733, 318, 1445, 6848, 3529, 6869, 6890,
6911, 3748, 1132, 3748, 6932, -1033, 5730, 5753, -1033, 689,
716, 5776, 5799, -1033, 3568, 5822, 3652, 724, -1033, 2934,
3568, 792, -1033, 1134, 1135, 1136, 990, 3748, 1924, 3748,
3748, -1033, 23, -1033, -1033, 3748, 1143, 1141, 1142, 1144,
1145, 5845, 84, -1033, 3704, -1033, 1000, 1005, 996, -1033,
1150, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, 3748, 3748,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, 3748, 3748, 3748, 3748, 3748, 3748, -1033, 3568,
528, -1033, -1033, -1033, 3748, -1033, 528, 1151, 1152, 1153,
1007, -1033, 49, 3748, 1156, 1158, 1567, -1033, 1159, 1018,
13, 1165, -1033, 3568, 3568, 3568, 3568, 3748, -1033, 1035,
528, 199, 4958, -1033, 1166, 318, 2745, -1033, 1120, 2493,
2493, 1169, 2493, 827, 2493, 2493, 1171, 1123, 2493, 2493,
1728, 1174, 1175, 1176, 1177, 3159, -1033, -1033, 1179, -1033,
1180, 1037, 7163, -1033, 1039, 1041, 1044, 1189, 1190, 1194,
1198, 737, 1182, 342, 4984, 5010, -1033, -1033, 3870, 318,
318, 318, 1202, 1203, 1056, 1064, 55, 87, -30, -1033,
381, -1033, 733, 1208, 1210, 1211, 1212, 1213, 7163, -1033,
1807, 1065, 1215, 1220, 1222, 1178, 1224, 1225, 738, 166,
-1033, -1033, 3748, 742, 2493, 2493, 2493, 1229, 5036, -1033,
3083, 774, 1230, 1231, 5868, -1033, 1081, 1082, 1083, 1085,
1238, 1239, -1033, 1240, -1033, 1095, 3748, 3748, 2493, 1090,
-1033, 6953, 5891, 6974, 5914, 6995, 5937, 7016, 5960, 237,
1101, 7037, 1104, -1033, -1033, -1033, 66, 344, 1105, 1249,
2298, -1033, -1033, -1033, 13, 3748, -1033, 743, -1033, 763,
764, 782, 796, 7163, -1033, 1251, 7, 3748, 3536, 2,
1108, 1196, 1196, 2493, 1255, 1109, 1111, 1256, 1258, 2493,
1115, 1269, 1270, -1033, 1287, 2493, 2493, 2493, 1259, 1288,
-1033, 2493, 1290, 1291, 1292, 1294, 2493, 2493, 2493, -1033,
1297, 111, 3748, 3748, 3748, 1138, 217, 221, 272, 1181,
-1033, 2493, 3748, -1033, 1311, -1033, 1320, -1033, -1033, 3387,
-22, 2195, -1033, 1146, 1170, 2940, -1033, 3568, -1033, -1033,
-1033, 1173, -1033, -1033, 1183, 7163, -1033, 1326, 1328, 1233,
-1033, 3748, 3748, 3748, -1033, 1331, 1332, 1184, 2493, 2493,
2493, 2493, -1033, 40, -1033, 3748, 5062, 5088, 797, -1033,
3748, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, -1033, 2493, 649, 3748, 1335, 1338, 14, -1033,
1339, 5983, 13, -1033, 1341, 1343, 1344, 1345, -1033, -1033,
528, 5114, 3748, 7163, -1033, 3748, 318, 1347, 1348, 1355,
-1033, 3748, 3748, -1033, -1033, 1356, 3748, -1033, -1033, 1358,
1359, 1360, 1261, 3748, -1033, 1362, 2493, 2493, 2493, 2493,
1366, 952, 1376, 3748, -1033, 3711, 3982, 7058, 3231, 10,
318, 1377, 318, 1384, 318, 1385, 3748, 311, 1188, 7079,
-1033, -1033, 4010, 400, -1033, 1386, 1538, 1387, 2493, 318,
1538, 1389, 816, 3748, -1033, -1033, -1033, 2493, 3313, 612,
7100, -1033, 3238, 1392, 1241, 1260, 1262, 1263, -1033, 241,
7163, 3748, 3748, 2493, 1232, 830, 7163, 1407, 1408, 2337,
-1033, 1413, 1420, -1033, 1289, -1033, -1033, -1033, -1033, -1033,
1435, 3748, 7163, 4038, 68, -1033, -1033, -1033, 4066, 4094,
-1033, 4122, 1437, -1033, -1033, 1395, 1442, 7163, -1033, 1443,
1444, 1446, 1447, -1033, 1298, -1033, -1033, 4541, 2447, 1448,
1299, -1033, 3748, -1033, 1293, 422, -1033, 1303, 442, -1033,
1307, 463, -1033, 1308, 6006, 1460, 2493, 1461, 1310, 3748,
-1033, 3089, 473, -1033, 831, 497, 560, -1033, 1463, 4150,
1369, 3748, -1033, 3748, -1033, -1033, 3568, 2486, 1465, -1033,
2493, 2493, 2493, 2493, -1033, 3748, 5140, 5166, -1033, 2493,
3748, 1466, -1033, -1033, -1033, 13, -1033, 1370, -1033, 5192,
-1033, 1467, 1470, 1471, 1474, 1475, 1325, -1033, -1033, -1033,
-1033, -1033, 2493, 3568, -1033, -1033, 10, 3347, -1033, 3387,
733, 3387, 733, 3387, 733, 1477, -1033, 850, 2493, -1033,
4178, 318, 1478, 3568, 318, -1033, -1033, 3748, 4206, 4234,
865, -1033, -1033, 1327, 1329, 1330, 1351, 1346, 7163, 3748,
3748, 875, 7163, -1033, 1480, -1033, 3748, 888, -1033, -1033,
-1033, -1033, -1033, 3748, 899, 910, 1357, 3748, -1033, 4262,
574, 236, 4290, 617, 238, 4318, 619, 573, -1033, 2493,
1499, 1459, 2083, 1349, 622, -1033, 911, 624, 2596, -1033,
-1033, 1507, 1508, 1523, 1525, 1527, 3748, 7121, 5218, 27,
-1033, 5244, 1530, -1033, -1033, 4346, 1529, 1532, -1033, 4374,
1533, 3748, 1534, 1544, 3748, 1545, 1568, 3748, 1569, 1378,
-1033, 3748, -1033, 733, -1033, 3568, 1570, 3089, -1033, -1033,
-1033, -1033, -1033, -1033, 917, -1033, 3748, -1033, 2493, 3748,
2344, -1033, -1033, -1033, -1033, -1033, 1421, 4402, -1033, -1033,
1422, 4430, -1033, -1033, 1423, 4458, -1033, 1571, 2635, 643,
2232, 920, -1033, 636, 929, 1576, 1426, 7142, 933, 4486,
-1033, -1033, 733, 1578, 733, 1581, 733, 1582, -1033, -1033,
-1033, -1033, 733, 1584, 3568, 1585, -1033, 528, -1033, 1436,
1589, 718, -1033, 1439, 799, -1033, 1440, 860, -1033, 1441,
892, -1033, 936, -1033, 941, -1033, 1449, 2493, -1033, 1593,
733, 1594, 733, 1595, 733, -1033, 1596, 528, 1598, 528,
942, -1033, 906, -1033, 925, -1033, 953, -1033, -1033, -1033,
946, -1033, 1599, 1601, 1602, 1609, 528, 1610, -1033, -1033,
-1033, -1033, -1033, -1033
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
-1033, -1033, -1033, -1033, 721, -1033, -1033, -1033, -1033, 314,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -1033, -319, 20, -1033, -1033, -1033, -1033, -1033, -1033,
-159, -1033, 719, 1615, -1033, -1033, -1033, -1033, 3, -399,
-205, -1033, -1033, -1033, -1033, -1033, -1033, 1620, -1033, -1033,
-1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033, -1033,
-1033, -703, -737, -1033, -1033, 1243, -1033, -1033, -1033, -1033,
-1033, -1033, -6, -1033, 399, -1033, -1032, 443, 168, 505,
50, -708, 618, -1033, -236, -2
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If YYTABLE_NINF, syntax error. */
#define YYTABLE_NINF -5
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
147, 410, 606, 607, 149, 215, 78, 531, 1024, 665,
748, 169, 425, 1019, 330, 525, 169, 242, 739, 5,
252, 464, 465, 466, 164, 260, 146, 254, 151, 432,
842, 153, 886, 1347, 160, 421, 164, 422, 413, 802,
245, 161, 218, 4, 219, 414, 1174, 802, 458, 803,
460, 326, 268, 877, 269, 804, 805, 803, 160, 806,
807, 943, 172, 804, 805, 743, 208, 806, 807, 746,
270, 948, 271, 731, 515, 516, 517, 518, 152, 520,
521, 522, 38, 39, 40, 41, 220, 150, 461, 266,
170, 46, 267, 945, 49, 745, 165, 155, 666, 667,
668, 669, 156, 166, 348, 349, 350, 731, 165, 950,
209, 351, 216, 203, 210, 744, 204, 1054, 1055, 205,
119, 120, 121, 122, 211, 272, 123, 273, 947, 319,
320, 321, 399, 400, 322, 325, 1074, 526, 527, 334,
157, 749, 399, 400, 749, 354, 944, 331, 356, 401,
327, 328, 878, 879, 358, 360, 363, 364, 217, 366,
360, 368, 369, 670, 360, 372, 373, 1261, 138, 139,
243, 740, 253, 261, 173, 262, 1010, 843, 946, 255,
263, 433, 154, 423, 1348, 391, 246, 138, 139, 530,
1274, 397, 398, 131, 132, 133, 134, 399, 400, 559,
398, 158, 126, 127, 560, 195, 196, 615, 399, 400,
733, 362, 718, 948, 402, 197, 367, 719, 179, 159,
371, 180, 206, 181, 438, 360, 162, 131, 132, 133,
134, 138, 139, 446, 447, 448, 190, 450, 851, 191,
453, 454, 163, 455, 399, 400, 648, 138, 139, 346,
347, 348, 349, 350, 732, 468, 562, 167, 351, 563,
168, 412, 473, 474, 475, 476, 477, 478, 479, 480,
481, 482, 483, 484, 485, 486, 487, 488, 489, 490,
491, 492, 493, 494, 495, 496, 497, 498, 499, 500,
501, 502, 503, 504, 505, 506, 507, 508, 509, 510,
511, 512, 513, 514, 1115, 802, 171, 802, 519, 131,
132, 133, 134, 138, 139, 803, 1378, 803, 360, 442,
851, 804, 805, 804, 805, 806, 807, 806, 807, 138,
139, 543, 544, 545, 546, 547, 548, 549, 550, 551,
552, 553, 554, 555, 556, 557, 532, 379, 380, 381,
896, 1004, 274, 438, 275, 567, 172, 399, 400, 571,
183, 399, 400, 184, 576, 276, 185, 277, 186, 581,
582, 583, 584, 1060, 528, 1061, 589, 1062, 174, 1063,
418, 594, 595, 596, 187, 1430, 175, 188, 999, 189,
399, 400, 1194, 567, 1322, 176, 1325, 1195, 609, 610,
611, 319, 320, 612, 331, 331, 601, 616, 617, 618,
619, 620, 399, 400, 624, 182, 177, 626, 627, 399,
400, 360, 360, 631, 632, 635, 853, 636, 1064, 178,
1065, 360, 784, 785, 786, 608, 639, 641, 199, 201,
192, 207, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 443, 349, 350, 193, 194, 195, 196,
351, 661, 202, 212, 664, 7, 8, 213, 197, 1165,
214, 131, 132, 133, 134, 198, 221, 629, 630, 239,
399, 400, 399, 400, 870, 222, 278, 637, 279, 663,
872, 138, 139, 223, 238, 235, 614, 1264, 932, 240,
241, 537, 17, 18, 538, 20, 21, 539, 23, 540,
25, 280, 26, 281, 895, 29, 30, 635, 32, 33,
34, 399, 400, 247, 37, 736, 248, 1281, 735, 1284,
249, 1287, 461, 266, 282, 250, 283, 949, 251, 265,
399, 400, 256, 284, 948, 285, 286, 948, 287, 734,
948, 54, 55, 56, 360, 752, 1169, 1003, 1005, 329,
641, 756, 399, 400, 119, 120, 121, 122, 138, 139,
123, 314, 335, 523, 770, 262, 257, 258, 1229, 775,
263, 259, 399, 400, 782, 782, 782, 782, 783, 783,
783, 783, 360, 394, 395, 310, 794, 795, 1231, 311,
312, 403, 798, 399, 400, 411, 288, 290, 289, 291,
751, 628, 313, 399, 400, 818, 374, 820, 315, 1233,
1183, 316, 235, 235, 235, 292, 317, 293, 360, 1241,
1369, 352, 948, 390, 360, 355, 393, 399, 400, 376,
353, 838, 802, 840, 841, 365, 126, 127, 791, 844,
370, 375, 803, 1243, 266, 235, 419, 377, 804, 805,
1154, 378, 806, 807, 948, 382, 361, 948, 387, 388,
948, 361, 294, 948, 295, 361, 296, 389, 297, 1401,
392, 1404, 852, 1407, 828, 119, 120, 121, 122, 1410,
833, 123, 861, 862, 298, 948, 299, 948, 404, 948,
399, 400, 300, 405, 301, 336, 863, 864, 865, 866,
867, 868, 802, 360, 399, 400, 1244, 1432, 871, 1434,
406, 1436, 803, 567, 567, 568, 573, 880, 804, 805,
1321, 1328, 806, 807, 415, 439, 361, 360, 360, 360,
360, 893, 416, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 399, 400, 399,
400, 351, 399, 400, 399, 400, 424, 126, 127, 869,
1184, 417, 567, 1324, 577, 1327, 399, 400, 1335, 302,
1337, 303, 973, 304, 1120, 305, 426, 802, 306, 308,
307, 309, 1394, 889, 890, 891, 892, 803, 604, 605,
420, 1390, 802, 804, 805, 427, 395, 806, 807, 567,
429, 638, 803, 655, 428, 656, 7, 8, 804, 805,
430, 444, 806, 807, 434, 435, 965, 1276, 436, 361,
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 567, 567, 730, 824, 351, 852,
986, 987, 537, 17, 18, 538, 20, 21, 539, 23,
540, 25, 445, 26, 439, 449, 29, 30, 802, 32,
33, 34, 567, 452, 825, 37, 1419, 451, 803, 1011,
567, 905, 831, 906, 804, 805, 456, 457, 806, 807,
459, 1021, 1023, 567, 567, 930, 964, 1006, 567, 1012,
966, 1013, 54, 55, 56, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 567,
567, 1014, 1015, 351, 467, 974, 1056, 1057, 1058, 802,
469, 534, 361, 361, 470, 1067, 1069, 472, 567, 803,
1016, 351, 361, 1072, 533, 804, 805, 535, 642, 806,
807, 360, 567, 1103, 1017, 1104, 1144, 1421, 1145, 144,
590, 802, 653, 536, 580, 1088, 1089, 1090, 727, 728,
729, 803, 567, 585, 1178, 802, 586, 804, 805, 1100,
597, 806, 807, 591, 1106, 803, 1200, 1103, 1201, 1242,
592, 804, 805, 593, 802, 806, 807, 599, 600, 1109,
793, 621, 1108, 1098, 803, 623, 1289, 1082, 1290, 625,
804, 805, 646, 810, 806, 807, 1122, 657, 1423, 1123,
649, 567, 802, 1301, 658, 1128, 1129, 659, 660, 776,
1131, 1103, 803, 1309, 1292, 720, 721, 1137, 804, 805,
790, 722, 806, 807, 1312, 724, 1313, 1147, 725, 1148,
1425, 138, 139, 1149, 726, 1103, 431, 1316, 262, 737,
1164, 144, 331, 263, 1443, 361, 567, 567, 1317, 1336,
360, 642, 757, 1200, 360, 1375, 567, 1179, 1393, 738,
742, 7, 8, 1444, 753, 567, 1187, 1395, 754, 1103,
1188, 1399, 567, 755, 1426, 1196, 1197, 1427, 1103, 1428,
1442, 758, 1446, 361, 1447, 759, 760, 762, 763, 764,
765, 1445, 767, 768, 769, 1209, 777, 537, 17, 18,
538, 20, 21, 539, 23, 540, 25, 779, 26, 1370,
792, 29, 30, 796, 32, 33, 34, 797, 819, 361,
37, 834, 835, 836, 837, 361, 1227, 845, 846, 847,
856, 848, 849, 858, 899, 857, 860, 873, 874, 875,
876, 1415, 881, 1240, 882, 438, 884, 54, 55, 56,
885, 888, 894, 898, 900, 1248, 903, 1249, 909, 910,
360, 914, 915, 916, 917, 920, 931, 921, 922, 1258,
923, 1438, 924, 1441, 1262, 925, 926, 927, 936, 937,
938, 928, 901, 902, 929, 904, 939, 907, 908, 940,
1452, 911, 912, 941, 942, 951, 952, 360, 953, 954,
955, 958, 957, 1279, 361, 1282, 959, 1285, 960, 331,
962, 963, 961, 970, 975, 976, 1250, 360, 978, 979,
980, 1298, 981, 983, 982, 985, 984, 990, 361, 361,
361, 361, 1000, 1307, 1308, 1002, 1008, 1018, 1026, 1007,
1311, 1030, 1033, 1043, 1034, 1025, 1031, 1315, 1032, 7,
8, 1319, 1036, 1275, 542, 1037, 1038, 967, 968, 969,
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 1039, 1296, 1044, 1059, 351, 1046, 1047, 1048,
1106, 1049, 558, 1078, 1053, 537, 17, 18, 538, 20,
21, 539, 23, 540, 25, 1357, 26, 1070, 1361, 29,
30, 1365, 32, 33, 34, 1368, 1071, 1079, 37, 360,
1083, 360, 1085, 1066, 1086, 1087, 1084, 1091, 1093, 1092,
1377, 1110, 1111, 1379, 1166, 1113, 1029, 1116, 1073, 1117,
1118, 1119, 1035, 1125, 1126, 54, 55, 56, 1040, 1041,
1042, 1127, 1130, 1132, 1045, 1133, 1134, 1135, 1138, 1050,
1051, 1052, 1143, 342, 343, 344, 345, 346, 347, 348,
349, 350, 1146, 1156, 1068, 1371, 351, 1374, 360, 1199,
1159, 1162, 1170, 1173, 1077, 1177, 1189, 1190, 1081, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
348, 349, 350, 1202, 1203, 654, 1191, 351, 1192, 1193,
1205, 1094, 1095, 1096, 1097, 1124, 1206, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 1208, 1215, 1207, 1412, 351, 1107, 1216, 1217, 1218,
1219, 1228, 1220, 1221, 1225, 1222, 1226, 7, 8, 1155,
1230, 1158, 361, 1161, 1232, 1234, 1236, 1239, 1238, 1245,
1247, 1252, 1263, 1268, 1265, 1172, 1269, 1270, 1175, 1176,
1271, 1272, 1273, 1288, 1295, 1302, 1310, 1303, 1304, 1139,
1140, 1141, 1142, 537, 17, 18, 538, 20, 21, 539,
23, 540, 25, 1306, 26, 1330, 1334, 29, 30, 1305,
32, 33, 34, 1339, 1340, 1318, 37, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 1331, 1341,
1180, 1342, 351, 1343, 1350, 1352, 1367, 723, 1353, 1355,
1358, 91, 224, 54, 55, 56, 1198, 95, 96, 97,
1359, 1362, 98, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 883, 1363, 1366, 1372, 1388, 1382, 1384,
1386, 361, 1396, 1397, 1402, 361, 226, 1405, 1408, 227,
1411, 1413, 228, 1417, 229, 1418, 1420, 1422, 1424, 1431,
1433, 1435, 1437, 811, 1439, 1448, 1429, 1449, 1450, 1237,
38, 39, 40, 41, 42, 1451, 1453, 1020, 77, 46,
1344, 1028, 49, 85, 588, 0, 1112, 0, 1280, 0,
1283, 0, 1286, 1253, 1254, 1255, 1256, 0, 0, 0,
1294, 0, 0, 1297, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 125, 0, 0, 128, 129,
130, 0, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 439, 0, 407, 1171,
351, 1291, 0, 137, 0, 0, 0, 0, 409, 0,
0, 361, 0, 143, 0, 198, 440, 442, 337, 338,
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 361, 0,
0, 0, 1329, 0, 913, 0, 1373, 0, 91, 224,
0, 0, 0, 0, 95, 96, 97, 0, 361, 98,
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,

Christophe Geuzaine
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 226, 0, 0, 227, 0, 0, 228,
0, 229, 0, 1381, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 38, 39, 40,
41, 42, 0, 956, 0, 0, 46, 0, 0, 49,
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 443, 349, 350, 0, 0, 0, 0, 351, 0,
361, 0, 361, 0, 0, 0, 0, 0, 0, 0,
0, 0, 125, 0, 0, 128, 129, 130, 0, 337,
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 135, 359, 351, 0, 0,
137, 0, 0, 0, 0, 140, 0, 0, 0, 0,
143, 0, 0, 440, 91, 92, 93, 0, 94, 361,
95, 96, 97, 0, 0, 98, 99, 100, 101, 102,

Christophe Geuzaine
committed
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 0, 119, 120, 121,
122, 0, 0, 123, 0, 0, 7, 8, 337, 338,
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,

Christophe Geuzaine
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 537, 17, 18, 538, 20, 21, 539, 23,
540, 25, 0, 26, 0, 0, 29, 30, 0, 32,
33, 34, 0, 0, 0, 37, 0, 0, 0, 0,
0, 0, 124, 0, 0, 0, 0, 0, 125, 126,
127, 128, 129, 130, 0, 0, 0, 0, 131, 132,
133, 134, 54, 55, 56, 0, 0, 0, 0, 0,
0, 135, 136, 0, 0, 0, 137, 0, 138, 139,
0, 140, 0, 141, 0, 142, 143, 0, 144, 91,
224, 225, 0, 0, 0, 95, 96, 97, 0, 0,
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 0, 839, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 226, 7, 8, 227, 0, 0,
228, 0, 229, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 38, 39,
40, 41, 42, 0, 0, 0, 0, 46, 0, 0,
49, 537, 17, 18, 538, 20, 21, 539, 23, 540,
25, 0, 26, 0, 0, 29, 30, 0, 32, 33,
34, 0, 0, 0, 37, 0, 0, 0, 0, 0,
0, 0, 0, 125, 0, 0, 128, 129, 130, 0,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 54, 55, 56, 0, 0, 135, 230, 0, 0,
0, 137, 0, 0, 0, 0, 140, 0, 91, 224,
1075, 143, 0, 231, 95, 96, 97, 0, 0, 98,
Emilie Marchandise
committed
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1332, 0, 226, 7, 8, 227, 0, 0, 228,
0, 229, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 38, 39, 40,
41, 42, 0, 0, 0, 0, 46, 0, 0, 49,
537, 17, 18, 538, 20, 21, 539, 23, 540, 25,
0, 26, 0, 0, 29, 30, 0, 32, 33, 34,
0, 0, 0, 37, 1009, 0, 0, 0, 0, 0,
0, 0, 125, 0, 0, 128, 129, 130, 0, 0,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
54, 55, 56, 0, 0, 135, 230, 0, 0, 0,
137, 0, 0, 1204, 0, 140, 0, 91, 224, 1380,
143, 0, 1076, 95, 96, 97, 0, 0, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
110, 111, 112, 113, 114, 115, 116, 117, 118, 0,

Christophe Geuzaine
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1391, 0, 226, 0, 0, 227, 0, 0, 228, 0,
229, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 38, 39, 40, 41,
42, 0, 0, 0, 0, 46, 0, 0, 49, 337,
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 1224, 0, 0, 0, 0, 0, 0,
0, 125, 0, 0, 128, 129, 130, 0, 337, 338,
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 135, 230, 351, 0, 0, 137,
0, 0, 1251, 0, 140, 0, 91, 224, 0, 143,
0, 231, 95, 96, 97, 0, 0, 98, 99, 100,
Emilie Marchandise
committed
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 226, 0, 0, 227, 0, 0, 228, 0, 229,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 38, 39, 40, 41, 42,
0, 0, 0, 0, 46, 0, 0, 49, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
0, 0, 1338, 0, 0, 0, 0, 0, 0, 0,
125, 0, 0, 128, 129, 130, 0, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 135, 230, 351, 0, 0, 137, 0,
0, 1389, 0, 140, 0, 91, 224, 0, 143, 0,
231, 95, 96, 97, 0, 0, 98, 99, 100, 101,
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
226, 0, 0, 227, 0, 0, 228, 0, 229, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 38, 39, 40, 41, 42, 0,
0, 0, 0, 46, 0, 0, 49, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 0, 442, 0, 0, 0, 0, 0, 125,
0, 0, 128, 129, 130, 0, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 135, 359, 351, 0, 0, 137, 0, 0,
0, 0, 140, 650, 91, 224, 0, 143, 0, 437,
95, 96, 97, 0, 0, 98, 99, 100, 101, 102,
Emilie Marchandise
committed
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 226,
0, 0, 227, 0, 0, 228, 0, 229, 0, 0,
Emilie Marchandise
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
0, 0, 0, 38, 39, 40, 41, 42, 0, 0,
0, 0, 46, 0, 0, 49, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 566, 349, 350,
0, 0, 0, 0, 351, 0, 0, 0, 0, 0,
0, 0, 747, 0, 0, 0, 0, 0, 125, 0,
0, 128, 129, 130, 0, 0, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 135, 359, 0, 351, 0, 137, 0, 0, 0,
0, 140, 832, 91, 224, 0, 143, 0, 640, 95,
96, 97, 0, 0, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 226, 0,
0, 227, 0, 0, 228, 0, 229, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 38, 39, 40, 41, 42, 0, 0, 0,
0, 46, 0, 0, 49, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 125, 0, 0,
128, 129, 130, 0, 0, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
135, 230, 0, 351, 0, 137, 0, 0, 0, 0,
140, 972, 91, 224, 0, 143, 0, 1080, 95, 96,
97, 0, 0, 98, 99, 100, 101, 102, 103, 104,

Christophe Geuzaine
committed
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 226, 0, 0,
227, 0, 0, 228, 0, 229, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 38, 39, 40, 41, 42, 0, 0, 91, 318,
46, 0, 0, 49, 95, 96, 97, 0, 0, 98,
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
0, 0, 0, 0, 0, 0, 125, 0, 0, 128,
129, 130, 0, 0, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 918, 407,
1171, 0, 351, 0, 137, 0, 0, 0, 0, 409,
0, 91, 318, 266, 143, 0, 198, 95, 96, 97,
0, 0, 98, 99, 100, 101, 102, 103, 104, 105,

Christophe Geuzaine
committed
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
116, 117, 118, 0, 119, 120, 121, 122, 0, 0,
123, 0, 125, 0, 0, 128, 129, 130, 0, 0,
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 135, 136, 0, 351, 0,
137, 0, 0, 0, 0, 140, 0, 0, 323, 0,
143, 0, 324, 91, 318, 0, 0, 0, 0, 95,
96, 97, 0, 0, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 125, 126, 127, 128, 129,
130, 0, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 135, 136,
351, 0, 0, 137, 0, 0, 0, 1152, 140, 1153,
91, 318, 0, 143, 0, 1186, 95, 96, 97, 0,
0, 98, 99, 100, 101, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
117, 118, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 125, 0, 0,
128, 129, 130, 0, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
135, 136, 351, 0, 0, 137, 0, 0, 0, 1181,
140, 1182, 0, 633, 0, 143, 0, 634, 337, 338,
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
0, 0, 0, 1277, 125, 1278, 0, 128, 129, 130,
0, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 407, 408, 351,
0, 0, 137, 0, 0, 0, 0, 409, 772, 91,
318, 0, 143, 0, 198, 95, 96, 97, 0, 0,

Christophe Geuzaine
committed
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 91, 224, 0, 0, 0, 0, 95, 96, 97,
0, 0, 98, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
116, 117, 118, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 226, 0, 0, 227,
0, 0, 228, 0, 229, 0, 0, 0, 0, 0,

Christophe Geuzaine
committed
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
38, 39, 40, 41, 42, 0, 0, 0, 0, 46,
0, 0, 49, 125, 0, 0, 128, 129, 130, 0,
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 135, 136, 351, 0,
0, 137, 0, 0, 0, 125, 140, 814, 128, 129,
130, 143, 0, 1022, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 135, 359,
0, 0, 351, 137, 91, 318, 266, 0, 140, 561,
95, 96, 97, 143, 0, 98, 99, 100, 101, 102,

Christophe Geuzaine
committed
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 0, 119, 120, 121,
122, 91, 318, 123, 0, 0, 0, 95, 96, 97,
0, 0, 98, 99, 100, 101, 102, 103, 104, 105,

Christophe Geuzaine
committed
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
116, 117, 118, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 0, 0,
830, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 125, 126,
127, 128, 129, 130, 0, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 135, 136, 351, 0, 0, 137, 0, 0, 0,
0, 140, 854, 0, 0, 125, 143, 0, 128, 129,
130, -4, 1, 0, 0, -4, 0, 0, 0, 0,
0, 0, 0, -4, -4, 0, 0, 0, 135, 136,
0, 0, 0, 137, 0, 0, 0, 0, 140, 0,
0, 0, 0, 143, 0, 0, -4, 0, 0, 0,
0, -4, -4, 0, -4, -4, -4, 0, -4, -4,
-4, -4, -4, -4, -4, -4, -4, -4, -4, 0,
-4, -4, -4, -4, -4, -4, -4, -4, -4, -4,
0, -4, -4, -4, -4, -4, -4, -4, -4, 0,
-4, -4, -4, -4, -4, -4, 0, 0, -4, -4,
0, 0, 0, -4, 0, 0, 0, 0, -4, -4,
-4, -4, 0, 0, -4, 0, -4, 0, -4, -4,
-4, -4, -4, -4, -4, -4, -4, -4, 0, 0,
6, 0, 0, 0, -4, -4, -4, -4, 7, 8,
0, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 9, 0, 0, 0, 0, 10, 11, 935, 12,
13, 14, 0, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 0, 26, 27, 28, 29, 30,
31, 32, 33, 34, 35, 0, 36, 37, 38, 39,
40, 41, 42, 43, 0, 44, 45, 46, 47, 48,
49, 0, 0, 50, 51, 0, 0, 0, 52, 0,
0, 0, 0, 53, 54, 55, 56, 0, 0, 57,
0, 58, 0, 59, 60, 61, 62, 63, 64, 65,
66, 67, 68, 0, 0, 0, 0, 0, 0, 69,
70, 71, 72, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 0, 0,
1150, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 0, 0, 1168, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 0, 0, 1211, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 0, 0, 1212, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
0, 0, 1213, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 0, 0,
1214, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 0, 0, 1246, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 0, 0, 1293, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 0, 0, 1299, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
0, 0, 1300, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 0, 0,
1320, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 0, 0, 1323, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 0, 0, 1326, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 0, 0, 1351, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
0, 0, 1354, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 0, 0,
1383, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 0, 0, 1385, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 0, 0, 1387, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 0, 0, 1400, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
0, 598, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 0, 0, 0, 0, 0, 0, 1223, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 524,
0, 0, 0, 0, 602, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
602, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 603, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 647, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 698, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 699, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
712, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 713, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 714, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 715, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 716, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
717, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 799, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 800, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 801, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 897, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
933, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 934, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 971, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 1101, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 1102, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
1121, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 0, 0, 0, 1259, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 0,
0, 0, 1260, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 0, 0, 0, 1266, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 0, 0, 0, 1346, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 0, 0, 0,
1349, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 529, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 0, 0, 652, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 662,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
0, 0, 677, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 679, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 0, 0, 681, 337,
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 683, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 0, 0, 685, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 687, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
689, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 691, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 0, 0, 693, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 695,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
0, 0, 697, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 701, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 0, 0, 703, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 705, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 0, 0, 707, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 709, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
711, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 822, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 0, 0, 823, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 826,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
0, 0, 827, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 0, 0, 829, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 0, 0, 850, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 0,
0, 977, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 0, 0, 992, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 0, 0, 994, 337, 338,

Christophe Geuzaine
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 0, 0,
996, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 0, 0, 998, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 0, 0, 1114, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 0, 0, 1235,
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
524, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 565, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 569, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 570, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 572, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 574, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 575, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 578, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 579, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 643,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
644, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 645, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 651, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 676, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 678, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 680, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 682, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 684, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 686, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 688,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
690, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 692, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 694, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 696, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 700, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 702, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 704, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 706, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 708, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 710,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
761, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 766, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 771, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 773, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 774, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 780, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 787, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 788, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 789, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 813,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
815, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 816, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 817, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 821, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351, 0, 991, 337, 338, 339, 340, 341,
342, 343, 344, 345, 346, 347, 348, 349, 350, 0,
0, 0, 0, 351, 0, 993, 337, 338, 339, 340,
341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
0, 0, 0, 0, 351, 0, 995, 337, 338, 339,
340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
350, 0, 0, 0, 0, 351, 0, 997, 337, 338,
Emilie Marchandise
committed
339, 340, 341, 342, 343, 344, 345, 346, 347, 348,
349, 350, 0, 0, 0, 0, 351, 0, 1001, 337,

Christophe Geuzaine
committed
338, 339, 340, 341, 342, 343, 344, 345, 346, 347,
348, 349, 350, 0, 0, 0, 0, 351, 0, 1151,

Christophe Geuzaine
committed
337, 338, 339, 340, 341, 342, 343, 344, 345, 346,
347, 348, 349, 350, 0, 0, 0, 0, 351, 0,
1167, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 0, 0, 0, 0, 351,
0, 1185, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 0, 0, 0, 0,
351, 0, 1345, 337, 338, 339, 340, 341, 342, 343,
344, 345, 346, 347, 348, 349, 350, 0, 0, 0,
0, 351, 0, 1398, 337, 338, 339, 340, 341, 342,
343, 344, 345, 346, 347, 348, 349, 350, 0, 0,
0, 0, 351
#define yypact_value_is_default(yystate) \
((yystate) == (-1033))
#define yytable_value_is_error(yytable_value) \
YYID (0)
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
6, 206, 401, 402, 6, 4, 3, 326, 6, 4,
6, 78, 217, 6, 4, 7, 78, 4, 4, 0,
5, 257, 258, 259, 78, 4, 6, 5, 54, 5,
7, 6, 740, 6, 150, 4, 78, 6, 150, 69,
4, 157, 4, 6, 6, 157, 1078, 69, 253, 79,
255, 4, 150, 4, 152, 85, 86, 79, 150, 89,
90, 6, 150, 85, 86, 157, 4, 89, 90, 157,
150, 808, 152, 7, 310, 311, 312, 313, 150, 315,
316, 317, 72, 73, 74, 75, 48, 13, 4, 5,
157, 81, 94, 6, 84, 157, 150, 6, 93, 94,
95, 96, 6, 157, 142, 143, 144, 7, 150, 812,
48, 149, 111, 48, 52, 157, 51, 6, 7, 54,
36, 37, 38, 39, 62, 150, 42, 152, 158, 135,
136, 137, 140, 141, 140, 141, 158, 129, 130, 145,
6, 137, 140, 141, 137, 151, 91, 144, 154, 157,
103, 104, 103, 104, 160, 161, 162, 163, 157, 165,
166, 167, 168, 158, 170, 171, 172, 1199, 147, 148,
157, 157, 157, 152, 58, 154, 884, 154, 91, 157,
159, 157, 157, 152, 157, 191, 150, 147, 148, 7,
1222, 197, 198, 127, 128, 129, 130, 140, 141, 151,
206, 6, 118, 119, 156, 140, 141, 412, 140, 141,
529, 161, 151, 950, 157, 150, 166, 156, 51, 152,
170, 54, 157, 56, 230, 231, 150, 127, 128, 129,
130, 147, 148, 239, 240, 241, 51, 243, 154, 54,
246, 247, 150, 249, 140, 141, 451, 147, 148, 140,
141, 142, 143, 144, 154, 261, 153, 150, 149, 156,
150, 157, 268, 269, 270, 271, 272, 273, 274, 275,
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,

Christophe Geuzaine
committed
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
306, 307, 308, 309, 1012, 69, 150, 69, 314, 127,
128, 129, 130, 147, 148, 79, 1348, 79, 324, 8,
154, 85, 86, 85, 86, 89, 90, 89, 90, 147,
148, 337, 338, 339, 340, 341, 342, 343, 344, 345,
346, 347, 348, 349, 350, 351, 326, 179, 180, 181,
151, 7, 150, 359, 152, 156, 150, 140, 141, 365,
48, 140, 141, 51, 370, 150, 54, 152, 56, 375,
376, 377, 378, 156, 324, 158, 382, 156, 54, 158,
212, 387, 388, 389, 51, 1417, 54, 54, 151, 56,
140, 141, 151, 156, 158, 6, 158, 156, 404, 405,
406, 407, 408, 409, 401, 402, 156, 413, 414, 415,
416, 417, 140, 141, 420, 56, 54, 423, 424, 140,
141, 427, 428, 429, 430, 431, 662, 433, 156, 54,
158, 437, 591, 592, 593, 156, 442, 443, 39, 40,
150, 42, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, 51, 157, 140, 141,
149, 467, 157, 54, 470, 12, 13, 54, 150, 158,
51, 127, 128, 129, 130, 157, 51, 427, 428, 150,
140, 141, 140, 141, 720, 4, 150, 437, 152, 469,
726, 147, 148, 4, 4, 52, 156, 1205, 156, 150,
150, 48, 49, 50, 51, 52, 53, 54, 55, 56,
57, 150, 59, 152, 750, 62, 63, 523, 65, 66,
67, 140, 141, 150, 71, 531, 6, 1230, 530, 1232,
152, 1234, 4, 5, 150, 4, 152, 156, 4, 157,
140, 141, 150, 150, 1281, 152, 150, 1284, 152, 529,
1287, 98, 99, 100, 560, 561, 156, 876, 877, 4,
566, 567, 140, 141, 36, 37, 38, 39, 147, 148,
42, 7, 6, 152, 580, 154, 150, 150, 156, 585,
159, 150, 140, 141, 590, 591, 592, 593, 590, 591,
592, 593, 598, 194, 195, 150, 602, 603, 156, 150,
150, 202, 608, 140, 141, 206, 150, 150, 152, 152,
560, 158, 150, 140, 141, 621, 173, 623, 150, 156,
8, 150, 179, 180, 181, 150, 150, 152, 634, 156,
1333, 6, 1369, 190, 640, 5, 193, 140, 141, 157,
6, 647, 69, 649, 650, 150, 118, 119, 598, 655,
150, 150, 79, 156, 5, 212, 213, 150, 85, 86,
1059, 150, 89, 90, 1401, 150, 161, 1404, 150, 150,
1407, 166, 150, 1410, 152, 170, 150, 150, 152, 1382,
4, 1384, 662, 1386, 634, 36, 37, 38, 39, 1392,
640, 42, 698, 699, 150, 1432, 152, 1434, 157, 1436,
140, 141, 150, 157, 152, 6, 712, 713, 714, 715,
716, 717, 69, 719, 140, 141, 156, 1420, 724, 1422,
157, 1424, 79, 156, 156, 158, 158, 733, 85, 86,
156, 158, 89, 90, 150, 230, 231, 743, 744, 745,
746, 747, 150, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, 140, 141, 140,
141, 149, 140, 141, 140, 141, 152, 118, 119, 719,
158, 150, 156, 156, 158, 156, 140, 141, 156, 150,
156, 152, 8, 150, 1020, 152, 6, 69, 150, 150,
152, 152, 156, 743, 744, 745, 746, 79, 399, 400,
150, 158, 69, 85, 86, 157, 407, 89, 90, 156,
152, 158, 79, 152, 157, 154, 12, 13, 85, 86,
152, 6, 89, 90, 5, 5, 832, 1226, 5, 324,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, 156, 156, 158, 158, 149, 829,
856, 857, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 6, 59, 359, 154, 62, 63, 69, 65,
66, 67, 156, 106, 158, 71, 158, 157, 79, 885,
156, 54, 158, 56, 85, 86, 6, 6, 89, 90,
6, 897, 898, 156, 156, 158, 158, 877, 156, 156,
158, 158, 98, 99, 100, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, 156,
156, 158, 158, 149, 152, 151, 932, 933, 934, 69,
4, 7, 427, 428, 157, 941, 942, 6, 156, 79,
158, 149, 437, 949, 154, 85, 86, 152, 443, 89,
90, 957, 156, 156, 158, 158, 4, 158, 6, 157,
150, 69, 158, 158, 7, 971, 972, 973, 525, 526,
527, 79, 156, 7, 158, 69, 7, 85, 86, 985,
7, 89, 90, 150, 990, 79, 156, 156, 158, 158,
150, 85, 86, 150, 69, 89, 90, 151, 6, 1005,
601, 7, 1004, 983, 79, 7, 156, 957, 158, 6,
85, 86, 103, 614, 89, 90, 1022, 151, 158, 1025,
157, 156, 69, 158, 151, 1031, 1032, 151, 151, 586,
1036, 156, 79, 158, 1239, 156, 151, 1043, 85, 86,
597, 151, 89, 90, 156, 156, 158, 1053, 151, 1055,
158, 147, 148, 1055, 156, 156, 152, 158, 154, 6,
1066, 157, 1059, 159, 158, 560, 156, 156, 158, 158,
1076, 566, 567, 156, 1080, 158, 156, 1083, 158, 4,
153, 12, 13, 158, 6, 156, 1092, 158, 4, 156,
1092, 158, 156, 7, 158, 1101, 1102, 156, 156, 158,
158, 106, 156, 598, 158, 7, 7, 7, 106, 7,
7, 158, 106, 7, 7, 1121, 4, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 6, 59, 1334,
154, 62, 63, 158, 65, 66, 67, 158, 6, 634,
71, 7, 7, 7, 154, 640, 1152, 4, 7, 7,
150, 7, 7, 157, 755, 150, 6, 6, 6, 6,
153, 1397, 6, 1169, 6, 1171, 7, 98, 99, 100,
152, 6, 137, 7, 54, 1181, 7, 1183, 7, 56,
1186, 7, 7, 7, 7, 6, 4, 7, 151, 1195,
151, 1427, 151, 1429, 1200, 151, 7, 7, 799, 800,
801, 7, 759, 760, 6, 762, 4, 764, 765, 6,
1446, 768, 769, 157, 150, 7, 6, 1223, 7, 7,
7, 6, 157, 1229, 719, 1231, 6, 1233, 6, 1226,
6, 6, 54, 4, 4, 4, 1186, 1243, 157, 157,
157, 1247, 157, 4, 6, 150, 6, 157, 743, 744,
745, 746, 151, 1259, 1260, 151, 7, 6, 62, 154,
1266, 6, 6, 4, 6, 157, 157, 1273, 157, 12,
13, 1277, 157, 1223, 6, 6, 6, 834, 835, 836,
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
143, 144, 5, 1243, 6, 157, 149, 7, 7, 7,
1306, 7, 6, 157, 7, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 1321, 59, 6, 1324, 62,
63, 1327, 65, 66, 67, 1331, 6, 157, 71, 1335,
157, 1337, 6, 152, 6, 102, 153, 6, 154, 7,
1346, 6, 4, 1349, 156, 6, 903, 6, 949, 6,
6, 6, 909, 6, 6, 98, 99, 100, 915, 916,
917, 6, 6, 5, 921, 6, 6, 106, 6, 926,
927, 928, 6, 136, 137, 138, 139, 140, 141, 142,
143, 144, 6, 6, 941, 1335, 149, 1337, 1394, 157,
6, 6, 6, 6, 951, 6, 4, 156, 955, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, 6, 6, 158, 156, 149, 156, 156,
7, 978, 979, 980, 981, 1026, 6, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, 6, 5, 154, 1394, 149, 1003, 52, 6, 6,
6, 158, 6, 6, 6, 157, 157, 12, 13, 1060,
157, 1062, 957, 1064, 157, 157, 6, 157, 7, 6,
101, 6, 6, 6, 104, 1076, 6, 6, 1079, 1080,
6, 6, 157, 6, 6, 158, 6, 158, 158, 1046,
1047, 1048, 1049, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 157, 59, 6, 157, 62, 63, 158,
65, 66, 67, 6, 6, 158, 71, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, 69, 6,
1087, 6, 149, 6, 4, 6, 158, 6, 6, 6,
6, 3, 4, 98, 99, 100, 1103, 9, 10, 11,
6, 6, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 6, 6, 6, 6, 6, 157, 157,
157, 1076, 6, 157, 6, 1080, 48, 6, 6, 51,
6, 6, 54, 157, 56, 6, 157, 157, 157, 6,
6, 6, 6, 158, 6, 6, 157, 6, 6, 1166,
72, 73, 74, 75, 76, 6, 6, 896, 3, 81,
1306, 902, 84, 3, 381, -1, 1008, -1, 1229, -1,
1231, -1, 1233, 1190, 1191, 1192, 1193, -1, -1, -1,
1241, -1, -1, 1244, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 117, -1, -1, 120, 121,
122, -1, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, 1171, -1, 140, 141,
149, 1238, -1, 145, -1, -1, -1, -1, 150, -1,
-1, 1186, -1, 155, -1, 157, 158, 8, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 1223, -1,
-1, -1, 1289, -1, 6, -1, 1337, -1, 3, 4,
-1, -1, -1, -1, 9, 10, 11, -1, 1243, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,

Christophe Geuzaine
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 48, -1, -1, 51, -1, -1, 54,
-1, 56, -1, 1350, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 72, 73, 74,
75, 76, -1, 6, -1, -1, 81, -1, -1, 84,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
1335, -1, 1337, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 117, -1, -1, 120, 121, 122, -1, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, 140, 141, 149, -1, -1,
145, -1, -1, -1, -1, 150, -1, -1, -1, -1,
155, -1, -1, 158, 3, 4, 5, -1, 7, 1394,
9, 10, 11, -1, -1, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, -1, 36, 37, 38,
39, -1, -1, 42, -1, -1, 12, 13, 131, 132,
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,

Christophe Geuzaine
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, -1, 59, -1, -1, 62, 63, -1, 65,
66, 67, -1, -1, -1, 71, -1, -1, -1, -1,
-1, -1, 111, -1, -1, -1, -1, -1, 117, 118,
119, 120, 121, 122, -1, -1, -1, -1, 127, 128,
129, 130, 98, 99, 100, -1, -1, -1, -1, -1,
-1, 140, 141, -1, -1, -1, 145, -1, 147, 148,
-1, 150, -1, 152, -1, 154, 155, -1, 157, 3,
4, 5, -1, -1, -1, 9, 10, 11, -1, -1,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
34, -1, 158, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 48, 12, 13, 51, -1, -1,
54, -1, 56, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 72, 73,
74, 75, 76, -1, -1, -1, -1, 81, -1, -1,
84, 48, 49, 50, 51, 52, 53, 54, 55, 56,
57, -1, 59, -1, -1, 62, 63, -1, 65, 66,
67, -1, -1, -1, 71, -1, -1, -1, -1, -1,
-1, -1, -1, 117, -1, -1, 120, 121, 122, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 98, 99, 100, -1, -1, 140, 141, -1, -1,
-1, 145, -1, -1, -1, -1, 150, -1, 3, 4,
5, 155, -1, 157, 9, 10, 11, -1, -1, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 158, -1, 48, 12, 13, 51, -1, -1, 54,
-1, 56, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 72, 73, 74,
75, 76, -1, -1, -1, -1, 81, -1, -1, 84,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
-1, 59, -1, -1, 62, 63, -1, 65, 66, 67,
-1, -1, -1, 71, 6, -1, -1, -1, -1, -1,
-1, -1, 117, -1, -1, 120, 121, 122, -1, -1,
98, 99, 100, -1, -1, 140, 141, -1, -1, -1,
145, -1, -1, 6, -1, 150, -1, 3, 4, 5,
155, -1, 157, 9, 10, 11, -1, -1, 14, 15,
Emilie Marchandise
committed
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
158, -1, 48, -1, -1, 51, -1, -1, 54, -1,
56, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 72, 73, 74, 75,
76, -1, -1, -1, -1, 81, -1, -1, 84, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, 6, -1, -1, -1, -1, -1, -1,
-1, 117, -1, -1, 120, 121, 122, -1, 131, 132,
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, 140, 141, 149, -1, -1, 145,
-1, -1, 6, -1, 150, -1, 3, 4, -1, 155,
-1, 157, 9, 10, 11, -1, -1, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 28, 29, 30, 31, 32, 33, 34, -1, -1,
Emilie Marchandise
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 48, -1, -1, 51, -1, -1, 54, -1, 56,

Christophe Geuzaine
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 72, 73, 74, 75, 76,
-1, -1, -1, -1, 81, -1, -1, 84, 131, 132,
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
-1, -1, 6, -1, -1, -1, -1, -1, -1, -1,
117, -1, -1, 120, 121, 122, -1, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, 140, 141, 149, -1, -1, 145, -1,
-1, 6, -1, 150, -1, 3, 4, -1, 155, -1,
157, 9, 10, 11, -1, -1, 14, 15, 16, 17,
Emilie Marchandise
committed
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
Emilie Marchandise
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
48, -1, -1, 51, -1, -1, 54, -1, 56, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 72, 73, 74, 75, 76, -1,
-1, -1, -1, 81, -1, -1, 84, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, -1, 8, -1, -1, -1, -1, -1, 117,
-1, -1, 120, 121, 122, -1, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, 140, 141, 149, -1, -1, 145, -1, -1,
-1, -1, 150, 8, 3, 4, -1, 155, -1, 157,
9, 10, 11, -1, -1, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 48,
-1, -1, 51, -1, -1, 54, -1, 56, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 72, 73, 74, 75, 76, -1, -1,
-1, -1, 81, -1, -1, 84, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, -1, -1, -1, -1,
-1, -1, 8, -1, -1, -1, -1, -1, 117, -1,
-1, 120, 121, 122, -1, -1, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, 140, 141, -1, 149, -1, 145, -1, -1, -1,
-1, 150, 8, 3, 4, -1, 155, -1, 157, 9,
Emilie Marchandise
committed
10, 11, -1, -1, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 48, -1,
-1, 51, -1, -1, 54, -1, 56, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 72, 73, 74, 75, 76, -1, -1, -1,
-1, 81, -1, -1, 84, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 117, -1, -1,
120, 121, 122, -1, -1, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
140, 141, -1, 149, -1, 145, -1, -1, -1, -1,
150, 8, 3, 4, -1, 155, -1, 157, 9, 10,
11, -1, -1, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32, 33, 34, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 48, -1, -1,
51, -1, -1, 54, -1, 56, -1, -1, -1, -1,
Emilie Marchandise
committed
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 72, 73, 74, 75, 76, -1, -1, 3, 4,
81, -1, -1, 84, 9, 10, 11, -1, -1, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
-1, -1, -1, -1, -1, -1, 117, -1, -1, 120,
121, 122, -1, -1, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, 69, 140,
141, -1, 149, -1, 145, -1, -1, -1, -1, 150,
-1, 3, 4, 5, 155, -1, 157, 9, 10, 11,

Christophe Geuzaine
committed
-1, -1, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, -1, 36, 37, 38, 39, -1, -1,
42, -1, 117, -1, -1, 120, 121, 122, -1, -1,
Emilie Marchandise
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, 140, 141, -1, 149, -1,
145, -1, -1, -1, -1, 150, -1, -1, 153, -1,
155, -1, 157, 3, 4, -1, -1, -1, -1, 9,

Christophe Geuzaine
committed
10, 11, -1, -1, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 117, 118, 119, 120, 121,
122, -1, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, 140, 141,
149, -1, -1, 145, -1, -1, -1, 156, 150, 158,
3, 4, -1, 155, -1, 157, 9, 10, 11, -1,

Christophe Geuzaine
committed
-1, 14, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 117, -1, -1,
120, 121, 122, -1, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
140, 141, 149, -1, -1, 145, -1, -1, -1, 156,
150, 158, -1, 153, -1, 155, -1, 157, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
-1, -1, -1, 156, 117, 158, -1, 120, 121, 122,
-1, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, 140, 141, 149,
-1, -1, 145, -1, -1, -1, -1, 150, 158, 3,
4, -1, 155, -1, 157, 9, 10, 11, -1, -1,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
34, 3, 4, -1, -1, -1, -1, 9, 10, 11,
-1, -1, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 48, -1, -1, 51,
-1, -1, 54, -1, 56, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
72, 73, 74, 75, 76, -1, -1, -1, -1, 81,
-1, -1, 84, 117, -1, -1, 120, 121, 122, -1,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
141, 142, 143, 144, -1, -1, 140, 141, 149, -1,
-1, 145, -1, -1, -1, 117, 150, 158, 120, 121,
122, 155, -1, 157, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, 140, 141,
-1, -1, 149, 145, 3, 4, 5, -1, 150, 156,
9, 10, 11, 155, -1, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, -1, 36, 37, 38,
39, 3, 4, 42, -1, -1, -1, 9, 10, 11,
-1, -1, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, -1, -1,
158, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 117, 118,
119, 120, 121, 122, -1, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, 140, 141, 149, -1, -1, 145, -1, -1, -1,
-1, 150, 158, -1, -1, 117, 155, -1, 120, 121,
122, 0, 1, -1, -1, 4, -1, -1, -1, -1,
-1, -1, -1, 12, 13, -1, -1, -1, 140, 141,
-1, -1, -1, 145, -1, -1, -1, -1, 150, -1,
-1, -1, -1, 155, -1, -1, 35, -1, -1, -1,
-1, 40, 41, -1, 43, 44, 45, -1, 47, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, -1,
59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
-1, 70, 71, 72, 73, 74, 75, 76, 77, -1,
79, 80, 81, 82, 83, 84, -1, -1, 87, 88,
-1, -1, -1, 92, -1, -1, -1, -1, 97, 98,
99, 100, -1, -1, 103, -1, 105, -1, 107, 108,
109, 110, 111, 112, 113, 114, 115, 116, -1, -1,
4, -1, -1, -1, 123, 124, 125, 126, 12, 13,
-1, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 35, -1, -1, -1, -1, 40, 41, 158, 43,
44, 45, -1, 47, 48, 49, 50, 51, 52, 53,
54, 55, 56, 57, -1, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, -1, 70, 71, 72, 73,
74, 75, 76, 77, -1, 79, 80, 81, 82, 83,
84, -1, -1, 87, 88, -1, -1, -1, 92, -1,
-1, -1, -1, 97, 98, 99, 100, -1, -1, 103,
-1, 105, -1, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, -1, -1, -1, -1, -1, -1, 123,
124, 125, 126, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, -1, -1,
158, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, -1, -1, 158, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, -1, -1, 158, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, -1, -1, 158, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
-1, -1, 158, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, -1, -1,
158, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, -1, -1, 158, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, -1, -1, 158, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, -1, -1, 158, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
-1, -1, 158, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, -1, -1,
158, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, -1, -1, 158, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, -1, -1, 158, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, -1, -1, 158, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
-1, -1, 158, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, -1, -1,
158, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, -1, -1, 158, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, -1, -1, 158, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, -1, -1, 158, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
-1, 157, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, -1, -1, -1, -1, -1, -1, 157, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, 156, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, 156, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, 156, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, 156, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, 156, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, 156, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, 156, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, 156, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, 156, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, 156, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, 156, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, 156, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, -1, -1, -1, 156, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, -1,
-1, -1, 156, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, -1, -1, -1, 156, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, -1, -1, -1, 156, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, -1, -1, -1,
156, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, 153, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, -1, -1, 153, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, 153,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
-1, -1, 153, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, 153, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, -1, -1, 153, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, 153, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, -1, -1, 153, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, 153, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
153, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, 153, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, -1, -1, 153, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, 153,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
-1, -1, 153, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, 153, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, -1, -1, 153, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, 153, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, -1, -1, 153, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, 153, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
153, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, 153, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, -1, -1, 153, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, 153,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
-1, -1, 153, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, -1, -1, 153, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, -1, -1, 153, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, -1,
-1, 153, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, -1, -1, 153, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, -1, -1, 153, 131, 132,
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, -1, -1,
153, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, -1, -1, 153, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, -1, -1, 153, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, -1, -1, 153,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, 151, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, 151, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, 151, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, 151, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, 151, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, 151, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, 151, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, 151, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, 151, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, 151, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, 151, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, 151, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, 151, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, 151, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, 151, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, 151, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, 151, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, 151, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, 151, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, 151, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,

Christophe Geuzaine
committed
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149, -1, 151, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, -1,
-1, -1, -1, 149, -1, 151, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
-1, -1, -1, -1, 149, -1, 151, 131, 132, 133,

Christophe Geuzaine
committed
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, -1, -1, -1, -1, 149, -1, 151, 131, 132,

Christophe Geuzaine
committed
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, -1, -1, -1, -1, 149, -1, 151, 131,

Christophe Geuzaine
committed
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, -1, -1, -1, -1, 149, -1, 151,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, -1, -1, -1, -1, 149, -1,
151, 131, 132, 133, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, -1, -1, -1, -1, 149,
-1, 151, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 143, 144, -1, -1, -1, -1,
149, -1, 151, 131, 132, 133, 134, 135, 136, 137,
138, 139, 140, 141, 142, 143, 144, -1, -1, -1,
-1, 149, -1, 151, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, -1, -1,
-1, -1, 149
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */
static const yytype_uint8 yystos[] =
{
0, 1, 161, 162, 6, 0, 4, 12, 13, 35,
40, 41, 43, 44, 45, 47, 48, 49, 50, 51,
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
52, 53, 54, 55, 56, 57, 59, 60, 61, 62,
63, 64, 65, 66, 67, 68, 70, 71, 72, 73,
74, 75, 76, 77, 79, 80, 81, 82, 83, 84,
87, 88, 92, 97, 98, 99, 100, 103, 105, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 123,
124, 125, 126, 163, 165, 166, 184, 193, 198, 201,
202, 203, 204, 205, 206, 207, 227, 228, 229, 230,
231, 3, 4, 5, 7, 9, 10, 11, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 36,
37, 38, 39, 42, 111, 117, 118, 119, 120, 121,
122, 127, 128, 129, 130, 140, 141, 145, 147, 148,
150, 152, 154, 155, 157, 182, 183, 232, 233, 245,
13, 54, 150, 6, 157, 6, 6, 6, 6, 152,
150, 157, 150, 150, 78, 150, 157, 150, 150, 78,
157, 150, 150, 58, 54, 54, 6, 54, 54, 51,
54, 56, 56, 48, 51, 54, 56, 51, 54, 56,
51, 54, 150, 51, 157, 140, 141, 150, 157, 234,
235, 234, 157, 48, 51, 54, 157, 234, 4, 48,
52, 62, 54, 54, 51, 4, 111, 157, 4, 6,
48, 51, 4, 4, 4, 5, 48, 51, 54, 56,
141, 157, 198, 207, 232, 237, 238, 239, 4, 150,
150, 150, 4, 157, 241, 4, 150, 150, 6, 152,
4, 4, 5, 157, 5, 157, 150, 150, 150, 150,
4, 152, 154, 159, 183, 157, 5, 245, 150, 152,
150, 152, 150, 152, 150, 152, 150, 152, 150, 152,

Christophe Geuzaine
committed
150, 152, 150, 152, 150, 152, 150, 152, 150, 152,
Emilie Marchandise
committed
150, 152, 150, 152, 150, 152, 150, 152, 150, 152,
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
150, 152, 150, 152, 150, 152, 150, 152, 150, 152,
150, 150, 150, 150, 7, 150, 150, 150, 4, 232,
232, 232, 232, 153, 157, 232, 4, 103, 104, 4,
4, 198, 199, 200, 232, 6, 6, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, 149, 6, 6, 232, 5, 232, 186, 232, 141,
232, 239, 240, 232, 232, 150, 232, 240, 232, 232,
150, 240, 232, 232, 237, 150, 157, 150, 150, 238,
238, 238, 150, 194, 195, 196, 197, 150, 150, 150,
237, 232, 4, 237, 234, 234, 234, 232, 232, 140,
141, 157, 157, 234, 157, 157, 157, 140, 141, 150,
200, 234, 157, 150, 157, 150, 150, 150, 238, 237,
150, 4, 6, 152, 152, 200, 6, 157, 157, 152,
152, 152, 5, 157, 5, 5, 5, 157, 232, 239,
158, 240, 8, 142, 6, 6, 232, 232, 232, 154,
232, 157, 106, 232, 232, 232, 6, 6, 200, 6,
200, 4, 244, 245, 244, 244, 244, 152, 232, 4,
157, 167, 6, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 244, 244, 244, 244, 232,
244, 244, 244, 152, 151, 7, 129, 130, 240, 153,
7, 182, 183, 154, 7, 152, 158, 48, 51, 54,
56, 193, 6, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232, 6, 151,
156, 156, 153, 156, 185, 151, 142, 156, 158, 151,
151, 232, 151, 158, 151, 151, 232, 158, 151, 151,
7, 232, 232, 232, 232, 7, 7, 225, 225, 232,
150, 150, 150, 150, 232, 232, 232, 7, 157, 151,
6, 156, 156, 156, 234, 234, 199, 199, 156, 232,
232, 232, 232, 211, 156, 200, 232, 232, 232, 232,
232, 7, 226, 7, 232, 6, 232, 232, 158, 240,
240, 232, 232, 153, 157, 232, 232, 240, 158, 232,
157, 232, 239, 151, 151, 151, 103, 156, 200, 157,
8, 151, 153, 158, 158, 152, 154, 151, 151, 151,
151, 232, 153, 183, 232, 4, 93, 94, 95, 96,
158, 170, 174, 177, 179, 180, 151, 153, 151, 153,
151, 153, 151, 153, 151, 153, 151, 153, 151, 153,
151, 153, 151, 153, 151, 153, 151, 153, 156, 156,
151, 153, 151, 153, 151, 153, 151, 153, 151, 153,
151, 153, 156, 156, 156, 156, 156, 156, 151, 156,
156, 151, 151, 6, 156, 151, 156, 237, 237, 237,
158, 7, 154, 182, 183, 245, 232, 6, 4, 4,
157, 242, 153, 157, 157, 157, 157, 8, 6, 137,
164, 240, 232, 6, 4, 7, 232, 239, 106, 7,
7, 151, 7, 106, 7, 7, 151, 106, 7, 7,
232, 151, 158, 151, 151, 232, 237, 4, 224, 6,
151, 190, 232, 245, 190, 190, 190, 151, 151, 151,
237, 240, 154, 234, 232, 232, 158, 158, 232, 156,
156, 156, 69, 79, 85, 86, 89, 90, 221, 222,
234, 158, 208, 151, 158, 151, 151, 151, 232, 6,
232, 151, 153, 153, 158, 158, 153, 153, 240, 153,
158, 158, 8, 240, 7, 7, 7, 154, 232, 158,
232, 232, 7, 154, 232, 4, 7, 7, 7, 7,
153, 154, 183, 244, 158, 171, 150, 150, 157, 181,
6, 232, 232, 232, 232, 232, 232, 232, 232, 240,
244, 232, 244, 6, 6, 6, 153, 4, 103, 104,
232, 6, 6, 6, 7, 152, 241, 243, 6, 240,
240, 240, 240, 232, 137, 244, 151, 156, 7, 234,
54, 237, 237, 7, 237, 54, 56, 237, 237, 7,
56, 237, 237, 6, 7, 7, 7, 7, 69, 223,
6, 7, 151, 151, 151, 151, 7, 7, 7, 6,
158, 4, 156, 156, 156, 158, 234, 234, 234, 4,
6, 157, 150, 6, 91, 6, 91, 158, 222, 156,
221, 7, 6, 7, 7, 7, 6, 157, 6, 6,
6, 54, 6, 6, 158, 232, 158, 237, 237, 237,
4, 156, 8, 8, 151, 4, 4, 153, 157, 157,
157, 157, 6, 4, 6, 150, 232, 232, 236, 237,
157, 151, 153, 151, 153, 151, 153, 151, 153, 151,
151, 151, 151, 182, 7, 182, 183, 154, 7, 6,
241, 232, 156, 158, 158, 158, 158, 158, 6, 6,
164, 232, 157, 232, 6, 157, 62, 192, 192, 237,
6, 157, 157, 6, 6, 237, 157, 6, 6, 5,
237, 237, 237, 4, 6, 237, 7, 7, 7, 7,
237, 237, 237, 7, 6, 7, 232, 232, 232, 157,
156, 158, 156, 158, 156, 158, 152, 232, 237, 232,
6, 6, 232, 234, 158, 5, 157, 237, 157, 157,
157, 237, 240, 157, 153, 6, 6, 102, 232, 232,
232, 6, 7, 154, 237, 237, 237, 237, 183, 168,
232, 156, 156, 156, 158, 169, 232, 237, 245, 232,
6, 4, 242, 6, 153, 241, 6, 6, 6, 6,
244, 156, 232, 232, 234, 6, 6, 6, 232, 232,
6, 232, 5, 6, 6, 106, 191, 232, 6, 237,
237, 237, 237, 6, 4, 6, 6, 232, 232, 245,
158, 151, 156, 158, 199, 234, 6, 212, 234, 6,
213, 234, 6, 214, 232, 158, 156, 151, 158, 156,
6, 141, 234, 6, 236, 234, 234, 6, 158, 232,
237, 156, 158, 8, 158, 151, 157, 232, 245, 4,
156, 156, 156, 156, 151, 156, 232, 232, 237, 157,
156, 158, 6, 6, 6, 7, 6, 154, 6, 232,
187, 158, 158, 158, 158, 5, 52, 6, 6, 6,
6, 6, 157, 157, 6, 6, 157, 232, 158, 156,
157, 156, 157, 156, 157, 153, 6, 237, 7, 157,
232, 156, 158, 156, 156, 6, 158, 101, 232, 232,
240, 6, 6, 237, 237, 237, 237, 172, 232, 156,
156, 236, 232, 6, 241, 104, 156, 188, 6, 6,
6, 6, 6, 157, 236, 240, 199, 156, 158, 232,
234, 221, 232, 234, 221, 232, 234, 221, 6, 156,
158, 237, 200, 158, 234, 6, 240, 234, 232, 158,
158, 158, 158, 158, 158, 158, 157, 232, 232, 158,
6, 232, 156, 158, 189, 232, 158, 158, 158, 232,
158, 156, 158, 158, 156, 158, 158, 156, 158, 237,
6, 69, 158, 209, 157, 156, 158, 156, 6, 6,
6, 6, 6, 6, 169, 151, 156, 6, 157, 156,
4, 158, 6, 6, 158, 6, 215, 232, 6, 6,
216, 232, 6, 6, 217, 232, 6, 158, 232, 221,
200, 240, 6, 234, 240, 158, 175, 232, 236, 232,
5, 237, 157, 158, 157, 158, 157, 158, 6, 6,
158, 158, 210, 158, 156, 158, 6, 157, 151, 158,
158, 221, 6, 218, 221, 6, 219, 221, 6, 220,
221, 6, 240, 6, 173, 244, 178, 157, 6, 158,
157, 158, 157, 158, 157, 158, 158, 156, 158, 157,
236, 6, 221, 6, 221, 6, 221, 6, 244, 6,
176, 244, 158, 158, 158, 158, 156, 158, 6, 6,
6, 6, 244, 6
#define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY (-2)
#define YYEOF 0
#define YYACCEPT goto yyacceptlab
#define YYABORT goto yyabortlab
#define YYERROR goto yyerrorlab
/* Like YYERROR except do call yyerror. This remains here temporarily
to ease the transition to the new meaning of YYERROR, for GCC.
Once GCC version 2 has supplanted version 1, this can go. However,
YYFAIL appears to be in use. Nevertheless, it is formally deprecated
in Bison 2.4.2's NEWS entry, where a plan to phase it out is
discussed. */
#define YYFAIL goto yyerrlab
#if defined YYFAIL
/* This is here to suppress warnings from the GCC cpp's
-Wunused-macros. Normally we don't worry about that warning, but
some users do, and we want to make it easy for users to remove
YYFAIL uses, which will produce warnings from Bison 2.5. */
#endif
#define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(Token, Value) \
do \
if (yychar == YYEMPTY && yylen == 1) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (1); \
goto yybackup; \
} \
else \
{ \
#define YYTERROR 1
#define YYERRCODE 256
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
If N is 0, then set CURRENT to the empty location which ends
the previous symbol: RHS[0] (always defined). */
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N) \
do \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
/* This macro is provided for backward compatibility. */
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif
/* YYLEX -- calling `yylex' with the right arguments. */
/* Enable debugging if requested. */
#if YYDEBUG
# ifndef YYFPRINTF
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
# define YYFPRINTF fprintf
# endif
# define YYDPRINTF(Args) \
do { \
if (yydebug) \
YYFPRINTF Args; \
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (YYID (0))
/*--------------------------------.
| Print this symbol on YYOUTPUT. |
`--------------------------------*/
/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
#else
static void
yy_symbol_value_print (yyoutput, yytype, yyvaluep)
FILE *yyoutput;
int yytype;
YYSTYPE const * const yyvaluep;
{
if (!yyvaluep)
return;
# ifdef YYPRINT
if (yytype < YYNTOKENS)
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
# else
YYUSE (yyoutput);
# endif
switch (yytype)
{
default:
}
}
/*--------------------------------.
| Print this symbol on YYOUTPUT. |
`--------------------------------*/
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
#else
static void
yy_symbol_print (yyoutput, yytype, yyvaluep)
FILE *yyoutput;
int yytype;
YYSTYPE const * const yyvaluep;
#endif
{
if (yytype < YYNTOKENS)
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
else
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
yy_symbol_value_print (yyoutput, yytype, yyvaluep);
YYFPRINTF (yyoutput, ")");
}
/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included). |
`------------------------------------------------------------------*/
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static void

Christophe Geuzaine
committed
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)

Christophe Geuzaine
committed
yy_stack_print (yybottom, yytop)
yytype_int16 *yybottom;
yytype_int16 *yytop;

Christophe Geuzaine
committed
for (; yybottom <= yytop; yybottom++)
{
int yybot = *yybottom;
YYFPRINTF (stderr, " %d", yybot);
}
# define YY_STACK_PRINT(Bottom, Top) \
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
/*------------------------------------------------.
| Report that the YYRULE is going to be reduced. |
`------------------------------------------------*/
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static void
yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
#else
static void
yy_reduce_print (yyvsp, yyrule)
YYSTYPE *yyvsp;
int yyrule;
{
int yynrhs = yyr2[yyrule];
int yyi;
unsigned long int yylno = yyrline[yyrule];
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
/* The symbols being reduced. */
for (yyi = 0; yyi < yynrhs; yyi++)
{

Christophe Geuzaine
committed
YYFPRINTF (stderr, " $%d = ", yyi + 1);
&(yyvsp[(yyi + 1) - (yynrhs)])
);

Christophe Geuzaine
committed
YYFPRINTF (stderr, "\n");
# define YY_REDUCE_PRINT(Rule) \
do { \
if (yydebug) \
/* Nonzero means print parse trace. It is left uninitialized so that
multiple parsers can coexist. */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
# define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
if the built-in stack extension method is used).
Do not make this value too large; the results are undefined if
YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
evaluated with infinite-precision integer arithmetic. */
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
#if YYERROR_VERBOSE
# ifndef yystrlen
# if defined __GLIBC__ && defined _STRING_H
# define yystrlen strlen
# else
/* Return the length of YYSTR. */
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static YYSIZE_T
yystrlen (const char *yystr)
#else
static YYSIZE_T
yystrlen (yystr)
const char *yystr;
#endif
{
YYSIZE_T yylen;
for (yylen = 0; yystr[yylen]; yylen++)
continue;
return yylen;
}
# endif
# endif
# ifndef yystpcpy
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
# define yystpcpy stpcpy
# else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
YYDEST. */
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static char *
yystpcpy (char *yydest, const char *yysrc)
#else
static char *
yystpcpy (yydest, yysrc)
char *yydest;
const char *yysrc;
#endif
while ((*yyd++ = *yys++) != '\0')
continue;
return yyd - 1;
# endif
# endif
# ifndef yytnamerr
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
quotes and backslashes, so that it's suitable for yyerror. The
heuristic is that double-quoting is unnecessary unless the string
contains an apostrophe, a comma, or backslash (other than
backslash-backslash). YYSTR is taken from yytname. If YYRES is
null, do not copy; instead, return the length of what the result
would have been. */
static YYSIZE_T
yytnamerr (char *yyres, const char *yystr)
{
if (*yystr == '"')
{
YYSIZE_T yyn = 0;
char const *yyp = yystr;
for (;;)
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
switch (*++yyp)
{
case '\'':
case ',':
goto do_not_strip_quotes;
case '\\':
if (*++yyp != '\\')
goto do_not_strip_quotes;
/* Fall through. */
default:
if (yyres)
yyres[yyn] = *yyp;
yyn++;
break;
case '"':
if (yyres)
yyres[yyn] = '\0';
return yyn;
}
/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
about the unexpected token YYTOKEN for the state stack whose top is
YYSSP.
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
not large enough to hold the message. In that case, also set
*YYMSG_ALLOC to the required number of bytes. Return 2 if the
required number of bytes is too large to store. */
static int
yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
yytype_int16 *yyssp, int yytoken)
{
YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]);
YYSIZE_T yysize = yysize0;
YYSIZE_T yysize1;
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
/* Internationalized format string. */
const char *yyformat = 0;
/* Arguments of yyformat. */
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
/* Number of reported tokens (one for the "unexpected", one per
"expected"). */
int yycount = 0;
/* There are many possibilities here to consider:
- Assume YYFAIL is not used. It's too flawed to consider. See
<http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
for details. YYERROR is fine as it does not invoke this
function.
- If this state is a consistent state with a default action, then
the only way this function was invoked is if the default action
is an error action. In that case, don't check for expected
tokens because there are none.
- The only way there can be no lookahead present (in yychar) is if
this state is a consistent state with a default action. Thus,
detecting the absence of a lookahead is sufficient to determine
that there is no unexpected or expected token to report. In that
case, just report a simple "syntax error".
- Don't assume there isn't a lookahead just because this state is a
consistent state with a default action. There might have been a
previous inconsistent state, consistent state with a non-default
action, or user semantic action that manipulated yychar.
- Of course, the expected token list depends on states to have
correct lookahead information, and it depends on the parser not
to perform extra reductions after fetching a lookahead from the
scanner and before detecting a syntax error. Thus, state merging
(from LALR or IELR) and default reductions corrupt the expected
token list. However, the list is correct for canonical LR with
one exception: it will still contain any token that will not be
accepted due to an error action in a later state.
*/
if (yytoken != YYEMPTY)
{
int yyn = yypact[*yyssp];
yyarg[yycount++] = yytname[yytoken];
if (!yypact_value_is_default (yyn))
{
/* Start YYX at -YYN if negative to avoid negative indexes in
YYCHECK. In other words, skip the first -YYN actions for
this state because they are default actions. */
int yyxbegin = yyn < 0 ? -yyn : 0;
/* Stay within bounds of both yycheck and yytname. */
int yychecklim = YYLAST - yyn + 1;
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
int yyx;
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
&& !yytable_value_is_error (yytable[yyx + yyn]))
{
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
{
yycount = 1;
yysize = yysize0;
break;
}
yyarg[yycount++] = yytname[yyx];
yysize1 = yysize + yytnamerr (0, yytname[yyx]);
if (! (yysize <= yysize1
&& yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
}
}
}
switch (yycount)
{
# define YYCASE_(N, S) \
case N: \
yyformat = S; \
break
YYCASE_(0, YY_("syntax error"));
YYCASE_(1, YY_("syntax error, unexpected %s"));
YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
# undef YYCASE_
}
yysize1 = yysize + yystrlen (yyformat);
if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
if (*yymsg_alloc < yysize)
{
*yymsg_alloc = 2 * yysize;
if (! (yysize <= *yymsg_alloc
&& *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
*yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
return 1;
/* Avoid sprintf, as that infringes on the user's name space.
Don't have undefined behavior even if the translation
produced a string with the wrong number of "%s"s. */
{
char *yyp = *yymsg;
int yyi = 0;
while ((*yyp = *yyformat) != '\0')
if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
{
yyp += yytnamerr (yyp, yyarg[yyi++]);
yyformat += 2;
}
else
{
yyp++;
yyformat++;
}
}
return 0;
}
#endif /* YYERROR_VERBOSE */
/*-----------------------------------------------.
| Release the memory associated to this symbol. |
`-----------------------------------------------*/
/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
#else
static void
yydestruct (yymsg, yytype, yyvaluep)
const char *yymsg;
int yytype;
YYSTYPE *yyvaluep;
{
YYUSE (yyvaluep);
if (!yymsg)
yymsg = "Deleting";
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
switch (yytype)
{
default:
#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
#else
int yyparse ();

Christophe Geuzaine
committed
/* The lookahead symbol. */

Christophe Geuzaine
committed
/* The semantic value of the lookahead symbol. */
/* Number of syntax errors so far. */
int yynerrs;
/*----------.
| yyparse. |
`----------*/
#ifdef YYPARSE_PARAM
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
int
yyparse (void *YYPARSE_PARAM)
#else /* ! YYPARSE_PARAM */
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
int
yyparse (void)
#else
int
yyparse ()

Christophe Geuzaine
committed
int yystate;
/* Number of tokens to shift before error messages enabled. */
int yyerrstatus;

Christophe Geuzaine
committed
/* The stacks and their tools:
`yyss': related to states.
`yyvs': related to semantic values.

Christophe Geuzaine
committed
Refer to the stacks thru separate pointers, to allow yyoverflow
to reallocate them elsewhere. */

Christophe Geuzaine
committed
/* The state stack. */
yytype_int16 yyssa[YYINITDEPTH];
yytype_int16 *yyss;
yytype_int16 *yyssp;

Christophe Geuzaine
committed
/* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH];
YYSTYPE *yyvs;
YYSTYPE *yyvsp;

Christophe Geuzaine
committed
YYSIZE_T yystacksize;

Christophe Geuzaine
committed
int yyn;
int yyresult;
/* Lookahead token as an internal (translated) token number. */
int yytoken;
/* The variables used to return semantic value and location from the
action routines. */
YYSTYPE yyval;

Christophe Geuzaine
committed
#if YYERROR_VERBOSE
/* Buffer for error messages, and its allocated size. */
char yymsgbuf[128];
char *yymsg = yymsgbuf;
YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
/* The number of symbols on the RHS of the reduced rule.
Keep to zero when no symbol should be popped. */
int yylen = 0;

Christophe Geuzaine
committed
yytoken = 0;
yyss = yyssa;
yyvs = yyvsa;
yystacksize = YYINITDEPTH;
YYDPRINTF ((stderr, "Starting parse\n"));
yystate = 0;
yyerrstatus = 0;
yynerrs = 0;

Christophe Geuzaine
committed
yychar = YYEMPTY; /* Cause a token to be read. */
/* Initialize stack pointers.
Waste one element of value and location stack
so that they stay on the same level as the state stack.
The wasted elements are never initialized. */
yyvsp = yyvs;
/*------------------------------------------------------------.
| yynewstate -- Push a new state, which is found in yystate. |
`------------------------------------------------------------*/
yynewstate:
/* In all cases, when you get here, the value and location stacks
have just been pushed. So pushing a state here evens the stacks. */
yyssp++;
/* Get the current used size of the three stacks, in elements. */
#ifdef yyoverflow
/* Give user a chance to reallocate the stack. Use copies of
these so that the &'s don't force the real ones into
memory. */
YYSTYPE *yyvs1 = yyvs;
yytype_int16 *yyss1 = yyss;
/* Each stack pointer address is followed by the size of the
data in use in that stack, in bytes. This used to be a
conditional around just the two extra args, but that might
be undefined if yyoverflow is a macro. */
yyoverflow (YY_("memory exhausted"),
&yyss1, yysize * sizeof (*yyssp),
&yyvs1, yysize * sizeof (*yyvsp),
&yystacksize);
yyss = yyss1;
yyvs = yyvs1;
#else /* no yyoverflow */
/* Extend the stack our own way. */
goto yyexhaustedlab;
yystacksize *= 2;
yystacksize = YYMAXDEPTH;
yytype_int16 *yyss1 = yyss;
union yyalloc *yyptr =
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
if (! yyptr)
goto yyexhaustedlab;

Christophe Geuzaine
committed
YYSTACK_RELOCATE (yyss_alloc, yyss);
YYSTACK_RELOCATE (yyvs_alloc, yyvs);
if (yyss1 != yyssa)
YYSTACK_FREE (yyss1);
#endif /* no yyoverflow */
(unsigned long int) yystacksize));
}

Christophe Geuzaine
committed
if (yystate == YYFINAL)
YYACCEPT;
goto yybackup;
/*-----------.
| yybackup. |
`-----------*/
yybackup:

Christophe Geuzaine
committed
lookahead token if we need one and don't already have one. */

Christophe Geuzaine
committed
/* First try to decide what to do without reference to lookahead token. */
yyn = yypact[yystate];
goto yydefault;

Christophe Geuzaine
committed
/* Not known => get a lookahead token if don't already have one. */

Christophe Geuzaine
committed
/* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
if (yychar == YYEMPTY)
{
yychar = YYLEX;
}
{
yychar = yytoken = YYEOF;
YYDPRINTF ((stderr, "Now at end of input.\n"));
}
else
{
yytoken = YYTRANSLATE (yychar);
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
}
/* If the proper action on seeing token YYTOKEN is to reduce or to
detect an error, take that action. */
yyn += yytoken;
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
goto yydefault;
yyn = yytable[yyn];
{
if (yytable_value_is_error (yyn))
goto yyerrlab;
yyn = -yyn;
goto yyreduce;
}
/* Count tokens shifted since error; after three, turn off error
status. */
if (yyerrstatus)
yyerrstatus--;

Christophe Geuzaine
committed
/* Shift the lookahead token. */

Christophe Geuzaine
committed
/* Discard the shifted token. */
yychar = YYEMPTY;
*++yyvsp = yylval;
/*-----------------------------------------------------------.
| yydefault -- do the default action for the current state. |
`-----------------------------------------------------------*/
yydefault:
yyn = yydefact[yystate];
if (yyn == 0)
goto yyerrlab;
/*-----------------------------.
| yyreduce -- Do a reduction. |
`-----------------------------*/
yyreduce:
yylen = yyr2[yyn];
/* If YYLEN is nonzero, implement the default value of the action:
`$$ = $1'.
Otherwise, the following line sets YYVAL to garbage.
This behavior is undocumented and Bison
users should not rely upon it. Assigning to YYVAL
unconditionally makes the parser a bit smaller, and it avoids a
GCC warning that YYVAL may be used uninitialized. */
yyval = yyvsp[1-yylen];

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ List_Delete((yyvsp[(1) - (1)].l)); return 1; }

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ List_Delete((yyvsp[(1) - (1)].l)); return 1; }

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
break;
case 21:

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
(yyval.c) = (char*)"w";

Christophe Geuzaine
committed
(yyval.c) = (char*)"a";

Christophe Geuzaine
committed
Msg::Direct((yyvsp[(3) - (5)].c));

Christophe Geuzaine
committed
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(6) - (7)].c));
FILE *fp = fopen(tmp.c_str(), (yyvsp[(5) - (7)].c));
yymsg(0, "Unable to open file '%s'", tmp.c_str());
fprintf(fp, "%s\n", (yyvsp[(3) - (7)].c));
fclose(fp);

Christophe Geuzaine
committed
int i = PrintListOfDouble((yyvsp[(3) - (7)].c), (yyvsp[(5) - (7)].l), tmpstring);
yymsg(0, "Too few arguments in Printf");
yymsg(0, "%d extra argument%s in Printf", i, (i > 1) ? "s" : "");
Msg::Direct(tmpstring);
Free((yyvsp[(3) - (7)].c));
List_Delete((yyvsp[(5) - (7)].l));

Christophe Geuzaine
committed
int i = PrintListOfDouble((yyvsp[(3) - (9)].c), (yyvsp[(5) - (9)].l), tmpstring);
yymsg(0, "Too few arguments in Printf");
yymsg(0, "%d extra argument%s in Printf", i, (i > 1) ? "s" : "");
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(8) - (9)].c));
FILE *fp = fopen(tmp.c_str(), (yyvsp[(7) - (9)].c));
if(!fp){
yymsg(0, "Unable to open file '%s'", tmp.c_str());
}
else{
fprintf(fp, "%s\n", tmpstring);
fclose(fp);
}
Free((yyvsp[(3) - (9)].c));
Free((yyvsp[(8) - (9)].c));
List_Delete((yyvsp[(5) - (9)].l));

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(1) - (6)].c), "View") && ViewData->finalize()){
ViewData->setName((yyvsp[(2) - (6)].c));
ViewData->setFileName(gmsh_yyname);
ViewData->setFileIndex(gmsh_yyviewindex++);
new PView(ViewData);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
int index = (int)(yyvsp[(4) - (6)].d);
if(index >= 0 && index < (int)PView::list.size())
new PView(PView::list[index], false);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
int index = (int)(yyvsp[(4) - (6)].d);
if(index >= 0 && index < (int)PView::list.size())
new PView(PView::list[index], true);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ViewData = new PViewDataList();

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ if(ViewValueList) ViewValueList->push_back((yyvsp[(1) - (1)].d)); }

Christophe Geuzaine
committed
{ if(ViewValueList) ViewValueList->push_back((yyvsp[(3) - (3)].d)); }
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
if(!strncmp((yyvsp[(1) - (1)].c), "SP", 2)){
ViewValueList = &ViewData->SP; ViewNumList = &ViewData->NbSP;

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VP", 2)){
ViewValueList = &ViewData->VP; ViewNumList = &ViewData->NbVP;

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TP", 2)){
ViewValueList = &ViewData->TP; ViewNumList = &ViewData->NbTP;

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SL", 2)){
ViewValueList = &ViewData->SL; ViewNumList = &ViewData->NbSL;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VL", 2)){
ViewValueList = &ViewData->VL; ViewNumList = &ViewData->NbVL;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TL", 2)){
ViewValueList = &ViewData->TL; ViewNumList = &ViewData->NbTL;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "ST", 2)){
ViewValueList = &ViewData->ST; ViewNumList = &ViewData->NbST;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VT", 2)){
ViewValueList = &ViewData->VT; ViewNumList = &ViewData->NbVT;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TT", 2)){
ViewValueList = &ViewData->TT; ViewNumList = &ViewData->NbTT;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SQ", 2)){
ViewValueList = &ViewData->SQ; ViewNumList = &ViewData->NbSQ;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VQ", 2)){
ViewValueList = &ViewData->VQ; ViewNumList = &ViewData->NbVQ;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TQ", 2)){
ViewValueList = &ViewData->TQ; ViewNumList = &ViewData->NbTQ;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SS", 2)){
ViewValueList = &ViewData->SS; ViewNumList = &ViewData->NbSS;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VS", 2)){
ViewValueList = &ViewData->VS; ViewNumList = &ViewData->NbVS;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TS", 2)){
ViewValueList = &ViewData->TS; ViewNumList = &ViewData->NbTS;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SH", 2)){
ViewValueList = &ViewData->SH; ViewNumList = &ViewData->NbSH;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VH", 2)){
ViewValueList = &ViewData->VH; ViewNumList = &ViewData->NbVH;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TH", 2)){
ViewValueList = &ViewData->TH; ViewNumList = &ViewData->NbTH;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SI", 2)){
ViewValueList = &ViewData->SI; ViewNumList = &ViewData->NbSI;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VI", 2)){
ViewValueList = &ViewData->VI; ViewNumList = &ViewData->NbVI;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TI", 2)){
ViewValueList = &ViewData->TI; ViewNumList = &ViewData->NbTI;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "SY", 2)){
ViewValueList = &ViewData->SY; ViewNumList = &ViewData->NbSY;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "VY", 2)){
ViewValueList = &ViewData->VY; ViewNumList = &ViewData->NbVY;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR);

Christophe Geuzaine
committed
else if(!strncmp((yyvsp[(1) - (1)].c), "TY", 2)){
ViewValueList = &ViewData->TY; ViewNumList = &ViewData->NbTY;

Jean-François Remacle
committed
if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR);
yymsg(0, "Unknown element type '%s'", (yyvsp[(1) - (1)].c));
ViewValueList = 0; ViewNumList = 0;

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
for(int i = 0; i < 3; i++)
for(unsigned int j = 0; j < ViewCoord.size() / 3; j++)
ViewValueList->push_back(ViewCoord[3 * j + i]);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c)) + 1; i++) ViewData->T2C.push_back((yyvsp[(1) - (1)].c)[i]);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c)) + 1; i++) ViewData->T2C.push_back((yyvsp[(3) - (3)].c)[i]);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ViewData->T2D.push_back((yyvsp[(3) - (8)].d));
ViewData->T2D.push_back((yyvsp[(5) - (8)].d));
ViewData->T2D.push_back((yyvsp[(7) - (8)].d));
ViewData->T2D.push_back(ViewData->T2C.size());

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c)) + 1; i++) ViewData->T3C.push_back((yyvsp[(1) - (1)].c)[i]);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c)) + 1; i++) ViewData->T3C.push_back((yyvsp[(3) - (3)].c)[i]);

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ViewData->T3D.push_back((yyvsp[(3) - (10)].d)); ViewData->T3D.push_back((yyvsp[(5) - (10)].d));
ViewData->T3D.push_back((yyvsp[(7) - (10)].d)); ViewData->T3D.push_back((yyvsp[(9) - (10)].d));
ViewData->T3D.push_back(ViewData->T3C.size());

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
(ViewData->NbSL || ViewData->NbVL) ? TYPE_LIN :
(ViewData->NbST || ViewData->NbVT) ? TYPE_TRI :
(ViewData->NbSQ || ViewData->NbVQ) ? TYPE_QUA :
(ViewData->NbSS || ViewData->NbVS) ? TYPE_TET :
(ViewData->NbSY || ViewData->NbVY) ? TYPE_PYR :
(ViewData->NbSI || ViewData->NbVI) ? TYPE_PRI :
(ViewData->NbSH || ViewData->NbVH) ? TYPE_HEX :
0;
ViewData->setInterpolationMatrices(type, ListOfListOfDouble2Matrix((yyvsp[(3) - (8)].l)),
ListOfListOfDouble2Matrix((yyvsp[(6) - (8)].l)));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
(ViewData->NbSL || ViewData->NbVL) ? TYPE_LIN :
(ViewData->NbST || ViewData->NbVT) ? TYPE_TRI :
(ViewData->NbSQ || ViewData->NbVQ) ? TYPE_QUA :
(ViewData->NbSS || ViewData->NbVS) ? TYPE_TET :
(ViewData->NbSH || ViewData->NbVH) ? TYPE_HEX :
0;
ViewData->setInterpolationMatrices(type, ListOfListOfDouble2Matrix((yyvsp[(3) - (14)].l)),
ListOfListOfDouble2Matrix((yyvsp[(6) - (14)].l)),
ListOfListOfDouble2Matrix((yyvsp[(9) - (14)].l)),
ListOfListOfDouble2Matrix((yyvsp[(12) - (14)].l)));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ViewValueList = &ViewData->Time;

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
if(!gmsh_yysymbols.count((yyvsp[(1) - (4)].c))){
if(!(yyvsp[(2) - (4)].i))
gmsh_yysymbols[(yyvsp[(1) - (4)].c)].push_back((yyvsp[(3) - (4)].d));
else
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (4)].c));

Christophe Geuzaine
committed
if(gmsh_yysymbols[(yyvsp[(1) - (4)].c)].empty()){
if((yyvsp[(2) - (4)].i)) yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (4)].c));
gmsh_yysymbols[(yyvsp[(1) - (4)].c)].resize(1, 0.);
}
switch((yyvsp[(2) - (4)].i)){
case 0 : gmsh_yysymbols[(yyvsp[(1) - (4)].c)][0] = (yyvsp[(3) - (4)].d); break;
case 1 : gmsh_yysymbols[(yyvsp[(1) - (4)].c)][0] += (yyvsp[(3) - (4)].d); break;
case 2 : gmsh_yysymbols[(yyvsp[(1) - (4)].c)][0] -= (yyvsp[(3) - (4)].d); break;
case 3 : gmsh_yysymbols[(yyvsp[(1) - (4)].c)][0] *= (yyvsp[(3) - (4)].d); break;
case 4 :
if((yyvsp[(3) - (4)].d)) gmsh_yysymbols[(yyvsp[(1) - (4)].c)][0] /= (yyvsp[(3) - (4)].d);
else yymsg(0, "Division by zero in '%s /= %g'", (yyvsp[(1) - (4)].c), (yyvsp[(3) - (4)].d));
break;
}
Free((yyvsp[(1) - (4)].c));

Christophe Geuzaine
committed
int index = (int)(yyvsp[(3) - (7)].d);
if(!gmsh_yysymbols.count((yyvsp[(1) - (7)].c))){
if(!(yyvsp[(5) - (7)].i)){
gmsh_yysymbols[(yyvsp[(1) - (7)].c)].resize(index + 1, 0.);
gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] = (yyvsp[(6) - (7)].d);
}
else
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (7)].c));
if((int)gmsh_yysymbols[(yyvsp[(1) - (7)].c)].size() < index + 1)
gmsh_yysymbols[(yyvsp[(1) - (7)].c)].resize(index + 1, 0.);
switch((yyvsp[(5) - (7)].i)){
case 0 : gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] = (yyvsp[(6) - (7)].d); break;
case 1 : gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] += (yyvsp[(6) - (7)].d); break;
case 2 : gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] -= (yyvsp[(6) - (7)].d); break;
case 3 : gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] *= (yyvsp[(6) - (7)].d); break;
case 4 :
if((yyvsp[(6) - (7)].d)) gmsh_yysymbols[(yyvsp[(1) - (7)].c)][index] /= (yyvsp[(6) - (7)].d);
else yymsg(0, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (7)].c), index, (yyvsp[(6) - (7)].d));
break;
}
Free((yyvsp[(1) - (7)].c));

Christophe Geuzaine
committed
{
if(List_Nbr((yyvsp[(4) - (9)].l)) != List_Nbr((yyvsp[(8) - (9)].l))){
yymsg(0, "Incompatible array dimensions in affectation");
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
if(!gmsh_yysymbols.count((yyvsp[(1) - (9)].c))){
if(!(yyvsp[(7) - (9)].i)){
for(int i = 0; i < List_Nbr((yyvsp[(4) - (9)].l)); i++){
int index = (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i));
gmsh_yysymbols[(yyvsp[(1) - (9)].c)].resize(index + 1, 0.);
gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] = *(double*)List_Pointer((yyvsp[(8) - (9)].l), i);
}
}
else
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (9)].c));
}
else{
for(int i = 0; i < List_Nbr((yyvsp[(4) - (9)].l)); i++){
int index = (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i));
double d = *(double*)List_Pointer((yyvsp[(8) - (9)].l), i);
if((int)gmsh_yysymbols[(yyvsp[(1) - (9)].c)].size() < index + 1)
gmsh_yysymbols[(yyvsp[(1) - (9)].c)].resize(index + 1, 0.);
switch((yyvsp[(7) - (9)].i)){
case 0 : gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] = d; break;
case 1 : gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] += d; break;
case 2 : gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] -= d; break;
case 3 : gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] *= d; break;
case 4 :
if((yyvsp[(8) - (9)].l)) gmsh_yysymbols[(yyvsp[(1) - (9)].c)][index] /= d;
else yymsg(0, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (9)].c), index, d);
break;
}
}
}
Free((yyvsp[(1) - (9)].c));
List_Delete((yyvsp[(4) - (9)].l));
List_Delete((yyvsp[(8) - (9)].l));

Christophe Geuzaine
committed
if(gmsh_yysymbols.count((yyvsp[(1) - (6)].c)))
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].clear();
gmsh_yysymbols[(yyvsp[(1) - (6)].c)] = std::vector<double>();
for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++)
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].push_back(*(double*)List_Pointer((yyvsp[(5) - (6)].l), i));
Free((yyvsp[(1) - (6)].c));

Christophe Geuzaine
committed
for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++)
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].push_back(*(double*)List_Pointer((yyvsp[(5) - (6)].l), i));
Free((yyvsp[(1) - (6)].c));

Christophe Geuzaine
committed
{
// remove from the list
for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++)
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].erase(std::find(gmsh_yysymbols[(yyvsp[(1) - (6)].c)].begin(),
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].end(),
*(double*)List_Pointer((yyvsp[(5) - (6)].l), i)));
Free((yyvsp[(1) - (6)].c));
List_Delete((yyvsp[(5) - (6)].l));
if(!gmsh_yysymbols.count((yyvsp[(1) - (3)].c)))
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (3)].c));

Christophe Geuzaine
committed
else{
if(gmsh_yysymbols[(yyvsp[(1) - (3)].c)].empty())
yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (3)].c));
else
gmsh_yysymbols[(yyvsp[(1) - (3)].c)][0] += (yyvsp[(2) - (3)].i);
}

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(1) - (6)].c)))
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (6)].c));
int index = (int)(yyvsp[(3) - (6)].d);
if((int)gmsh_yysymbols[(yyvsp[(1) - (6)].c)].size() < index + 1)
gmsh_yysymbols[(yyvsp[(1) - (6)].c)].resize(index + 1, 0.);
gmsh_yysymbols[(yyvsp[(1) - (6)].c)][index] += (yyvsp[(5) - (6)].i);

Christophe Geuzaine
committed
gmsh_yystringsymbols[(yyvsp[(1) - (4)].c)] = std::string((yyvsp[(3) - (4)].c));
Free((yyvsp[(1) - (4)].c));
Free((yyvsp[(3) - (4)].c));

Christophe Geuzaine
committed
std::string tmp((yyvsp[(5) - (6)].c));
StringOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (6)].c), 0, (yyvsp[(3) - (6)].c), tmp);
Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(3) - (6)].c)); Free((yyvsp[(5) - (6)].c))

Christophe Geuzaine
committed
std::string tmp((yyvsp[(8) - (9)].c));
StringOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c), tmp);
Free((yyvsp[(1) - (9)].c)); Free((yyvsp[(6) - (9)].c)); Free((yyvsp[(8) - (9)].c))

Christophe Geuzaine
committed
{
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (6)].c), 0, (yyvsp[(3) - (6)].c), d)){
switch((yyvsp[(4) - (6)].i)){
case 0 : d = (yyvsp[(5) - (6)].d); break;
case 1 : d += (yyvsp[(5) - (6)].d); break;
case 2 : d -= (yyvsp[(5) - (6)].d); break;
case 3 : d *= (yyvsp[(5) - (6)].d); break;
case 4 :
if((yyvsp[(5) - (6)].d)) d /= (yyvsp[(5) - (6)].d);
else yymsg(0, "Division by zero in '%s.%s /= %g'", (yyvsp[(1) - (6)].c), (yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d));
break;
}
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (6)].c), 0, (yyvsp[(3) - (6)].c), d);

Christophe Geuzaine
committed
{
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c), d)){
switch((yyvsp[(7) - (9)].i)){
case 0 : d = (yyvsp[(8) - (9)].d); break;
case 1 : d += (yyvsp[(8) - (9)].d); break;
case 2 : d -= (yyvsp[(8) - (9)].d); break;
case 3 : d *= (yyvsp[(8) - (9)].d); break;
case 4 :
if((yyvsp[(8) - (9)].d)) d /= (yyvsp[(8) - (9)].d);
else yymsg(0, "Division by zero in '%s[%d].%s /= %g'", (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].d));
break;
}
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c), d);

Christophe Geuzaine
committed
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (5)].c), 0, (yyvsp[(3) - (5)].c), d)){
d += (yyvsp[(4) - (5)].i);
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (5)].c), 0, (yyvsp[(3) - (5)].c), d);

Christophe Geuzaine
committed
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (8)].c), (int)(yyvsp[(3) - (8)].d), (yyvsp[(6) - (8)].c), d)){
d += (yyvsp[(7) - (8)].i);
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (8)].c), (int)(yyvsp[(3) - (8)].d), (yyvsp[(6) - (8)].c), d);

Christophe Geuzaine
committed
ColorOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (8)].c), 0, (yyvsp[(5) - (8)].c), (yyvsp[(7) - (8)].u));

Christophe Geuzaine
committed
ColorOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (11)].c), (int)(yyvsp[(3) - (11)].d), (yyvsp[(8) - (11)].c), (yyvsp[(10) - (11)].u));

Christophe Geuzaine
committed
GmshColorTable *ct = GetColorTable(0);
yymsg(0, "View[%d] does not exist", 0);
ct->size = List_Nbr((yyvsp[(5) - (6)].l));
if(ct->size > COLORTABLE_NBMAX_COLOR)
yymsg(0, "Too many (%d>%d) colors in View[%d].ColorTable",
ct->size, COLORTABLE_NBMAX_COLOR, 0);
else
for(int i = 0; i < ct->size; i++) List_Read((yyvsp[(5) - (6)].l), i, &ct->table[i]);
if(ct->size == 1){
ct->size = 2;
ct->table[1] = ct->table[0];
}
Free((yyvsp[(1) - (6)].c));
List_Delete((yyvsp[(5) - (6)].l));

Christophe Geuzaine
committed
GmshColorTable *ct = GetColorTable((int)(yyvsp[(3) - (9)].d));

Christophe Geuzaine
committed
if(!ct)
yymsg(0, "View[%d] does not exist", (int)(yyvsp[(3) - (9)].d));
ct->size = List_Nbr((yyvsp[(8) - (9)].l));
if(ct->size > COLORTABLE_NBMAX_COLOR)
yymsg(0, "Too many (%d>%d) colors in View[%d].ColorTable",
ct->size, COLORTABLE_NBMAX_COLOR, (int)(yyvsp[(3) - (9)].d));
else
for(int i = 0; i < ct->size; i++) List_Read((yyvsp[(8) - (9)].l), i, &ct->table[i]);
if(ct->size == 1){
ct->size = 2;
ct->table[1] = ct->table[0];
}
}
Free((yyvsp[(1) - (9)].c));
List_Delete((yyvsp[(8) - (9)].l));

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(1) - (5)].c),"Background"))
GModel::current()->getFields()->background_field = (int)(yyvsp[(4) - (5)].d);
yymsg(0, "Unknown command %s Field", (yyvsp[(1) - (5)].c));

Christophe Geuzaine
committed
if(!GModel::current()->getFields()->newField((int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].c)))
yymsg(0, "Cannot create field %i of type '%s'", (int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].c));

Christophe Geuzaine
committed
Field *field = GModel::current()->getFields()->get((int)(yyvsp[(3) - (9)].d));
if(field){
FieldOption *option = field->options[(yyvsp[(6) - (9)].c)];
if(option){
try { option->numericalValue((yyvsp[(8) - (9)].d)); }
catch(...){
yymsg(0, "Cannot assign a numerical value to option '%s' "
"in field %i of type '%s'", (yyvsp[(6) - (9)].c), (int)(yyvsp[(3) - (9)].d), field->getName());
}
}
else
yymsg(0, "Unknown option '%s' in field %i of type '%s'",
(yyvsp[(6) - (9)].c), (int)(yyvsp[(3) - (9)].d), field->getName());
yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (9)].d));

Christophe Geuzaine
committed
Field *field = GModel::current()->getFields()->get((int)(yyvsp[(3) - (9)].d));
if(field){
FieldOption *option = field->options[(yyvsp[(6) - (9)].c)];
if(option){
try { option->string() = (yyvsp[(8) - (9)].c); }
catch (...){
yymsg(0, "Cannot assign a string value to option '%s' "
"in field %i of type '%s'", (yyvsp[(6) - (9)].c), (int)(yyvsp[(3) - (9)].d), field->getName());
}
}
else
yymsg(0, "Unknown option '%s' in field %i of type '%s'",
(yyvsp[(6) - (9)].c), (int)(yyvsp[(3) - (9)].d), field->getName());
yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (9)].d));
Free((yyvsp[(6) - (9)].c));
Free((yyvsp[(8) - (9)].c));

Christophe Geuzaine
committed
Field *field = GModel::current()->getFields()->get((int)(yyvsp[(3) - (11)].d));
if(field){
FieldOption *option = field->options[(yyvsp[(6) - (11)].c)];
if(option){
std::list<int> &vl = option->list();
vl.clear();
for(int i = 0; i < List_Nbr((yyvsp[(9) - (11)].l)); i++){
double id;
List_Read((yyvsp[(9) - (11)].l), i, &id);
vl.push_back((int)id);
}
}
else
yymsg(0, "Unknown option '%s' in field %i of type '%s'",
(yyvsp[(6) - (11)].c), (int)(yyvsp[(3) - (11)].d), field->getName());
yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (11)].d));
Free((yyvsp[(6) - (11)].c));
List_Delete((yyvsp[(9) - (11)].l));

Christophe Geuzaine
committed
#if defined(HAVE_PLUGINS)
PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].d));
yymsg(0, "Unknown option '%s' or plugin '%s'", (yyvsp[(6) - (9)].c), (yyvsp[(3) - (9)].c));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
#if defined(HAVE_PLUGINS)
PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].c));
yymsg(0, "Unknown option '%s' or plugin '%s'", (yyvsp[(6) - (9)].c), (yyvsp[(3) - (9)].c));

Christophe Geuzaine
committed
#endif
Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); Free((yyvsp[(8) - (9)].c));
#line 997 "Gmsh.y"
{
std::string key((yyvsp[(3) - (3)].c));
std::vector<double> val(1, 0.);
floatOptions.clear(); charOptions.clear();
if(!gmsh_yysymbols.count(key)){
Msg::ExchangeOnelabParameter(key, val, floatOptions, charOptions);
gmsh_yysymbols[key] = val;
}
Free((yyvsp[(3) - (3)].c));
#line 1008 "Gmsh.y"
{
std::string key((yyvsp[(3) - (5)].c));
std::vector<double> val(1, (yyvsp[(5) - (5)].d));
floatOptions.clear(); charOptions.clear();
if(!gmsh_yysymbols.count(key)){
Msg::ExchangeOnelabParameter(key, val, floatOptions, charOptions);
gmsh_yysymbols[key] = val;
}
Free((yyvsp[(3) - (5)].c));
#line 1021 "Gmsh.y"
{
std::string key((yyvsp[(3) - (9)].c));
std::vector<double> val(1, (yyvsp[(6) - (9)].d));
if(!gmsh_yysymbols.count(key)){
Msg::ExchangeOnelabParameter(key, val, floatOptions, charOptions);
gmsh_yysymbols[key] = val;
}
break;
case 100:
#line 1037 "Gmsh.y"
{
std::string key((yyvsp[(2) - (3)].c));
for(int i = 0; i < List_Nbr((yyvsp[(3) - (3)].l)); i++){
double v;
List_Read((yyvsp[(3) - (3)].l), i, &v);
floatOptions[key].push_back(v);
}
Free((yyvsp[(2) - (3)].c));
List_Delete((yyvsp[(3) - (3)].l));
break;
case 101:
#line 1048 "Gmsh.y"
{
std::string key((yyvsp[(2) - (3)].c));
std::string val((yyvsp[(3) - (3)].c));
charOptions[key].push_back(val);
Free((yyvsp[(2) - (3)].c));
Free((yyvsp[(3) - (3)].c));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
(std::string((yyvsp[(1) - (1)].c)), curPhysDim,
++GModel::current()->getGEOInternals()->MaxPhysicalNum);

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = 0;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{

Christophe Geuzaine
committed
Vertex *v = FindPoint((int)(yyvsp[(4) - (5)].d));
if(!v)
yymsg(0, "Unknown point %d", (int)(yyvsp[(4) - (5)].d));

Christophe Geuzaine
committed
else{
List_Add((yyval.l), &v);

Christophe Geuzaine
committed
}

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
for(int i = 0; i < 4; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i];

Christophe Geuzaine
committed
yymsg(0, "Point %d already exists", num);
double x = CTX::instance()->geom.scalingFactor * (yyvsp[(6) - (7)].v)[0];
double y = CTX::instance()->geom.scalingFactor * (yyvsp[(6) - (7)].v)[1];
double z = CTX::instance()->geom.scalingFactor * (yyvsp[(6) - (7)].v)[2];
double lc = CTX::instance()->geom.scalingFactor * (yyvsp[(6) - (7)].v)[3];
if(lc == 0.) lc = MAX_LC; // no mesh size given at the point
Vertex *v;
if(!myGmshSurface)
v = Create_Vertex(num, x, y, z, lc, 1.0);
else
v = Create_Vertex(num, x, y, myGmshSurface, lc);
Tree_Add(GModel::current()->getGEOInternals()->Points, &v);
AddToTemporaryBoundingBox(v->Pos.X, v->Pos.Y, v->Pos.Z);

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
curPhysDim = 0;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int num = (int)(yyvsp[(5) - (9)].i);
yymsg(0, "Physical point %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(8) - (9)].l));
PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_POINT, temp);
List_Delete(temp);
List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p);

Christophe Geuzaine
committed
List_Delete((yyvsp[(8) - (9)].l));

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(3) - (6)].l), i, &d);
Vertex *v = FindPoint((int)d);
if(v)
v->lc = (yyvsp[(5) - (6)].d);
else{
GVertex *gv = GModel::current()->getVertexByTag((int)d);
if(gv)
gv->setPrescribedMeshSizeAtVertex((yyvsp[(5) - (6)].d));
}

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l));
Curve *c = Create_Curve(num, MSH_SEGM_LINE, 1, temp, NULL,
-1, -1, 0., 1.);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
List_Delete(temp);
List_Delete((yyvsp[(6) - (7)].l));
(yyval.s).Type = MSH_SEGM_LINE;
(yyval.s).Num = num;

Christophe Geuzaine
committed
{
for (int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){
double dnum;
List_Read((yyvsp[(3) - (4)].l), i, &dnum);
int num = (int) fabs(dnum);
Curve *c = FindCurve(num);
if (c){
c->degenerated = true;
}
else{
GEdge *ge = GModel::current()->getEdgeByTag(num);
if (!ge){
yymsg(0, "Curve %d does not exist", num);
}
else{
ge->setTooSmall(true);
}
}

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l));
Curve *c = Create_Curve(num, MSH_SEGM_SPLN, 3, temp, NULL,
-1, -1, 0., 1.);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
List_Delete(temp);
List_Delete((yyvsp[(6) - (7)].l));
(yyval.s).Type = MSH_SEGM_SPLN;
(yyval.s).Num = num;

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (8)].l));
Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL,
-1, -1, 0., 1.);
if((yyvsp[(7) - (8)].v)[0] || (yyvsp[(7) - (8)].v)[1] || (yyvsp[(7) - (8)].v)[2]){
c->Circle.n[0] = (yyvsp[(7) - (8)].v)[0];
c->Circle.n[1] = (yyvsp[(7) - (8)].v)[1];
c->Circle.n[2] = (yyvsp[(7) - (8)].v)[2];
End_Curve(c);
}
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
Curve *rc = CreateReversedCurve(c);
if((yyvsp[(7) - (8)].v)[0] || (yyvsp[(7) - (8)].v)[1] || (yyvsp[(7) - (8)].v)[2]){
rc->Circle.n[0] = (yyvsp[(7) - (8)].v)[0];
rc->Circle.n[1] = (yyvsp[(7) - (8)].v)[1];
rc->Circle.n[2] = (yyvsp[(7) - (8)].v)[2];
End_Curve(rc);
}

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (8)].l));
Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL,
-1, -1, 0., 1.);
if((yyvsp[(7) - (8)].v)[0] || (yyvsp[(7) - (8)].v)[1] || (yyvsp[(7) - (8)].v)[2]){
c->Circle.n[0] = (yyvsp[(7) - (8)].v)[0];
c->Circle.n[1] = (yyvsp[(7) - (8)].v)[1];
c->Circle.n[2] = (yyvsp[(7) - (8)].v)[2];
End_Curve(c);
}
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
Curve *rc = CreateReversedCurve(c);
if((yyvsp[(7) - (8)].v)[0] || (yyvsp[(7) - (8)].v)[1] || (yyvsp[(7) - (8)].v)[2]){
rc->Circle.n[0] = (yyvsp[(7) - (8)].v)[0];
rc->Circle.n[1] = (yyvsp[(7) - (8)].v)[1];
rc->Circle.n[2] = (yyvsp[(7) - (8)].v)[2];
End_Curve(rc);
}

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l));
Curve *c = Create_Curve(num, MSH_SEGM_BSPLN, 2, temp, NULL,
-1, -1, 0., 1.);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
List_Delete(temp);
List_Delete((yyvsp[(6) - (7)].l));
(yyval.s).Type = MSH_SEGM_BSPLN;
(yyval.s).Num = num;

Christophe Geuzaine
committed
yymsg(0, "Curve %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l));
Curve *c = Create_Curve(num, MSH_SEGM_BEZIER, 2, temp, NULL,
-1, -1, 0., 1.);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
List_Delete(temp);
List_Delete((yyvsp[(6) - (7)].l));
(yyval.s).Type = MSH_SEGM_BEZIER;
(yyval.s).Num = num;

Christophe Geuzaine
committed
{
int num = (int)(yyvsp[(3) - (11)].d);
if(List_Nbr((yyvsp[(6) - (11)].l)) + (int)(yyvsp[(10) - (11)].d) + 1 != List_Nbr((yyvsp[(8) - (11)].l))){
yymsg(0, "Wrong definition of Nurbs Curve %d: "
"got %d knots, need N + D + 1 = %d + %d + 1 = %d",
(int)(yyvsp[(3) - (11)].d), List_Nbr((yyvsp[(8) - (11)].l)), List_Nbr((yyvsp[(6) - (11)].l)), (int)(yyvsp[(10) - (11)].d), List_Nbr((yyvsp[(6) - (11)].l)) + (int)(yyvsp[(10) - (11)].d) + 1);
if(FindCurve(num)){
yymsg(0, "Curve %d already exists", num);
}
else{
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (11)].l));
Curve *c = Create_Curve(num, MSH_SEGM_NURBS, (int)(yyvsp[(10) - (11)].d), temp, (yyvsp[(8) - (11)].l),
-1, -1, 0., 1.);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
List_Delete(temp);
}
List_Delete((yyvsp[(6) - (11)].l));
List_Delete((yyvsp[(8) - (11)].l));
(yyval.s).Type = MSH_SEGM_NURBS;
(yyval.s).Num = num;

Christophe Geuzaine
committed
yymsg(0, "Line loop %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (8)].l));
sortEdgesInLoop(num, temp);
EdgeLoop *l = Create_EdgeLoop(num, temp);
Tree_Add(GModel::current()->getGEOInternals()->EdgeLoops, &l);
List_Delete(temp);
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_SEGM_LOOP;
(yyval.s).Num = num;

Christophe Geuzaine
committed
int num = (int)(yyvsp[(4) - (8)].d);
if(FindCurve(num)){
yymsg(0, "Curve %d already exists", num);
}
else{
Curve *c = Create_Curve(num, MSH_SEGM_COMPOUND, 1, NULL, NULL, -1, -1, 0., 1.);
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++)
c->compound.push_back((int)*(double*)List_Pointer((yyvsp[(7) - (8)].l), i));
End_Curve(c);
Tree_Add(GModel::current()->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
}
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_SEGM_COMPOUND;
(yyval.s).Num = num;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
int num = (int)(yyvsp[(5) - (9)].i);
yymsg(0, "Physical line %d already exists", num);
else{
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(8) - (9)].l));
PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_LINE, temp);
List_Delete(temp);
List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p);

Christophe Geuzaine
committed
List_Delete((yyvsp[(8) - (9)].l));

Christophe Geuzaine
committed
yymsg(0, "Surface %d already exists", num);
Surface *s = Create_Surface(num, MSH_SURF_PLAN);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (8)].l));
setSurfaceGeneratrices(s, temp);
List_Delete(temp);
End_Surface(s);
Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s);
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_SURF_PLAN;
(yyval.s).Num = num;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int num = (int)(yyvsp[(4) - (9)].d), type = 0;
yymsg(0, "Surface %d already exists", num);
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
double d;
List_Read((yyvsp[(7) - (9)].l), 0, &d);
EdgeLoop *el = FindEdgeLoop((int)fabs(d));
if(!el){
yymsg(0, "Unknown line loop %d", (int)d);
}
else{
int j = List_Nbr(el->Curves);
if(j == 4){
type = MSH_SURF_REGL;
}
else if(j == 3){
type = MSH_SURF_TRIC;
}
else{
yymsg(0, "Wrong definition of Ruled Surface %d: "
"%d borders instead of 3 or 4", num, j);
type = MSH_SURF_PLAN;
}
Surface *s = Create_Surface(num, type);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (9)].l));
setSurfaceGeneratrices(s, temp);
List_Delete(temp);
End_Surface(s);
s->InSphereCenter = (yyvsp[(8) - (9)].l);
Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s);
}

Christophe Geuzaine
committed
List_Delete((yyvsp[(7) - (9)].l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
myGmshSurface = gmshSurface::getSurface((int)(yyvsp[(3) - (4)].d));

Christophe Geuzaine
committed
int num = (int)(yyvsp[(4) - (10)].d);
myGmshSurface = gmshParametricSurface::NewParametricSurface(num, (yyvsp[(7) - (10)].c), (yyvsp[(8) - (10)].c), (yyvsp[(9) - (10)].c));
(yyval.s).Type = 0;
(yyval.s).Num = num;

Christophe Geuzaine
committed
yymsg(0, "Sphere %d has to be defined using 2 points (center + "
"any point) and not %d", num, List_Nbr((yyvsp[(6) - (7)].l)));
double p1,p2;
List_Read((yyvsp[(6) - (7)].l), 0, &p1);
List_Read((yyvsp[(6) - (7)].l), 1, &p2);
Vertex *v1 = FindPoint((int)p1);
Vertex *v2 = FindPoint((int)p2);
if(!v1) yymsg(0, "Sphere %d : unknown point %d", num, (int)p1);
if(!v2) yymsg(0, "Sphere %d : unknown point %d", num, (int)p2);
if(v1 && v2)
myGmshSurface = gmshSphere::NewSphere
(num, v1->Pos.X, v1->Pos.Y, v1->Pos.Z,
sqrt((v2->Pos.X - v1->Pos.X) * (v2->Pos.X - v1->Pos.X) +
(v2->Pos.Y - v1->Pos.Y) * (v2->Pos.Y - v1->Pos.Y) +
(v2->Pos.Z - v1->Pos.Z) * (v2->Pos.Z - v1->Pos.Z)));

Christophe Geuzaine
committed
yymsg(0, "PolarSphere %d has to be defined using 2 points (center + "
"any point) and not %d", num, List_Nbr((yyvsp[(6) - (7)].l)));
double p1,p2;
List_Read((yyvsp[(6) - (7)].l), 0, &p1);
List_Read((yyvsp[(6) - (7)].l), 1, &p2);
Vertex *v1 = FindPoint((int)p1);
Vertex *v2 = FindPoint((int)p2);
if(!v1) yymsg(0, "PolarSphere %d : unknown point %d", num, (int)p1);
if(!v2) yymsg(0, "PolarSphere %d : unknown point %d", num, (int)p2);
if(v1 && v2)
myGmshSurface = gmshPolarSphere::NewPolarSphere
(num, v1->Pos.X, v1->Pos.Y, v1->Pos.Z,
sqrt((v2->Pos.X - v1->Pos.X) * (v2->Pos.X - v1->Pos.X) +
(v2->Pos.Y - v1->Pos.Y) * (v2->Pos.Y - v1->Pos.Y) +
(v2->Pos.Z - v1->Pos.Z) * (v2->Pos.Z - v1->Pos.Z)));

Christophe Geuzaine
committed
yymsg(0, "Surface loop %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (8)].l));
SurfaceLoop *l = Create_SurfaceLoop(num, temp);
Tree_Add(GModel::current()->getGEOInternals()->SurfaceLoops, &l);
List_Delete(temp);
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_SURF_LOOP;
(yyval.s).Num = num;

Christophe Geuzaine
committed
int num = (int)(yyvsp[(4) - (8)].d);
yymsg(0, "Surface %d already exists", num);
Emilie Marchandise
committed
Surface *s = Create_Surface(num, MSH_SURF_COMPOUND);
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++){
s->compound.push_back((int)*(double*)List_Pointer((yyvsp[(7) - (8)].l), i));
}
Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s);
List_Delete((yyvsp[(7) - (8)].l));

Christophe Geuzaine
committed
int num = (int)(yyvsp[(4) - (12)].d);
yymsg(0, "Surface %d already exists", num);
for(int i = 0; i < List_Nbr((yyvsp[(7) - (12)].l)); i++)
s->compound.push_back((int)*(double*)List_Pointer((yyvsp[(7) - (12)].l), i));
for (int i = 0; i < List_Nbr((yyvsp[(10) - (12)].l)); i++){
if(i > 3){
yymsg(0, "Too many boundary specifiers in compound surface");
break;
}
List_T *l = *(List_T**)List_Pointer((yyvsp[(10) - (12)].l), i);
s->compoundBoundary[i].push_back((int)*(double*)List_Pointer(l, j));
}
}
Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s);
List_Delete((yyvsp[(7) - (12)].l));
for (int i = 0; i < List_Nbr((yyvsp[(10) - (12)].l)); i++)
List_Delete(*(List_T**)List_Pointer((yyvsp[(10) - (12)].l), i));
List_Delete((yyvsp[(10) - (12)].l));
Free((yyvsp[(8) - (12)].c));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int num = (int)(yyvsp[(5) - (9)].i);
if(FindPhysicalGroup(num, MSH_PHYSICAL_SURFACE)){
yymsg(0, "Physical surface %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(8) - (9)].l));
PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_SURFACE, temp);
List_Delete(temp);
List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p);
List_Delete((yyvsp[(8) - (9)].l));
(yyval.s).Type = MSH_PHYSICAL_SURFACE;

Christophe Geuzaine
committed
yymsg(0, "'Complex Volume' command is deprecated: use 'Volume' instead");
yymsg(0, "Volume %d already exists", num);
Volume *v = Create_Volume(num, MSH_VOLUME);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (8)].l));
setVolumeSurfaces(v, temp);
List_Delete(temp);
Tree_Add(GModel::current()->getGEOInternals()->Volumes, &v);
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_VOLUME;
(yyval.s).Num = num;

Christophe Geuzaine
committed
yymsg(0, "Volume %d already exists", num);
Volume *v = Create_Volume(num, MSH_VOLUME);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l));
setVolumeSurfaces(v, temp);
List_Delete(temp);
Tree_Add(GModel::current()->getGEOInternals()->Volumes, &v);
List_Delete((yyvsp[(6) - (7)].l));
(yyval.s).Type = MSH_VOLUME;
(yyval.s).Num = num;

Christophe Geuzaine
committed
{
int num = (int)(yyvsp[(4) - (8)].d);
if(FindVolume(num)){
yymsg(0, "Volume %d already exists", num);
Volume *v = Create_Volume(num, MSH_VOLUME_COMPOUND);
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++)
v->compound.push_back((int)*(double*)List_Pointer((yyvsp[(7) - (8)].l), i));
Tree_Add(GModel::current()->getGEOInternals()->Volumes, &v);
}
List_Delete((yyvsp[(7) - (8)].l));
(yyval.s).Type = MSH_VOLUME_COMPOUND;
(yyval.s).Num = num;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
curPhysDim = 3;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int num = (int)(yyvsp[(5) - (9)].i);
yymsg(0, "Physical volume %d already exists", num);
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(8) - (9)].l));
PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_VOLUME, temp);
List_Delete(temp);
List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p);

Christophe Geuzaine
committed
List_Delete((yyvsp[(8) - (9)].l));

Christophe Geuzaine
committed
{
TranslateShapes((yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], (yyvsp[(4) - (5)].l));
(yyval.l) = (yyvsp[(4) - (5)].l);

Christophe Geuzaine
committed
{
RotateShapes((yyvsp[(3) - (11)].v)[0], (yyvsp[(3) - (11)].v)[1], (yyvsp[(3) - (11)].v)[2], (yyvsp[(5) - (11)].v)[0], (yyvsp[(5) - (11)].v)[1], (yyvsp[(5) - (11)].v)[2], (yyvsp[(7) - (11)].d), (yyvsp[(10) - (11)].l));
(yyval.l) = (yyvsp[(10) - (11)].l);

Christophe Geuzaine
committed
{
SymmetryShapes((yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], (yyvsp[(2) - (5)].v)[3], (yyvsp[(4) - (5)].l));
(yyval.l) = (yyvsp[(4) - (5)].l);

Christophe Geuzaine
committed
{
DilatShapes((yyvsp[(3) - (9)].v)[0], (yyvsp[(3) - (9)].v)[1], (yyvsp[(3) - (9)].v)[2], (yyvsp[(5) - (9)].d), (yyvsp[(8) - (9)].l));
(yyval.l) = (yyvsp[(8) - (9)].l);

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(1) - (4)].c), "Duplicata")){
for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){
Shape TheShape;
List_Read((yyvsp[(3) - (4)].l), i, &TheShape);
CopyShape(TheShape.Type, TheShape.Num, &TheShape.Num);
List_Add((yyval.l), &TheShape);
}
}
else if(!strcmp((yyvsp[(1) - (4)].c), "Boundary")){
BoundaryShapes((yyvsp[(3) - (4)].l), (yyval.l), false);
}
else if(!strcmp((yyvsp[(1) - (4)].c), "CombinedBoundary")){
BoundaryShapes((yyvsp[(3) - (4)].l), (yyval.l), true);
else{
yymsg(0, "Unknown command on multiple shapes: '%s'", (yyvsp[(1) - (4)].c));
}
Free((yyvsp[(1) - (4)].c));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
IntersectCurvesWithSurface((yyvsp[(4) - (9)].l), (int)(yyvsp[(8) - (9)].d), (yyval.l));
List_Delete((yyvsp[(4) - (9)].l));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape*));
List_T *tmp = ListOfDouble2ListOfInt((yyvsp[(7) - (9)].l));
SplitCurve((int)(yyvsp[(4) - (9)].d), tmp, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(4) - (6)].l), i, &d);
Shape TheShape;
TheShape.Num = (int)d;
Vertex *v = FindPoint(std::abs(TheShape.Num));
if(v){
TheShape.Type = MSH_POINT;
List_Add((yyval.l), &TheShape);
}
else{
GVertex *gv = GModel::current()->getVertexByTag(std::abs(TheShape.Num));
if(gv){
TheShape.Type = MSH_POINT_FROM_GMODEL;
List_Add((yyval.l), &TheShape);
}
else
yymsg(1, "Unknown point %d", TheShape.Num);
}

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(4) - (6)].l), i, &d);
Shape TheShape;
TheShape.Num = (int)d;
Curve *c = FindCurve(std::abs(TheShape.Num));
if(c){
TheShape.Type = c->Typ;
List_Add((yyval.l), &TheShape);
}
else{
GEdge *ge = GModel::current()->getEdgeByTag(std::abs(TheShape.Num));
if(ge){
TheShape.Type = MSH_SEGM_FROM_GMODEL;
List_Add((yyval.l), &TheShape);
}
else
yymsg(1, "Unknown curve %d", TheShape.Num);
}

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(4) - (6)].l), i, &d);
Shape TheShape;
TheShape.Num = (int)d;
Surface *s = FindSurface(std::abs(TheShape.Num));
if(s){
TheShape.Type = s->Typ;
List_Add((yyval.l), &TheShape);
}
else{
GFace *gf = GModel::current()->getFaceByTag(std::abs(TheShape.Num));
if(gf){
TheShape.Type = MSH_SURF_FROM_GMODEL;
List_Add((yyval.l), &TheShape);
}
else
yymsg(1, "Unknown surface %d", TheShape.Num);
}

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(4) - (6)].l), i, &d);
Shape TheShape;
TheShape.Num = (int)d;
Volume *v = FindVolume(std::abs(TheShape.Num));
if(v){
TheShape.Type = v->Typ;
List_Add((yyval.l), &TheShape);
}
else{
GRegion *gr = GModel::current()->getRegionByTag(std::abs(TheShape.Num));
if(gr){
TheShape.Type = MSH_VOLUME_FROM_GMODEL;
List_Add((yyval.l), &TheShape);
}
else
yymsg(1, "Unknown volume %d", TheShape.Num);
}

Christophe Geuzaine
committed
if(List_Nbr((yyvsp[(7) - (8)].l)) == 4){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d[4];
for(int i = 0; i < 4; i++)
List_Read((yyvsp[(7) - (8)].l), i, &d[i]);
gLevelset *ls = new gLevelsetPlane(d[0], d[1], d[2], d[3], t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (8)].d));

Christophe Geuzaine
committed
Emilie Marchandise
committed
#if defined(HAVE_DINTEGRATION)
int t = (int)(yyvsp[(4) - (10)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
//Msg::Info("nb = %d \n",List_Nbr($8) );
fullMatrix<double> centers(List_Nbr((yyvsp[(8) - (10)].l)),3);
for (int i = 0; i < List_Nbr((yyvsp[(8) - (10)].l)); i++){
List_T *l = *(List_T**)List_Pointer((yyvsp[(8) - (10)].l), i);
for (int j = 0; j < List_Nbr(l); j++){
//Msg::Info("nb j = %d \n",List_Nbr(l) );
centers(i,j) = (double)(*(double*)List_Pointer(l, j));
}
}
gLevelset *ls = new gLevelsetPoints(centers, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
#endif
Emilie Marchandise
committed
break;
Emilie Marchandise
committed
Emilie Marchandise
committed
{
if(List_Nbr((yyvsp[(12) - (14)].l)) == 0){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double n[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetPlane(pt, n, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (14)].d));

Christophe Geuzaine
committed
if(List_Nbr((yyvsp[(14) - (16)].l)) == 0){
int t = (int)(yyvsp[(4) - (16)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double pt1[3] = {(yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2]};
double pt2[3] = {(yyvsp[(10) - (16)].v)[0], (yyvsp[(10) - (16)].v)[1], (yyvsp[(10) - (16)].v)[2]};
double pt3[3] = {(yyvsp[(12) - (16)].v)[0], (yyvsp[(12) - (16)].v)[1], (yyvsp[(12) - (16)].v)[2]};
gLevelset *ls = new gLevelsetPlane(pt1, pt2, pt3, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (16)].d));

Christophe Geuzaine
committed
if(List_Nbr((yyvsp[(10) - (12)].l)) == 1){
int t = (int)(yyvsp[(4) - (12)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d;
List_Read((yyvsp[(10) - (12)].l), 0, &d);
gLevelset *ls = new gLevelsetSphere((yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], d, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (12)].d));

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (8)].c), "Union")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
std::vector<gLevelset *> vl;
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++) {
double d; List_Read((yyvsp[(7) - (8)].l), i, &d);
LevelSet *pl = FindLevelSet((int)d);
if(!pl) yymsg(0, "Levelset Union %d : unknown levelset %d", t, (int)d);
else vl.push_back(pl->ls);
}
gLevelset *ls = new gLevelsetUnion(vl);
LevelSet *l = Create_LevelSet(t, ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (8)].c), "Intersection")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
std::vector<gLevelset *> vl;
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++) {
double d; List_Read((yyvsp[(7) - (8)].l), i, &d);
LevelSet *pl = FindLevelSet((int)d);
if(!pl) yymsg(0, "Levelset Intersection %d : unknown levelset %d", t, (int)d);
else vl.push_back(pl->ls);
}
gLevelset *ls = new gLevelsetIntersection(vl);
LevelSet *l = Create_LevelSet(t, ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (8)].c), "Cut")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
std::vector<gLevelset *> vl;
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++) {
double d; List_Read((yyvsp[(7) - (8)].l), i, &d);
LevelSet *pl = FindLevelSet((int)d);
if(!pl) yymsg(0, "Levelset Cut %d : unknown levelset %d", t, (int)d);
else vl.push_back(pl->ls);
}
gLevelset *ls = new gLevelsetCut(vl);
LevelSet *l = Create_LevelSet(t, ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (8)].c), "Crack")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
std::vector<gLevelset *> vl;
for(int i = 0; i < List_Nbr((yyvsp[(7) - (8)].l)); i++) {
double d; List_Read((yyvsp[(7) - (8)].l), i, &d);
LevelSet *pl = FindLevelSet((int)d);
if(!pl) yymsg(0, "Levelset Crack %d : unknown levelset %d", t, (int)d);
else vl.push_back(pl->ls);
}
gLevelset *ls = new gLevelsetCrack(vl);
LevelSet *l = Create_LevelSet(t, ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (8)].c), "Reverse")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d;
List_Read((yyvsp[(7) - (8)].l), 0, &d);
LevelSet *pl = FindLevelSet((int)d);
gLevelset *ls = NULL;
if(!pl) yymsg(0, "Levelset Reverse %d : unknown levelset %d", t, (int)d);
else ls = new gLevelsetReverse(pl->ls);
LevelSet *l = Create_LevelSet(t, ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (8)].c), "PostView")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
if(List_Nbr((yyvsp[(7) - (8)].l)) > 0){
double d; List_Read((yyvsp[(7) - (8)].l), 0, &d);
gLevelset *ls = new gLevelsetPostView((int)d, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (8)].d));
Free((yyvsp[(2) - (8)].c));
break;

Christophe Geuzaine
committed
{
#if defined(HAVE_DINTEGRATION)
if(!strcmp((yyvsp[(2) - (8)].c), "MathEval")){
int t = (int)(yyvsp[(4) - (8)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
gLevelset *ls = new gLevelsetMathEval((yyvsp[(7) - (8)].c), t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition");
Free((yyvsp[(2) - (8)].c)); Free((yyvsp[(7) - (8)].c));
#endif

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (6)].c), "CutMesh")){
int t = (int)(yyvsp[(4) - (6)].d);
GModel *GM = GModel::current();
if(FindLevelSet(t)){
GM->buildCutGModel(FindLevelSet(t)->ls, true, false);
GM->setVisibility(0);
}
else
yymsg(0, "Unknown levelset (%d)", t);
Emilie Marchandise
committed
}
Emilie Marchandise
committed
int t = (int)(yyvsp[(4) - (6)].d);
GModel *GM = GModel::current();
if(FindLevelSet(t)){
GM->buildCutGModel(FindLevelSet(t)->ls, true, true);
GM->setVisibility(0);
}
else
yymsg(0, "Unknown levelset (%d)", t);
else if(!strcmp((yyvsp[(2) - (6)].c), "SplitMesh")){
int t = (int)(yyvsp[(4) - (6)].d);
GModel *GM = GModel::current();
if(FindLevelSet(t)){
GM->buildCutGModel(FindLevelSet(t)->ls, false, true);
GM->setVisibility(0);
}
else
yymsg(0, "Unknown levelset (%d)", t);
else
yymsg(0, "Wrong levelset definition");
Free((yyvsp[(2) - (6)].c));
break;

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (14)].c), "Cylinder") && List_Nbr((yyvsp[(12) - (14)].l)) == 1){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d;
List_Read((yyvsp[(12) - (14)].l), 0, &d);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetGenCylinder(pt, dir, d, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (14)].c), "Cone") && List_Nbr((yyvsp[(12) - (14)].l)) == 1){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d;
List_Read((yyvsp[(12) - (14)].l), 0, &d);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetCone(pt, dir, d, t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (14)].c), "Cylinder") && List_Nbr((yyvsp[(12) - (14)].l)) == 2){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d[2];
for(int i = 0; i < 2; i++)
List_Read((yyvsp[(12) - (14)].l), i, &d[i]);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetCylinder(pt, dir, d[0], d[1], t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (14)].c), "Cylinder") && List_Nbr((yyvsp[(12) - (14)].l)) == 3){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d[3];
for(int i = 0; i < 3; i++)
List_Read((yyvsp[(12) - (14)].l), i, &d[i]);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetCylinder(pt, dir, d[0], d[1], d[2], t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (14)].c), "Ellipsoid") && List_Nbr((yyvsp[(12) - (14)].l)) == 3){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d[3];
for(int i = 0; i < 3; i++)
List_Read((yyvsp[(12) - (14)].l), i, &d[i]);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetEllipsoid(pt, dir, d[0], d[1], d[2], t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else if(!strcmp((yyvsp[(2) - (14)].c), "Quadric") && List_Nbr((yyvsp[(12) - (14)].l)) == 5){
int t = (int)(yyvsp[(4) - (14)].d);
if(FindLevelSet(t)){
yymsg(0, "Levelset %d already exists", t);
}
else {
double d[5];
for(int i = 0; i < 5; i++)
List_Read((yyvsp[(12) - (14)].l), i, &d[i]);
double pt[3] = {(yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2]};
double dir[3] = {(yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2]};
gLevelset *ls = new gLevelsetGeneralQuadric(pt, dir, d[0], d[1],
d[2], d[3], d[4], t);
LevelSet *l = Create_LevelSet(ls->getTag(), ls);
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
else
yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (14)].d));
Free((yyvsp[(2) - (14)].c));
break;

Christophe Geuzaine
committed
Shape TheShape;
List_Read((yyvsp[(3) - (4)].l), i, &TheShape);
DeleteShape(TheShape.Type, TheShape.Num);

Christophe Geuzaine
committed
GModel::current()->getFields()->deleteField((int)(yyvsp[(4) - (6)].d));

Christophe Geuzaine
committed
int index = (int)(yyvsp[(4) - (6)].d);
if(index >= 0 && index < (int)PView::list.size())
delete PView::list[index];
else
yymsg(0, "Unknown view %d", index);
yymsg(0, "Unknown command 'Delete %s'", (yyvsp[(2) - (6)].c));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (3)].c), "Meshes") || !strcmp((yyvsp[(2) - (3)].c), "All")){
}
else if(!strcmp((yyvsp[(2) - (3)].c), "Model")){
GModel::current()->destroy();
GModel::current()->getGEOInternals()->destroy();
GModel::current()->getGEOInternals()->reset_physicals();
GModel::current()->deletePhysicalGroups();
else if(!strcmp((yyvsp[(2) - (3)].c), "Variables")){
gmsh_yysymbols.clear();
else if(!strcmp((yyvsp[(2) - (3)].c), "Options")){
ReInitOptions(0);
InitOptionsGUI(0);
}
if(gmsh_yysymbols.count((yyvsp[(2) - (3)].c)))
gmsh_yysymbols.erase((yyvsp[(2) - (3)].c));
else
yymsg(0, "Unknown object or expression to delete '%s'", (yyvsp[(2) - (3)].c));

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (4)].c), "Empty") && !strcmp((yyvsp[(3) - (4)].c), "Views")){
for(int i = PView::list.size() - 1; i >= 0; i--)
if(PView::list[i]->getData()->empty()) delete PView::list[i];
yymsg(0, "Unknown command 'Delete %s %s'", (yyvsp[(2) - (4)].c), (yyvsp[(3) - (4)].c));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
Shape TheShape;
List_Read((yyvsp[(4) - (5)].l), i, &TheShape);
ColorShape(TheShape.Type, TheShape.Num, (yyvsp[(2) - (5)].u));

Christophe Geuzaine
committed
VisibilityShape((yyvsp[(2) - (3)].c), i, 1);

Christophe Geuzaine
committed
VisibilityShape((yyvsp[(2) - (3)].c), i, 0);

Christophe Geuzaine
committed
Shape TheShape;
List_Read((yyvsp[(3) - (4)].l), i, &TheShape);
VisibilityShape(TheShape.Type, TheShape.Num, 1);

Christophe Geuzaine
committed
Shape TheShape;
List_Read((yyvsp[(3) - (4)].l), i, &TheShape);
VisibilityShape(TheShape.Type, TheShape.Num, 0);

Christophe Geuzaine
committed
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c));
// Warning: we *don't* close included files (to allow user
// functions in these files). If you need to include many many
// files and don't have functions in the files, use "Merge"
// instead: some OSes limit the number of files a process can
// open simultaneously. The right solution would be of course
// to modify FunctionManager to reopen the files instead of
// using the FILE pointer, but hey, I'm lazy...
Msg::StatusBar(2, true, "Reading '%s'...", tmp.c_str());
ParseFile(tmp, false, true);
SetBoundingBox();
Msg::StatusBar(2, true, "Done reading '%s'", tmp.c_str());
// make sure we have the latest data from GEO_Internals in GModel
// (fixes bug where we would have no geometry in the picture if
// the print command is in the same file as the geometry)
GModel::current()->importGEOInternals();
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c));
CreateOutputFile(tmp, CTX::instance()->print.fileFormat);
GModel::current()->importGEOInternals();
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c));
CreateOutputFile(tmp, CTX::instance()->mesh.fileFormat);
else if(!strcmp((yyvsp[(1) - (3)].c), "Merge") || !strcmp((yyvsp[(1) - (3)].c), "MergeWithBoundingBox")){
// MergeWithBoundingBox is deprecated
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c));
MergeFile(tmp, true);
}
SystemCall((yyvsp[(2) - (3)].c));
else if(!strcmp((yyvsp[(1) - (3)].c), "SetName"))
GModel::current()->setName((yyvsp[(2) - (3)].c));
yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (3)].c));

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(1) - (7)].c), "Save") && !strcmp((yyvsp[(2) - (7)].c), "View")){
int index = (int)(yyvsp[(4) - (7)].d);
if(index >= 0 && index < (int)PView::list.size()){
std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(6) - (7)].c));
PView::list[index]->write(tmp, CTX::instance()->post.fileFormat);
}
else
yymsg(0, "Unknown view %d", index);
yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (7)].c));

Christophe Geuzaine
committed
#endif
Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(6) - (7)].c));

Christophe Geuzaine
committed
#if defined(HAVE_POST) && defined(HAVE_MESH)
if(!strcmp((yyvsp[(1) - (7)].c), "Background") && !strcmp((yyvsp[(2) - (7)].c), "Mesh") && !strcmp((yyvsp[(3) - (7)].c), "View")){
int index = (int)(yyvsp[(5) - (7)].d);
if(index >= 0 && index < (int)PView::list.size())
GModel::current()->getFields()->setBackgroundMesh(index);
else
yymsg(0, "Unknown view %d", index);
yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (7)].c));

Christophe Geuzaine
committed
#endif
Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(3) - (7)].c));

Christophe Geuzaine
committed
SleepInSeconds((yyvsp[(2) - (3)].d));
yymsg(0, "Surface remeshing must be reinterfaced");
int lock = CTX::instance()->lock;
CTX::instance()->lock = 0;
GModel::current()->importGEOInternals();
GModel::current()->mesh((int)(yyvsp[(2) - (3)].d));
CTX::instance()->lock = lock;
yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (3)].c));

Christophe Geuzaine
committed
#if defined(HAVE_PLUGINS)
PluginManager::instance()->action((yyvsp[(3) - (7)].c), (yyvsp[(6) - (7)].c), 0);
yymsg(0, "Unknown action '%s' or plugin '%s'", (yyvsp[(6) - (7)].c), (yyvsp[(3) - (7)].c));

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed
PView::combine(false, 1, CTX::instance()->post.combineRemoveOrig);
else if(!strcmp((yyvsp[(2) - (3)].c), "ElementsFromVisibleViews"))
PView::combine(false, 0, CTX::instance()->post.combineRemoveOrig);
PView::combine(false, 2, CTX::instance()->post.combineRemoveOrig);
PView::combine(true, 1, CTX::instance()->post.combineRemoveOrig);
else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsFromVisibleViews"))
PView::combine(true, 0, CTX::instance()->post.combineRemoveOrig);
PView::combine(true, 2, CTX::instance()->post.combineRemoveOrig);
PView::combine(false, 1, CTX::instance()->post.combineRemoveOrig);
PView::combine(true, 2, CTX::instance()->post.combineRemoveOrig);
yymsg(0, "Unknown 'Combine' command");

Christophe Geuzaine
committed
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
// FIXME: this is a hack to force a transfer from the old DB to
// the new DB. This will become unnecessary if/when we fill the
// GModel directly during parsing.
GModel::current()->importGEOInternals();

Christophe Geuzaine
committed
CTX::instance()->forcedBBox = 0;

Christophe Geuzaine
committed
CTX::instance()->forcedBBox = 1;
SetBoundingBox((yyvsp[(3) - (15)].d), (yyvsp[(5) - (15)].d), (yyvsp[(7) - (15)].d), (yyvsp[(9) - (15)].d), (yyvsp[(11) - (15)].d), (yyvsp[(13) - (15)].d));

Christophe Geuzaine
committed
#if defined(HAVE_OPENGL)

Christophe Geuzaine
committed
GModel::current()->createTopologyFromMesh();

Christophe Geuzaine
committed
{
GModel::current()->createTopologyFromMesh(1);
{
GModel::current()->importGEOInternals();
GModel::current()->refineMesh(CTX::instance()->mesh.secondOrderLinear);
{
LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (6)].d);
LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (6)].d);
fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno;
skip_until("For", "EndFor");
if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){
yymsg(0, "Reached maximum number of imbricated loops");
ImbricatedLoop = MAX_RECUR_LOOPS - 1;

Christophe Geuzaine
committed
{
LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (8)].d);
LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (8)].d);
LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[(7) - (8)].d);
fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno;
if(((yyvsp[(7) - (8)].d) > 0. && (yyvsp[(3) - (8)].d) > (yyvsp[(5) - (8)].d)) || ((yyvsp[(7) - (8)].d) < 0. && (yyvsp[(3) - (8)].d) < (yyvsp[(5) - (8)].d)))
skip_until("For", "EndFor");
if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){
yymsg(0, "Reached maximum number of imbricated loops");
ImbricatedLoop = MAX_RECUR_LOOPS - 1;

Christophe Geuzaine
committed
{
LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(5) - (8)].d);
LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(7) - (8)].d);
LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[(2) - (8)].c);
gmsh_yysymbols[(yyvsp[(2) - (8)].c)].resize(1);
gmsh_yysymbols[(yyvsp[(2) - (8)].c)][0] = (yyvsp[(5) - (8)].d);
fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno;
skip_until("For", "EndFor");
if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){
yymsg(0, "Reached maximum number of imbricated loops");
ImbricatedLoop = MAX_RECUR_LOOPS - 1;

Christophe Geuzaine
committed
{
LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(5) - (10)].d);
LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(7) - (10)].d);
LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[(9) - (10)].d);
LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[(2) - (10)].c);
gmsh_yysymbols[(yyvsp[(2) - (10)].c)].resize(1);
gmsh_yysymbols[(yyvsp[(2) - (10)].c)][0] = (yyvsp[(5) - (10)].d);
fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno;
if(((yyvsp[(9) - (10)].d) > 0. && (yyvsp[(5) - (10)].d) > (yyvsp[(7) - (10)].d)) || ((yyvsp[(9) - (10)].d) < 0. && (yyvsp[(5) - (10)].d) < (yyvsp[(7) - (10)].d)))
skip_until("For", "EndFor");
if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){
yymsg(0, "Reached maximum number of imbricated loops");
ImbricatedLoop = MAX_RECUR_LOOPS - 1;

Christophe Geuzaine
committed
yymsg(0, "Invalid For/EndFor loop");
ImbricatedLoop = 0;
double step = LoopControlVariablesTab[ImbricatedLoop - 1][2];

Christophe Geuzaine
committed
const char *name = LoopControlVariablesNameTab[ImbricatedLoop - 1];
if(name){
if(!gmsh_yysymbols.count(name))
yymsg(0, "Unknown loop variable");
else{
gmsh_yysymbols[name][0] += step;
LoopControlVariablesTab[ImbricatedLoop - 1][0] = gmsh_yysymbols[name][0];
}
}
else{
LoopControlVariablesTab[ImbricatedLoop - 1][0] += step;
}
double x0 = LoopControlVariablesTab[ImbricatedLoop - 1][0];
double x1 = LoopControlVariablesTab[ImbricatedLoop - 1][1];

Christophe Geuzaine
committed
if((step > 0. && x0 <= x1) || (step < 0. && x0 >= x1)){
fsetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop - 1]);
gmsh_yylineno = yylinenoImbricatedLoopsTab[ImbricatedLoop - 1];
}
else
ImbricatedLoop--;

Christophe Geuzaine
committed
if(!FunctionManager::Instance()->createFunction
((yyvsp[(2) - (2)].c), gmsh_yyin, gmsh_yyname, gmsh_yylineno))
yymsg(0, "Redefinition of function %s", (yyvsp[(2) - (2)].c));

Christophe Geuzaine
committed
if(!FunctionManager::Instance()->leaveFunction
(&gmsh_yyin, gmsh_yyname, gmsh_yylineno))
yymsg(0, "Error while exiting function");

Christophe Geuzaine
committed
if(!FunctionManager::Instance()->enterFunction
((yyvsp[(2) - (3)].c), &gmsh_yyin, gmsh_yyname, gmsh_yylineno))
yymsg(0, "Unknown function %s", (yyvsp[(2) - (3)].c));
//FIXME: wee leak $2

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(TRANSLATE, (yyvsp[(4) - (5)].l),
(yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
NULL, (yyval.l));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(ROTATE, (yyvsp[(10) - (11)].l),
0., 0., 0., (yyvsp[(3) - (11)].v)[0], (yyvsp[(3) - (11)].v)[1], (yyvsp[(3) - (11)].v)[2], (yyvsp[(5) - (11)].v)[0], (yyvsp[(5) - (11)].v)[1], (yyvsp[(5) - (11)].v)[2], (yyvsp[(7) - (11)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[(12) - (13)].l),
(yyvsp[(3) - (13)].v)[0], (yyvsp[(3) - (13)].v)[1], (yyvsp[(3) - (13)].v)[2], (yyvsp[(5) - (13)].v)[0], (yyvsp[(5) - (13)].v)[1], (yyvsp[(5) - (13)].v)[2], (yyvsp[(7) - (13)].v)[0], (yyvsp[(7) - (13)].v)[1], (yyvsp[(7) - (13)].v)[2], (yyvsp[(9) - (13)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(TRANSLATE, (yyvsp[(4) - (7)].l),
(yyvsp[(2) - (7)].v)[0], (yyvsp[(2) - (7)].v)[1], (yyvsp[(2) - (7)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(ROTATE, (yyvsp[(10) - (13)].l),
0., 0., 0., (yyvsp[(3) - (13)].v)[0], (yyvsp[(3) - (13)].v)[1], (yyvsp[(3) - (13)].v)[2], (yyvsp[(5) - (13)].v)[0], (yyvsp[(5) - (13)].v)[1], (yyvsp[(5) - (13)].v)[2], (yyvsp[(7) - (13)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[(12) - (15)].l),
(yyvsp[(3) - (15)].v)[0], (yyvsp[(3) - (15)].v)[1], (yyvsp[(3) - (15)].v)[2], (yyvsp[(5) - (15)].v)[0], (yyvsp[(5) - (15)].v)[1], (yyvsp[(5) - (15)].v)[2], (yyvsp[(7) - (15)].v)[0], (yyvsp[(7) - (15)].v)[1], (yyvsp[(7) - (15)].v)[2], (yyvsp[(9) - (15)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShapes(BOUNDARY_LAYER, (yyvsp[(3) - (6)].l), 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,

Christophe Geuzaine
committed
&extr, (yyval.l));

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
(yyval.l) = List_Create(2, 1, sizeof(Shape));
ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[(4) - (8)].d),
(yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (8)].d),
(yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (8)].d),
(yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[(4) - (12)].d),
0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (12)].d),
0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (12)].d),
0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[(4) - (14)].d),
(yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (14)].d),
(yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (14)].d),
(yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d),
NULL, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false;

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[(4) - (12)].d),
(yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (12)].d),
(yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (12)].d),
(yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0.,
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[(4) - (16)].d),
0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (16)].d),
0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (16)].d),
0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[(4) - (18)].d),
(yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (18)].d),
(yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.QuadToTri = NO_QUADTRI;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (18)].d),
(yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d),
&extr, (yyval.l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
extr.mesh.ExtrudeMesh = true;
extr.mesh.NbLayer = 1;
extr.mesh.NbElmLayer.clear();
extr.mesh.hLayer.clear();

Christophe Geuzaine
committed
extr.mesh.ExtrudeMesh = true;
extr.mesh.NbLayer = List_Nbr((yyvsp[(3) - (7)].l));
if(List_Nbr((yyvsp[(3) - (7)].l)) == List_Nbr((yyvsp[(5) - (7)].l))){
extr.mesh.NbElmLayer.clear();
extr.mesh.hLayer.clear();
for(int i = 0; i < List_Nbr((yyvsp[(3) - (7)].l)); i++){
double d;
List_Read((yyvsp[(3) - (7)].l), i, &d);
extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1);
List_Read((yyvsp[(5) - (7)].l), i, &d);
extr.mesh.hLayer.push_back(d);
}
yymsg(0, "Wrong layer definition {%d, %d}", List_Nbr((yyvsp[(3) - (7)].l)), List_Nbr((yyvsp[(5) - (7)].l)));
List_Delete((yyvsp[(3) - (7)].l));
List_Delete((yyvsp[(5) - (7)].l));

Christophe Geuzaine
committed
yymsg(0, "Explicit region numbers in layers are deprecated");
extr.mesh.NbLayer = List_Nbr((yyvsp[(3) - (9)].l));
if(List_Nbr((yyvsp[(3) - (9)].l)) == List_Nbr((yyvsp[(5) - (9)].l)) && List_Nbr((yyvsp[(3) - (9)].l)) == List_Nbr((yyvsp[(7) - (9)].l))){
extr.mesh.NbElmLayer.clear();
extr.mesh.hLayer.clear();
for(int i = 0; i < List_Nbr((yyvsp[(3) - (9)].l)); i++){
double d;
List_Read((yyvsp[(3) - (9)].l), i, &d);
extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1);
List_Read((yyvsp[(7) - (9)].l), i, &d);
extr.mesh.hLayer.push_back(d);
}
yymsg(0, "Wrong layer definition {%d, %d, %d}", List_Nbr((yyvsp[(3) - (9)].l)),
List_Nbr((yyvsp[(5) - (9)].l)), List_Nbr((yyvsp[(7) - (9)].l)));
List_Delete((yyvsp[(3) - (9)].l));
List_Delete((yyvsp[(5) - (9)].l));
List_Delete((yyvsp[(7) - (9)].l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
extr.mesh.QuadToTri = QUADTRI_DBL_1;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
extr.mesh.QuadToTri = QUADTRI_DBL_1_RECOMB;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
extr.mesh.QuadToTri = QUADTRI_SNGL_1;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
extr.mesh.QuadToTri = QUADTRI_SNGL_1_RECOMB;

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed
yymsg(0, "Surface %d already exists", num);
Surface *s = Create_Surface(num, MSH_SURF_DISCRETE);
Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s);
extr.mesh.Holes[num].first = (yyvsp[(8) - (9)].d);
extr.mesh.Holes[num].second.clear();
for(int i = 0; i < List_Nbr((yyvsp[(6) - (9)].l)); i++){
double d;
List_Read((yyvsp[(6) - (9)].l), i, &d);
extr.mesh.Holes[num].second.push_back((int)d);
}

Christophe Geuzaine
committed
{
if(!strcmp((yyvsp[(2) - (6)].c), "Index"))
extr.mesh.BoundaryLayerIndex = (yyvsp[(4) - (6)].d);
else if(!strcmp((yyvsp[(2) - (6)].c), "View"))
extr.mesh.ViewIndex = (yyvsp[(4) - (6)].d);
Free((yyvsp[(2) - (6)].c));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
if(!strcmp((yyvsp[(2) - (3)].c), "Progression") || !strcmp((yyvsp[(2) - (3)].c), "Power"))
(yyval.v)[0] = 1.;
else if(!strcmp((yyvsp[(2) - (3)].c), "Bump"))
(yyval.v)[0] = 2.;
else{
yymsg(0, "Unknown transfinite mesh type");
(yyval.v)[0] = 1.;
(yyval.v)[1] = (yyvsp[(3) - (3)].d);
Free((yyvsp[(2) - (3)].c));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
if(!strcmp((yyvsp[(1) - (1)].c), "Right"))
(yyval.i) = 1;
else if(!strcmp((yyvsp[(1) - (1)].c), "Left"))
(yyval.i) = -1;
else // alternated
(yyval.i) = 0;
Free((yyvsp[(1) - (1)].c));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(1, 1, sizeof(double));

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(2) - (2)].l);

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int type = (int)(yyvsp[(6) - (7)].v)[0];
double coef = fabs((yyvsp[(6) - (7)].v)[1]);
if(!(yyvsp[(3) - (7)].l)){
List_T *tmp = Tree2List(GModel::current()->getGEOInternals()->Curves);
if(List_Nbr(tmp)){
for(int i = 0; i < List_Nbr(tmp); i++){
Curve *c;
List_Read(tmp, i, &c);
c->Method = MESH_TRANSFINITE;
c->nbPointsTransfinite = ((yyvsp[(5) - (7)].d) > 2) ? (int)(yyvsp[(5) - (7)].d) : 2;
c->typeTransfinite = type;
c->coeffTransfinite = coef;
}
}
for(GModel::eiter it = GModel::current()->firstEdge();
it != GModel::current()->lastEdge(); it++){
(*it)->meshAttributes.Method = MESH_TRANSFINITE;
(*it)->meshAttributes.nbPointsTransfinite = ((yyvsp[(5) - (7)].d) > 2) ? (int)(yyvsp[(5) - (7)].d) : 2;
(*it)->meshAttributes.typeTransfinite = type;
(*it)->meshAttributes.coeffTransfinite = coef;
List_Delete(tmp);
}
else{
for(int i = 0; i < List_Nbr((yyvsp[(3) - (7)].l)); i++){
double d;
List_Read((yyvsp[(3) - (7)].l), i, &d);
int j = (int)fabs(d);

Christophe Geuzaine
committed
for(int sign = -1; sign <= 1; sign += 2){
Curve *c = FindCurve(sign * j);
if(c){
c->Method = MESH_TRANSFINITE;
c->nbPointsTransfinite = ((yyvsp[(5) - (7)].d) > 2) ? (int)(yyvsp[(5) - (7)].d) : 2;
c->typeTransfinite = type * sign(d);
c->coeffTransfinite = coef;
}
else{
GEdge *ge = GModel::current()->getEdgeByTag(sign * j);
if(ge){
ge->meshAttributes.Method = MESH_TRANSFINITE;
ge->meshAttributes.nbPointsTransfinite = ((yyvsp[(5) - (7)].d) > 2) ? (int)(yyvsp[(5) - (7)].d) : 2;
ge->meshAttributes.typeTransfinite = type * sign(d);
ge->meshAttributes.coeffTransfinite = coef;
}
else if(sign > 0)

Christophe Geuzaine
committed
yymsg(0, "Unknown line %d", j);
}
}
}
List_Delete((yyvsp[(3) - (7)].l));

Christophe Geuzaine
committed
int k = List_Nbr((yyvsp[(4) - (6)].l));
if(k != 0 && k != 3 && k != 4){
yymsg(0, "Wrong definition of Transfinite Surface: 0, 3 or 4 points needed");
if(!(yyvsp[(3) - (6)].l)){
List_T *tmp = Tree2List(GModel::current()->getGEOInternals()->Surfaces);
if(List_Nbr(tmp)){
for(int i = 0; i < List_Nbr(tmp); i++){
Surface *s;
List_Read(tmp, i, &s);
s->Method = MESH_TRANSFINITE;
s->Recombine_Dir = (yyvsp[(5) - (6)].i);
List_Reset(s->TrsfPoints);
for(GModel::fiter it = GModel::current()->firstFace();
it != GModel::current()->lastFace(); it++){
(*it)->meshAttributes.Method = MESH_TRANSFINITE;
(*it)->meshAttributes.transfiniteArrangement = (yyvsp[(5) - (6)].i);
}
}
List_Delete(tmp);
}
else{
for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){
double d;
List_Read((yyvsp[(3) - (6)].l), i, &d);
Surface *s = FindSurface((int)d);
if(s){
s->Method = MESH_TRANSFINITE;
s->Recombine_Dir = (yyvsp[(5) - (6)].i);
List_Reset(s->TrsfPoints);
for(int j = 0; j < k; j++){
double p;
List_Read((yyvsp[(4) - (6)].l), j, &p);
Vertex *v = FindPoint((int)fabs(p));
if(v)
List_Add(s->TrsfPoints, &v);
else
yymsg(0, "Unknown point %d", (int)fabs(p));
}
}
else{
GFace *gf = GModel::current()->getFaceByTag((int)d);
if(gf){
gf->meshAttributes.Method = MESH_TRANSFINITE;
gf->meshAttributes.transfiniteArrangement = (yyvsp[(5) - (6)].i);
for(int j = 0; j < k; j++){
double p;
List_Read((yyvsp[(4) - (6)].l), j, &p);
GVertex *gv = GModel::current()->getVertexByTag((int)fabs(p));
if(gv)
gf->meshAttributes.corners.push_back(gv);
else
yymsg(0, "Unknown point %d", (int)fabs(p));
}
}
else
yymsg(0, "Unknown surface %d", (int)d);
}
List_Delete((yyvsp[(3) - (6)].l));
List_Delete((yyvsp[(4) - (6)].l));

Christophe Geuzaine
committed
yymsg(1, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)");

Christophe Geuzaine
committed
int k = List_Nbr((yyvsp[(4) - (5)].l));
if(k != 0 && k != 6 && k != 8){
yymsg(0, "Wrong definition of Transfinite Volume: "
"%d points instead of 6 or 8", k);
if(!(yyvsp[(3) - (5)].l)){
List_T *tmp = Tree2List(GModel::current()->getGEOInternals()->Volumes);
if(List_Nbr(tmp)){
for(int i = 0; i < List_Nbr(tmp); i++){
Volume *v;
List_Read(tmp, i, &v);
v->Method = MESH_TRANSFINITE;
List_Reset(v->TrsfPoints);
}
}
else{
for(GModel::riter it = GModel::current()->firstRegion();
it != GModel::current()->lastRegion(); it++){
(*it)->meshAttributes.Method = MESH_TRANSFINITE;
}
}
List_Delete(tmp);
}
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
for(int i = 0; i < List_Nbr((yyvsp[(3) - (5)].l)); i++){
double d;
List_Read((yyvsp[(3) - (5)].l), i, &d);
Volume *v = FindVolume((int)d);
if(v){
v->Method = MESH_TRANSFINITE;
List_Reset(v->TrsfPoints);
for(int i = 0; i < k; i++){
double p;
List_Read((yyvsp[(4) - (5)].l), i, &p);
Vertex *vert = FindPoint((int)fabs(p));
if(vert)
List_Add(v->TrsfPoints, &vert);
else
yymsg(0, "Unknown point %d", (int)fabs(p));
}
}
else{
GRegion *gr = GModel::current()->getRegionByTag((int)d);
if(gr){
gr->meshAttributes.Method = MESH_TRANSFINITE;
for(int i = 0; i < k; i++){
double p;
List_Read((yyvsp[(4) - (5)].l), i, &p);
GVertex *gv = GModel::current()->getVertexByTag((int)fabs(p));
if(gv)
gr->meshAttributes.corners.push_back(gv);
else
yymsg(0, "Unknown point %d", (int)fabs(p));
}
}
yymsg(0, "Unknown volume %d", (int)d);
List_Delete((yyvsp[(3) - (5)].l));
List_Delete((yyvsp[(4) - (5)].l));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
{
if(!(yyvsp[(2) - (3)].l)){
List_T *tmp = Tree2List(GModel::current()->getGEOInternals()->Volumes);
if(List_Nbr(tmp)){
for(int i = 0; i < List_Nbr(tmp); i++){
Volume *v;
List_Read(tmp, i, &v);
v->QuadTri = TRANSFINITE_QUADTRI_1;
}
}
else{
for(GModel::riter it = GModel::current()->firstRegion();
it != GModel::current()->lastRegion(); it++)
(*it)->meshAttributes.QuadTri = TRANSFINITE_QUADTRI_1;
}
List_Delete(tmp);
}
else{
for(int i = 0; i < List_Nbr((yyvsp[(2) - (3)].l)); i++){
double d;
List_Read((yyvsp[(2) - (3)].l), i, &d);
Volume *v = FindVolume((int)d);
if(v)
v->QuadTri = TRANSFINITE_QUADTRI_1;
else{
GRegion *gr = GModel::current()->getRegionByTag((int)d);
if(gr)
gr->meshAttributes.QuadTri = TRANSFINITE_QUADTRI_1;
else
yymsg(1, "Unknown region %d", (int)d);
}
}
List_Delete((yyvsp[(2) - (3)].l));
}

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed
if(!(yyvsp[(3) - (5)].l)){
List_T *tmp = Tree2List(GModel::current()->getGEOInternals()->Surfaces);
if(List_Nbr(tmp)){
for(int i = 0; i < List_Nbr(tmp); i++){
Surface *s;
List_Read(tmp, i, &s);
s->Recombine = 1;
s->RecombineAngle = (yyvsp[(4) - (5)].i);
}
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
for(GModel::fiter it = GModel::current()->firstFace();
it != GModel::current()->lastFace(); it++){
(*it)->meshAttributes.recombine = 1;
(*it)->meshAttributes.recombineAngle = (yyvsp[(4) - (5)].i);
}
}
List_Delete(tmp);
}
else{
for(int i = 0; i < List_Nbr((yyvsp[(3) - (5)].l)); i++){
double d;
List_Read((yyvsp[(3) - (5)].l), i, &d);
Surface *s = FindSurface((int)d);
if(s){
s->Recombine = 1;
s->RecombineAngle = (yyvsp[(4) - (5)].i);
}
else{
GFace *gf = GModel::current()->getFaceByTag((int)d);
if(gf){
gf->meshAttributes.recombine = 1;
gf->meshAttributes.recombineAngle = (yyvsp[(4) - (5)].i);
}
else
yymsg(1, "Unknown surface %d", (int)d);
List_Delete((yyvsp[(3) - (5)].l));

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(3) - (6)].l), i, &d);
int j = (int)d;
Surface *s = FindSurface(j);
if(s){
s->TransfiniteSmoothing = (int)(yyvsp[(5) - (6)].d);
}
else{
GFace *gf = GModel::current()->getFaceByTag(j);
if(gf)
gf->meshAttributes.transfiniteSmoothing = (int)(yyvsp[(5) - (6)].d);
else
yymsg(1, "Unknown surface %d", (int)(yyvsp[(5) - (6)].d));

Christophe Geuzaine
committed
if(List_Nbr((yyvsp[(5) - (6)].l)) != List_Nbr((yyvsp[(3) - (6)].l))){
yymsg(0, "Number of master (%d) different from number of slave (%d) lines",
List_Nbr((yyvsp[(5) - (6)].l)), List_Nbr((yyvsp[(3) - (6)].l)));
else{
for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){
double d_master, d_slave;
List_Read((yyvsp[(5) - (6)].l), i, &d_master);
List_Read((yyvsp[(3) - (6)].l), i, &d_slave);
int j_master = (int)d_master;
int j_slave = (int)d_slave;
Curve *c_slave = FindCurve(abs(j_slave));
if(c_slave){
c_slave->meshMaster = j_master;
}
else{
GEdge *ge = GModel::current()->getEdgeByTag(abs(j_slave));
if(ge) ge->setMeshMaster(j_master);
else yymsg(0, "Unknown line %d", j_slave);
}
}
}
List_Delete((yyvsp[(3) - (6)].l));
List_Delete((yyvsp[(5) - (6)].l));

Christophe Geuzaine
committed
if (List_Nbr((yyvsp[(5) - (12)].l)) != List_Nbr((yyvsp[(10) - (12)].l))){
yymsg(0, "Number of master surface edges (%d) different from number of "
"slave (%d) edges", List_Nbr((yyvsp[(10) - (12)].l)), List_Nbr((yyvsp[(5) - (12)].l)));
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
int j_master = (int)(yyvsp[(8) - (12)].d);
int j_slave = (int)(yyvsp[(3) - (12)].d);
Surface *s_slave = FindSurface(abs(j_slave));
if(s_slave){
s_slave->meshMaster = j_master;
for (int i = 0; i < List_Nbr((yyvsp[(5) - (12)].l)); i++){
double dm, ds;
List_Read((yyvsp[(5) - (12)].l), i, &ds);
List_Read((yyvsp[(10) - (12)].l), i, &dm);
s_slave->edgeCounterparts[(int)ds] = (int)dm;
}
}
else{
GFace *gf = GModel::current()->getFaceByTag(abs(j_slave));
if(gf){
gf->setMeshMaster(j_master);
for (int i = 0; i < List_Nbr((yyvsp[(5) - (12)].l)); i++){
double dm, ds;
List_Read((yyvsp[(5) - (12)].l), i, &ds);
List_Read((yyvsp[(10) - (12)].l), i, &dm);
gf->edgeCounterparts[(int)ds] = (int)dm;
}
}
else yymsg(0, "Unknown surface %d", j_slave);
}
List_Delete((yyvsp[(5) - (12)].l));
List_Delete((yyvsp[(10) - (12)].l));

Christophe Geuzaine
committed
setSurfaceEmbeddedPoints(s, (yyvsp[(3) - (10)].l));
}
else{
GFace *gf = GModel::current()->getFaceByTag((int)(yyvsp[(8) - (10)].d));
if(gf){
for(int i = 0; i < List_Nbr((yyvsp[(3) - (10)].l)); i++){
int iPoint;
List_Read((yyvsp[(3) - (10)].l), i, &iPoint);
GVertex *gv = GModel::current()->getVertexByTag(iPoint);
if(gv)
gf->addEmbeddedVertex(gv);
else
yymsg(0, "Unknown point %d", iPoint);
}
}
else
yymsg(0, "Unknown surface %d", (int)(yyvsp[(8) - (10)].d));
}

Christophe Geuzaine
committed
setSurfaceEmbeddedCurves(s, (yyvsp[(3) - (10)].l));
}
else{
GFace *gf = GModel::current()->getFaceByTag((int)(yyvsp[(8) - (10)].d));
if(gf){
for(int i = 0; i < List_Nbr((yyvsp[(3) - (10)].l)); i++){
int iCurve;
List_Read((yyvsp[(3) - (10)].l), i, &iCurve);
GEdge *ge = GModel::current()->getEdgeByTag(iCurve);
if(ge)
gf->addEmbeddedEdge(ge);
else
yymsg(0, "Unknown line %d", iCurve);
}
}
else
yymsg(0, "Unknown surface %d", (int)(yyvsp[(8) - (10)].d));
}

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
ReplaceAllDuplicates();

Christophe Geuzaine
committed
{
if(!strcmp((yyvsp[(2) - (3)].c), "Geometry"))
ReplaceAllDuplicates();
else if(!strcmp((yyvsp[(2) - (3)].c), "Mesh"))
GModel::current()->removeDuplicateMeshVertices(CTX::instance()->geom.tolerance);
else
yymsg(0, "Unknown coherence command");
Free((yyvsp[(2) - (3)].c));

Christophe Geuzaine
committed
{
if(List_Nbr((yyvsp[(4) - (6)].l)) >= 2){
double d;
List_Read((yyvsp[(4) - (6)].l), 0, &d);
Vertex *target = FindPoint((int)d);
if(!target)
yymsg(0, "Could not find Point %d", (int)d);
else{
double x = target->Pos.X, y = target->Pos.Y, z = target->Pos.Z;
for(int i = 1; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){
List_Read((yyvsp[(4) - (6)].l), i, &d);
Vertex *source = FindPoint((int)d);
if(!source) yymsg(0, "Could not find Point %d", (int)d);
if(target && source){
source->Typ = target->Typ;
source->Pos.X = x;
source->Pos.Y = y;
source->Pos.Z = z;
source->boundaryLayerIndex = target->boundaryLayerIndex;
}
ExtrudeParams::normalsCoherence.push_back(SPoint3(x, y, z));
}
}
else
yymsg(0, "Need at least two points to merge");
ReplaceAllDuplicates();
List_Delete((yyvsp[(4) - (6)].l));

Christophe Geuzaine
committed
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (11)].l));
int item = 0;
List_Read(temp, i, &item);
domain.push_back(item);
}
List_Delete((yyvsp[(7) - (11)].l));
List_T *temp2 = ListOfDouble2ListOfInt((yyvsp[(9) - (11)].l));
int item = 0;
List_Read(temp2, i, &item);
subdomain.push_back(item);
}
List_Delete((yyvsp[(9) - (11)].l));
std::string fileName = "";
fileName = (yyvsp[(3) - (11)].c);
Homology* homology = new Homology(GModel::current(), domain, subdomain);
yymsg(0, "Gmsh needs to be configured with option Kbipack to use homology computation");

Christophe Geuzaine
committed
int item = 0;
List_Read(temp, i, &item);
domain.push_back(item);
}
int item = 0;
List_Read(temp2, i, &item);
subdomain.push_back(item);
}
std::string fileName = "";
fileName = (yyvsp[(3) - (11)].c);
Homology* homology = new Homology(GModel::current(), domain, subdomain);
homology->setFileName(fileName);
homology->findGenerators();
yymsg(0, "Gmsh needs to be configured with option Kbipack to use homology computation");

Christophe Geuzaine
committed
int item = 0;
List_Read(temp, i, &item);
domain.push_back(item);
}
int item = 0;
List_Read(temp2, i, &item);
subdomain.push_back(item);
}
std::string fileName = "";
fileName = (yyvsp[(3) - (11)].c);
Homology* homology = new Homology(GModel::current(), domain, subdomain);
homology->setFileName(fileName);
homology->findDualGenerators();
yymsg(0, "Gmsh needs to be configured with option Kbipack to use homology computation");

Christophe Geuzaine
committed
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
{
List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (11)].l));
std::vector<int> domain;
for (int i = 0; i < List_Nbr(temp); i++){
int item = 0;
List_Read(temp, i, &item);
domain.push_back(item);
}
List_Delete((yyvsp[(7) - (11)].l));
List_Delete(temp);
List_T *temp2 = ListOfDouble2ListOfInt((yyvsp[(9) - (11)].l));
std::vector<int> subdomain;
for (int i = 0; i < List_Nbr(temp2); i++){
int item = 0;
List_Read(temp2, i, &item);
subdomain.push_back(item);
}
List_Delete((yyvsp[(9) - (11)].l));
List_Delete(temp2);
std::string fileName = "";
fileName = (yyvsp[(3) - (11)].c);
#if defined(HAVE_KBIPACK)
Homology* homology = new Homology(GModel::current(), domain, subdomain);
homology->setFileName(fileName);
homology->findHomSequence();
delete homology;
#else
yymsg(0, "Gmsh needs to be configured with option Kbipack to use homology computation");
#endif

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) - (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) + (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) * (yyvsp[(3) - (3)].d); }
break;

Christophe Geuzaine
committed
yymsg(0, "Division by zero in '%g / %g'", (yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d));
(yyval.d) = (yyvsp[(1) - (3)].d) / (yyvsp[(3) - (3)].d);

Christophe Geuzaine
committed
{ (yyval.d) = (int)(yyvsp[(1) - (3)].d) % (int)(yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = pow((yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) > (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) <= (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) >= (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) == (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) != (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) && (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (3)].d) || (yyvsp[(3) - (3)].d); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(1) - (5)].d) ? (yyvsp[(3) - (5)].d) : (yyvsp[(5) - (5)].d); }

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));}

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; }

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));}

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{ (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); }

Christophe Geuzaine
committed
{ (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; }

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(1) - (1)].c))){
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (1)].c));
(yyval.d) = 0.;

Christophe Geuzaine
committed
else{
if(gmsh_yysymbols[(yyvsp[(1) - (1)].c)].empty()){
yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (1)].c));
(yyval.d) = 0.;
}
else
(yyval.d) = gmsh_yysymbols[(yyvsp[(1) - (1)].c)][0];
}

Christophe Geuzaine
committed
sprintf(tmpstring, "%s_%d", (yyvsp[(1) - (5)].c), (int)(yyvsp[(4) - (5)].d)) ;
if(!gmsh_yysymbols.count(tmpstring)){
yymsg(0, "Unknown variable '%s'", tmpstring);
(yyval.d) = 0.;

Christophe Geuzaine
committed
else{
if(gmsh_yysymbols[tmpstring].empty()){
yymsg(0, "Uninitialized variable '%s'", tmpstring);
(yyval.d) = 0.;
}
else
(yyval.d) = gmsh_yysymbols[tmpstring][0];
}

Christophe Geuzaine
committed
int index = (int)(yyvsp[(3) - (4)].d);
if(!gmsh_yysymbols.count((yyvsp[(1) - (4)].c))){
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (4)].c));
(yyval.d) = 0.;
else if((int)gmsh_yysymbols[(yyvsp[(1) - (4)].c)].size() < index + 1){
yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (4)].c), index);
(yyval.d) = 0.;
(yyval.d) = gmsh_yysymbols[(yyvsp[(1) - (4)].c)][index];

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(2) - (4)].c))){
yymsg(0, "Unknown variable '%s'", (yyvsp[(2) - (4)].c));
(yyval.d) = 0.;
(yyval.d) = gmsh_yysymbols[(yyvsp[(2) - (4)].c)].size();

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(1) - (2)].c))){
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (2)].c));
(yyval.d) = 0.;

Christophe Geuzaine
committed
else{
if(gmsh_yysymbols[(yyvsp[(1) - (2)].c)].empty()){
yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (2)].c));
(yyval.d) = 0.;
}
else
(yyval.d) = (gmsh_yysymbols[(yyvsp[(1) - (2)].c)][0] += (yyvsp[(2) - (2)].i));
}

Christophe Geuzaine
committed
int index = (int)(yyvsp[(3) - (5)].d);
if(!gmsh_yysymbols.count((yyvsp[(1) - (5)].c))){
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (5)].c));
(yyval.d) = 0.;
else if((int)gmsh_yysymbols[(yyvsp[(1) - (5)].c)].size() < index + 1){
yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (5)].c), index);
(yyval.d) = 0.;
(yyval.d) = (gmsh_yysymbols[(yyvsp[(1) - (5)].c)][index] += (yyvsp[(5) - (5)].i));

Christophe Geuzaine
committed
NumberOption(GMSH_GET, (yyvsp[(1) - (3)].c), 0, (yyvsp[(3) - (3)].c), (yyval.d));

Christophe Geuzaine
committed
NumberOption(GMSH_GET, (yyvsp[(1) - (6)].c), (int)(yyvsp[(3) - (6)].d), (yyvsp[(6) - (6)].c), (yyval.d));

Christophe Geuzaine
committed
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (4)].c), 0, (yyvsp[(3) - (4)].c), d)){
d += (yyvsp[(4) - (4)].i);
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (4)].c), 0, (yyvsp[(3) - (4)].c), d);
(yyval.d) = d;

Christophe Geuzaine
committed
double d = 0.;
if(NumberOption(GMSH_GET, (yyvsp[(1) - (7)].c), (int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].c), d)){
d += (yyvsp[(7) - (7)].i);
NumberOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (7)].c), (int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].c), d);
(yyval.d) = d;

Christophe Geuzaine
committed
(yyval.d) = Msg::GetValue((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d));

Christophe Geuzaine
committed
{
memcpy((yyval.v), (yyvsp[(1) - (1)].v), 5*sizeof(double));

Christophe Geuzaine
committed
{
for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[(2) - (2)].v)[i];

Christophe Geuzaine
committed
{
for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i];

Christophe Geuzaine
committed
{
for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] - (yyvsp[(3) - (3)].v)[i];

Christophe Geuzaine
committed
{
for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] + (yyvsp[(3) - (3)].v)[i];

Christophe Geuzaine
committed
{
(yyval.v)[0] = (yyvsp[(2) - (11)].d); (yyval.v)[1] = (yyvsp[(4) - (11)].d); (yyval.v)[2] = (yyvsp[(6) - (11)].d); (yyval.v)[3] = (yyvsp[(8) - (11)].d); (yyval.v)[4] = (yyvsp[(10) - (11)].d);

Christophe Geuzaine
committed
{
(yyval.v)[0] = (yyvsp[(2) - (9)].d); (yyval.v)[1] = (yyvsp[(4) - (9)].d); (yyval.v)[2] = (yyvsp[(6) - (9)].d); (yyval.v)[3] = (yyvsp[(8) - (9)].d); (yyval.v)[4] = 1.0;

Christophe Geuzaine
committed
{
(yyval.v)[0] = (yyvsp[(2) - (7)].d); (yyval.v)[1] = (yyvsp[(4) - (7)].d); (yyval.v)[2] = (yyvsp[(6) - (7)].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0;

Christophe Geuzaine
committed
{
(yyval.v)[0] = (yyvsp[(2) - (7)].d); (yyval.v)[1] = (yyvsp[(4) - (7)].d); (yyval.v)[2] = (yyvsp[(6) - (7)].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0;

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(List_T*));
List_Add((yyval.l), &((yyvsp[(1) - (1)].l)));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(double));
List_Add((yyval.l), &((yyvsp[(1) - (1)].d)));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(3) - (4)].l);
for(int i = 0; i < List_Nbr((yyval.l)); i++){
double *pd = (double*)List_Pointer((yyval.l), i);
(*pd) = - (*pd);

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(4) - (5)].l);
for(int i = 0; i < List_Nbr((yyval.l)); i++){
double *pd = (double*)List_Pointer((yyval.l), i);
(*pd) *= (yyvsp[(1) - (5)].d);

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(1) - (1)].l);
break;

Christophe Geuzaine
committed
{
if(!strcmp((yyvsp[(1) - (1)].c), "*") || !strcmp((yyvsp[(1) - (1)].c), "all"))
(yyval.l) = 0;
else{
yyerror("Unknown special string for list replacement");
(yyval.l) = List_Create(2, 1, sizeof(double));
}
break;

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(2) - (2)].l);
for(int i = 0; i < List_Nbr((yyval.l)); i++){
double *pd = (double*)List_Pointer((yyval.l), i);
(*pd) = - (*pd);

Christophe Geuzaine
committed
{
(yyval.l) = (yyvsp[(3) - (3)].l);
for(int i = 0; i < List_Nbr((yyval.l)); i++){
double *pd = (double*)List_Pointer((yyval.l), i);
(*pd) *= (yyvsp[(1) - (3)].d);

Christophe Geuzaine
committed
for(double d = (yyvsp[(1) - (3)].d); ((yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d)) ? (d <= (yyvsp[(3) - (3)].d)) : (d >= (yyvsp[(3) - (3)].d));
((yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d)) ? (d += 1.) : (d -= 1.))
List_Add((yyval.l), &d);

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(double));
if(!(yyvsp[(5) - (5)].d) || ((yyvsp[(1) - (5)].d) < (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) < 0) || ((yyvsp[(1) - (5)].d) > (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) > 0)){
yymsg(0, "Wrong increment in '%g:%g:%g'", (yyvsp[(1) - (5)].d), (yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].d));
List_Add((yyval.l), &((yyvsp[(1) - (5)].d)));
for(double d = (yyvsp[(1) - (5)].d); ((yyvsp[(5) - (5)].d) > 0) ? (d <= (yyvsp[(3) - (5)].d)) : (d >= (yyvsp[(3) - (5)].d)); d += (yyvsp[(5) - (5)].d))
List_Add((yyval.l), &d);

Christophe Geuzaine
committed
// Returns the coordinates of a point and fills a list with it.
// This allows to ensure e.g. that relative point positions are
// always conserved
Vertex *v = FindPoint((int)(yyvsp[(3) - (4)].d));
(yyval.l) = List_Create(3, 1, sizeof(double));
yymsg(0, "Unknown point '%d'", (int)(yyvsp[(3) - (4)].d));
double d = 0.0;
List_Add((yyval.l), &d);
List_Add((yyval.l), &d);
List_Add((yyval.l), &d);
List_Add((yyval.l), &v->Pos.X);
List_Add((yyval.l), &v->Pos.Y);
List_Add((yyval.l), &v->Pos.Z);

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = GetAllEntityNumbers(0);

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = GetAllEntityNumbers(1);

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = GetAllEntityNumbers(2);

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
{
(yyval.l) = GetAllEntityNumbers(3);

Christophe Geuzaine
committed
break;

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(List_Nbr((yyvsp[(1) - (1)].l)), 1, sizeof(double));
for(int i = 0; i < List_Nbr((yyvsp[(1) - (1)].l)); i++){
Shape *s = (Shape*) List_Pointer((yyvsp[(1) - (1)].l), i);
double d = s->Num;
List_Add((yyval.l), &d);

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(List_Nbr((yyvsp[(1) - (1)].l)), 1, sizeof(double));
for(int i = 0; i < List_Nbr((yyvsp[(1) - (1)].l)); i++){
Shape *s = (Shape*) List_Pointer((yyvsp[(1) - (1)].l), i);
double d = s->Num;
List_Add((yyval.l), &d);

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(1) - (3)].c)))
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (3)].c));
for(unsigned int i = 0; i < gmsh_yysymbols[(yyvsp[(1) - (3)].c)].size(); i++)
List_Add((yyval.l), &gmsh_yysymbols[(yyvsp[(1) - (3)].c)][i]);

Christophe Geuzaine
committed
if(!gmsh_yysymbols.count((yyvsp[(1) - (6)].c)))
yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (6)].c));
for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){
int index = (int)(*(double*)List_Pointer_Fast((yyvsp[(4) - (6)].l), i));
if((int)gmsh_yysymbols[(yyvsp[(1) - (6)].c)].size() < index + 1)
yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (6)].c), index);
else
List_Add((yyval.l), &gmsh_yysymbols[(yyvsp[(1) - (6)].c)][index]);
}
Free((yyvsp[(1) - (6)].c));
List_Delete((yyvsp[(4) - (6)].l));

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(2, 1, sizeof(double));
List_Add((yyval.l), &((yyvsp[(1) - (1)].d)));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
double d;
List_Read((yyvsp[(3) - (3)].l), i, &d);
List_Add((yyval.l), &d);

Christophe Geuzaine
committed
(yyval.u) = CTX::instance()->packColor((int)(yyvsp[(2) - (9)].d), (int)(yyvsp[(4) - (9)].d), (int)(yyvsp[(6) - (9)].d), (int)(yyvsp[(8) - (9)].d));

Christophe Geuzaine
committed
(yyval.u) = CTX::instance()->packColor((int)(yyvsp[(2) - (7)].d), (int)(yyvsp[(4) - (7)].d), (int)(yyvsp[(6) - (7)].d), 255);

Christophe Geuzaine
committed
(yyval.u) = GetColorForString(ColorString, -1, (yyvsp[(1) - (1)].c), &flag);
if(flag) yymsg(0, "Unknown color '%s'", (yyvsp[(1) - (1)].c));

Christophe Geuzaine
committed
unsigned int val = 0;
ColorOption(GMSH_GET, (yyvsp[(1) - (5)].c), 0, (yyvsp[(5) - (5)].c), val);
(yyval.u) = val;

Christophe Geuzaine
committed

Christophe Geuzaine
committed
GmshColorTable *ct = GetColorTable((int)(yyvsp[(3) - (6)].d));

Christophe Geuzaine
committed
if(!ct)
yymsg(0, "View[%d] does not exist", (int)(yyvsp[(3) - (6)].d));
for(int i = 0; i < ct->size; i++)
List_Add((yyval.l), &ct->table[i]);

Christophe Geuzaine
committed
{
(yyval.l) = List_Create(256, 10, sizeof(unsigned int));
List_Add((yyval.l), &((yyvsp[(1) - (1)].u)));

Christophe Geuzaine
committed

Christophe Geuzaine
committed

Christophe Geuzaine
committed
if(!gmsh_yystringsymbols.count((yyvsp[(1) - (1)].c))){
yymsg(0, "Unknown string variable '%s'", (yyvsp[(1) - (1)].c));
(yyval.c) = (yyvsp[(1) - (1)].c);
std::string val = gmsh_yystringsymbols[(yyvsp[(1) - (1)].c)];
(yyval.c) = (char *)Malloc((val.size() + 1) * sizeof(char));
strcpy((yyval.c), val.c_str());
Free((yyvsp[(1) - (1)].c));

Christophe Geuzaine
committed
StringOption(GMSH_GET, (yyvsp[(1) - (3)].c), 0, (yyvsp[(3) - (3)].c), out);
(yyval.c) = (char*)Malloc((out.size() + 1) * sizeof(char));
strcpy((yyval.c), out.c_str());
Free((yyvsp[(1) - (3)].c)); Free((yyvsp[(3) - (3)].c));

Christophe Geuzaine
committed
StringOption(GMSH_GET, (yyvsp[(1) - (6)].c), (int)(yyvsp[(3) - (6)].d), (yyvsp[(6) - (6)].c), out);
(yyval.c) = (char*)Malloc((out.size() + 1) * sizeof(char));
strcpy((yyval.c), out.c_str());
Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(6) - (6)].c));

Christophe Geuzaine
committed

Christophe Geuzaine
committed
(yyval.c) = (char *)Malloc(32 * sizeof(char));
strcpy((yyval.c), ctime(&now));
(yyval.c)[strlen((yyval.c)) - 1] = '\0';

Christophe Geuzaine
committed
const char *env = GetEnvironmentVar((yyvsp[(3) - (4)].c));
if(!env) env = "";
(yyval.c) = (char *)Malloc((sizeof(env) + 1) * sizeof(char));
strcpy((yyval.c), env);
Free((yyvsp[(3) - (4)].c));

Christophe Geuzaine
committed
{
std::string s = Msg::GetString((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].c));
(yyval.c) = (char *)Malloc((s.size() + 1) * sizeof(char));
strcpy((yyval.c), s.c_str());
Free((yyvsp[(3) - (6)].c));
Free((yyvsp[(5) - (6)].c));

Christophe Geuzaine
committed
(yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (6)].c)) + strlen((yyvsp[(5) - (6)].c)) + 1) * sizeof(char));
strcpy((yyval.c), (yyvsp[(3) - (6)].c));
strcat((yyval.c), (yyvsp[(5) - (6)].c));
Free((yyvsp[(3) - (6)].c));
Free((yyvsp[(5) - (6)].c));

Christophe Geuzaine
committed
(yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].c)) + 1) * sizeof(char));
for(i = strlen((yyvsp[(3) - (4)].c)) - 1; i >= 0; i--){
if((yyvsp[(3) - (4)].c)[i] == '.'){
strncpy((yyval.c), (yyvsp[(3) - (4)].c), i);
(yyval.c)[i]='\0';
break;
}
if(i <= 0) strcpy((yyval.c), (yyvsp[(3) - (4)].c));
Free((yyvsp[(3) - (4)].c));

Christophe Geuzaine
committed
(yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].c)) + 1) * sizeof(char));
for(i = strlen((yyvsp[(3) - (4)].c)) - 1; i >= 0; i--){
if((yyvsp[(3) - (4)].c)[i] == '/' || (yyvsp[(3) - (4)].c)[i] == '\\')
break;
strcpy((yyval.c), (yyvsp[(3) - (4)].c));
strcpy((yyval.c), &(yyvsp[(3) - (4)].c)[i+1]);

Christophe Geuzaine
committed

Christophe Geuzaine
committed
int i = PrintListOfDouble((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].l), tmpstring);
yymsg(0, "Too few arguments in Sprintf");
(yyval.c) = (yyvsp[(3) - (6)].c);
yymsg(0, "%d extra argument%s in Sprintf", i, (i > 1) ? "s" : "");
(yyval.c) = (yyvsp[(3) - (6)].c);
(yyval.c) = (char*)Malloc((strlen(tmpstring) + 1) * sizeof(char));
strcpy((yyval.c), tmpstring);
Free((yyvsp[(3) - (6)].c));

Christophe Geuzaine
committed
/* Line 1806 of yacc.c */
#line 9981 "Gmsh.tab.cpp"
/* User semantic actions sometimes alter yychar, and that requires
that yytoken be updated with the new translation. We take the
approach of translating immediately before every use of yytoken.
One alternative is translating here after every semantic action,
but that translation would be missed if the semantic action invokes
YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
incorrect destructor might then be invoked immediately. In the
case of YYERROR or YYBACKUP, subsequent parser actions might lead
to an incorrect destructor call or verbose syntax error message
before the lookahead is translated. */
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
YYPOPSTACK (yylen);
yylen = 0;
YY_STACK_PRINT (yyss, yyssp);
*++yyvsp = yyval;
/* Now `shift' the result of the reduction. Determine what state
that goes to, based on the state we popped back to and the rule
number reduced by. */
yyn = yyr1[yyn];
yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
yystate = yytable[yystate];
else
goto yynewstate;
/*------------------------------------.
| yyerrlab -- here on detecting error |
`------------------------------------*/
yyerrlab:
/* Make sure we have latest lookahead translation. See comments at
user semantic actions for why this is necessary. */
yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
/* If not already recovering from an error, report this error. */
if (!yyerrstatus)
{
++yynerrs;
#if ! YYERROR_VERBOSE
yyerror (YY_("syntax error"));
#else
# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
yyssp, yytoken)
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
char const *yymsgp = YY_("syntax error");
int yysyntax_error_status;
yysyntax_error_status = YYSYNTAX_ERROR;
if (yysyntax_error_status == 0)
yymsgp = yymsg;
else if (yysyntax_error_status == 1)
{
if (yymsg != yymsgbuf)
YYSTACK_FREE (yymsg);
yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
if (!yymsg)
{
yymsg = yymsgbuf;
yymsg_alloc = sizeof yymsgbuf;
yysyntax_error_status = 2;
}
else
{
yysyntax_error_status = YYSYNTAX_ERROR;
yymsgp = yymsg;
}
}
yyerror (yymsgp);
if (yysyntax_error_status == 2)
goto yyexhaustedlab;
if (yyerrstatus == 3)
{

Christophe Geuzaine
committed
/* If just tried and failed to reuse lookahead token after an
error, discard it. */
{
/* Return failure if at end of input. */
if (yychar == YYEOF)
YYABORT;
}
{
yydestruct ("Error: discarding",
yytoken, &yylval);
yychar = YYEMPTY;
}

Christophe Geuzaine
committed
/* Else will try to reuse lookahead token after shifting the error
/*---------------------------------------------------.
| yyerrorlab -- error raised explicitly by YYERROR. |
`---------------------------------------------------*/
yyerrorlab:
/* Pacify compilers like GCC when the user code never invokes
YYERROR and the label yyerrorlab therefore never appears in user
code. */
if (/*CONSTCOND*/ 0)
goto yyerrorlab;
/* Do not reclaim the symbols of the rule which action triggered
this YYERROR. */
YYPOPSTACK (yylen);
yylen = 0;
YY_STACK_PRINT (yyss, yyssp);
yystate = *yyssp;
goto yyerrlab1;
/*-------------------------------------------------------------.
| yyerrlab1 -- common code for both syntax error and YYERROR. |
`-------------------------------------------------------------*/
yyerrlab1:
yyerrstatus = 3; /* Each real token shifted decrements this. */
{
yyn += YYTERROR;
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
{
yyn = yytable[yyn];
if (0 < yyn)
break;
}
}
/* Pop the current state because it cannot handle the error token. */
if (yyssp == yyss)
yystos[yystate], yyvsp);
YYPOPSTACK (1);
yystate = *yyssp;
YY_STACK_PRINT (yyss, yyssp);
}
/* Shift the error token. */
YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
yystate = yyn;
goto yynewstate;
/*-------------------------------------.
| yyacceptlab -- YYACCEPT comes here. |
`-------------------------------------*/
yyacceptlab:
yyresult = 0;
goto yyreturn;
/*-----------------------------------.
| yyabortlab -- YYABORT comes here. |
`-----------------------------------*/
yyabortlab:
yyresult = 1;
goto yyreturn;

Christophe Geuzaine
committed
#if !defined(yyoverflow) || YYERROR_VERBOSE
/*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here. |
`-------------------------------------------------*/
yyexhaustedlab:
yyerror (YY_("memory exhausted"));
yyresult = 2;
/* Fall through. */

Christophe Geuzaine
committed
if (yychar != YYEMPTY)
{
/* Make sure we have latest lookahead translation. See comments at
user semantic actions for why this is necessary. */
yytoken = YYTRANSLATE (yychar);
yydestruct ("Cleanup: discarding lookahead",
yytoken, &yylval);
}
/* Do not reclaim the symbols of the rule which action triggered
this YYABORT or YYACCEPT. */
YYPOPSTACK (yylen);
YY_STACK_PRINT (yyss, yyssp);
while (yyssp != yyss)
yystos[*yyssp], yyvsp);
if (yymsg != yymsgbuf)
YYSTACK_FREE (yymsg);
#endif
/* Make sure YYID is used. */
return YYID (yyresult);
}

Christophe Geuzaine
committed
int PrintListOfDouble(char *format, List_T *list, char *buffer)
{
buffer[j] = '\0';
while(j < (int)strlen(format) && format[j] != '%') j++;
strncpy(buffer, format, j);
buffer[j]='\0';
strcat(buffer, "%");
j++;
strncpy(tmp1, &(format[k]), j-k);
tmp1[j-k] = '\0';
sprintf(tmp2, tmp1, *(double*)List_Pointer(list, i));
strcat(buffer, tmp2);
return List_Nbr(list)-i;
}
if(j != (int)strlen(format))
return -1;
return 0;
}

Christophe Geuzaine
committed
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list)
{
int M = List_Nbr(list);
int N = 0;
for(int i = 0; i < M; i++){
List_T *line = *(List_T**)List_Pointer_Fast(list, i);
N = std::max(N, List_Nbr(line));
}
for(int i = 0; i < M; i++){
List_T *line = *(List_T**)List_Pointer_Fast(list, i);
for(int j = 0; j < List_Nbr(line); j++){
double val;
List_Read(line, j, &val);
}
}
for(int i = 0; i < List_Nbr(list); i++)
List_Delete(*(List_T**)List_Pointer(list, i));
List_Delete(list);
return mat;
}
Msg::Error("'%s', line %d : %s (%s)", gmsh_yyname.c_str(), gmsh_yylineno - 1,
s, gmsh_yytext);
}
void yymsg(int level, const char *fmt, ...)
va_list args;
va_start(args, fmt);
vsprintf(tmp, fmt, args);
va_end(args);

Christophe Geuzaine
committed
if(level == 0){
Msg::Error("'%s', line %d : %s", gmsh_yyname.c_str(), gmsh_yylineno - 1, tmp);
gmsh_yyerrorstate++;
}
else
Msg::Warning("'%s', line %d : %s", gmsh_yyname.c_str(), gmsh_yylineno - 1, tmp);
}