/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 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 the Free Software Foundation; either version 2, 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* 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. 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. */ #define YYBISON_VERSION "2.3" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 0 /* Using locations. */ #define YYLSP_NEEDED 0 /* Substitute the variable and function names. */ #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 /* 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, 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, tList = 290, tPrintf = 291, tError = 292, tStr = 293, tSprintf = 294, tStrCat = 295, tStrPrefix = 296, tStrRelative = 297, tStrReplace = 298, tStrFind = 299, tStrCmp = 300, tTextAttributes = 301, tBoundingBox = 302, tDraw = 303, tSetChanged = 304, tToday = 305, tCpu = 306, tMemory = 307, tSyncModel = 308, tCreateTopology = 309, tCreateTopologyNoHoles = 310, tDistanceFunction = 311, tDefineConstant = 312, tUndefineConstant = 313, tPoint = 314, tCircle = 315, tEllipse = 316, tLine = 317, tSphere = 318, tPolarSphere = 319, tSurface = 320, tSpline = 321, tVolume = 322, tCharacteristic = 323, tLength = 324, tParametric = 325, tElliptic = 326, tRefineMesh = 327, tAdaptMesh = 328, tPlane = 329, tRuled = 330, tTransfinite = 331, tComplex = 332, tPhysical = 333, tCompound = 334, tPeriodic = 335, tUsing = 336, tPlugin = 337, tDegenerated = 338, tRecursive = 339, tRotate = 340, tTranslate = 341, tSymmetry = 342, tDilate = 343, tExtrude = 344, tLevelset = 345, tRecombine = 346, tSmoother = 347, tSplit = 348, tDelete = 349, tCoherence = 350, tIntersect = 351, tMeshAlgorithm = 352, tReverse = 353, tLayers = 354, tScaleLast = 355, tHole = 356, tAlias = 357, tAliasWithOptions = 358, tQuadTriAddVerts = 359, tQuadTriNoNewVerts = 360, tQuadTriSngl = 361, tQuadTriDbl = 362, tRecombLaterals = 363, tTransfQuadTri = 364, tText2D = 365, tText3D = 366, tInterpolationScheme = 367, tTime = 368, tCombine = 369, tBSpline = 370, tBezier = 371, tNurbs = 372, tNurbsOrder = 373, tNurbsKnots = 374, tColor = 375, tColorTable = 376, tFor = 377, tIn = 378, tEndFor = 379, tIf = 380, tEndIf = 381, tExit = 382, tAbort = 383, tField = 384, tReturn = 385, tCall = 386, tFunction = 387, tShow = 388, tHide = 389, tGetValue = 390, tGetEnv = 391, tGetString = 392, tHomology = 393, tCohomology = 394, tBetti = 395, tSetOrder = 396, tGMSH_MAJOR_VERSION = 397, tGMSH_MINOR_VERSION = 398, tGMSH_PATCH_VERSION = 399, tAFFECTDIVIDE = 400, tAFFECTTIMES = 401, tAFFECTMINUS = 402, tAFFECTPLUS = 403, tOR = 404, tAND = 405, tNOTEQUAL = 406, tEQUAL = 407, tGREATEROREQUAL = 408, tLESSOREQUAL = 409, UNARYPREC = 410, tMINUSMINUS = 411, tPLUSPLUS = 412 }; #endif /* Tokens. */ #define tDOUBLE 258 #define tSTRING 259 #define tBIGSTR 260 #define tEND 261 #define tAFFECT 262 #define tDOTS 263 #define tPi 264 #define tMPI_Rank 265 #define tMPI_Size 266 #define tEuclidian 267 #define tCoordinates 268 #define tExp 269 #define tLog 270 #define tLog10 271 #define tSqrt 272 #define tSin 273 #define tAsin 274 #define tCos 275 #define tAcos 276 #define tTan 277 #define tRand 278 #define tAtan 279 #define tAtan2 280 #define tSinh 281 #define tCosh 282 #define tTanh 283 #define tFabs 284 #define tFloor 285 #define tCeil 286 #define tFmod 287 #define tModulo 288 #define tHypot 289 #define tList 290 #define tPrintf 291 #define tError 292 #define tStr 293 #define tSprintf 294 #define tStrCat 295 #define tStrPrefix 296 #define tStrRelative 297 #define tStrReplace 298 #define tStrFind 299 #define tStrCmp 300 #define tTextAttributes 301 #define tBoundingBox 302 #define tDraw 303 #define tSetChanged 304 #define tToday 305 #define tCpu 306 #define tMemory 307 #define tSyncModel 308 #define tCreateTopology 309 #define tCreateTopologyNoHoles 310 #define tDistanceFunction 311 #define tDefineConstant 312 #define tUndefineConstant 313 #define tPoint 314 #define tCircle 315 #define tEllipse 316 #define tLine 317 #define tSphere 318 #define tPolarSphere 319 #define tSurface 320 #define tSpline 321 #define tVolume 322 #define tCharacteristic 323 #define tLength 324 #define tParametric 325 #define tElliptic 326 #define tRefineMesh 327 #define tAdaptMesh 328 #define tPlane 329 #define tRuled 330 #define tTransfinite 331 #define tComplex 332 #define tPhysical 333 #define tCompound 334 #define tPeriodic 335 #define tUsing 336 #define tPlugin 337 #define tDegenerated 338 #define tRecursive 339 #define tRotate 340 #define tTranslate 341 #define tSymmetry 342 #define tDilate 343 #define tExtrude 344 #define tLevelset 345 #define tRecombine 346 #define tSmoother 347 #define tSplit 348 #define tDelete 349 #define tCoherence 350 #define tIntersect 351 #define tMeshAlgorithm 352 #define tReverse 353 #define tLayers 354 #define tScaleLast 355 #define tHole 356 #define tAlias 357 #define tAliasWithOptions 358 #define tQuadTriAddVerts 359 #define tQuadTriNoNewVerts 360 #define tQuadTriSngl 361 #define tQuadTriDbl 362 #define tRecombLaterals 363 #define tTransfQuadTri 364 #define tText2D 365 #define tText3D 366 #define tInterpolationScheme 367 #define tTime 368 #define tCombine 369 #define tBSpline 370 #define tBezier 371 #define tNurbs 372 #define tNurbsOrder 373 #define tNurbsKnots 374 #define tColor 375 #define tColorTable 376 #define tFor 377 #define tIn 378 #define tEndFor 379 #define tIf 380 #define tEndIf 381 #define tExit 382 #define tAbort 383 #define tField 384 #define tReturn 385 #define tCall 386 #define tFunction 387 #define tShow 388 #define tHide 389 #define tGetValue 390 #define tGetEnv 391 #define tGetString 392 #define tHomology 393 #define tCohomology 394 #define tBetti 395 #define tSetOrder 396 #define tGMSH_MAJOR_VERSION 397 #define tGMSH_MINOR_VERSION 398 #define tGMSH_PATCH_VERSION 399 #define tAFFECTDIVIDE 400 #define tAFFECTTIMES 401 #define tAFFECTMINUS 402 #define tAFFECTPLUS 403 #define tOR 404 #define tAND 405 #define tNOTEQUAL 406 #define tEQUAL 407 #define tGREATEROREQUAL 408 #define tLESSOREQUAL 409 #define UNARYPREC 410 #define tMINUSMINUS 411 #define tPLUSPLUS 412 /* Copy the first part of user declarations. */ #line 1 "Gmsh.y" // Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // bugs and problems to the public mailing list <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 "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" #include "fullMatrix.h" #if defined(HAVE_MESH) #include "Generator.h" #include "Field.h" #include "BackgroundMesh.h" #include "HighOrder.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 // Global parser variables std::string gmsh_yyname; int gmsh_yyerrorstate = 0; int gmsh_yyviewindex = 0; std::map<std::string, gmsh_yysymbol> gmsh_yysymbols; // Static parser variables (accessible only in this file) static std::map<std::string, std::string> gmsh_yystringsymbols; #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; 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); struct doubleXstring{ double d; char *s; }; /* 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 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 93 "Gmsh.y" { char *c; int i; unsigned int u; double d; double v[5]; Shape s; List_T *l; } /* Line 193 of yacc.c. */ #line 520 "Gmsh.tab.cpp" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif /* Copy the second part of user declarations. */ /* Line 216 of yacc.c. */ #line 533 "Gmsh.tab.cpp" #ifdef short # undef short #endif #ifdef YYTYPE_UINT8 typedef YYTYPE_UINT8 yytype_uint8; #else typedef unsigned char yytype_uint8; #endif #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 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ # if defined YYENABLE_NLS && YYENABLE_NLS # 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 */ #endif /* 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 YYID (int i) #else static int YYID (i) int i; #endif { return i; } #endif #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 _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ # ifndef _STDLIB_H # define _STDLIB_H 1 # 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 _STDLIB_H \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ # ifndef _STDLIB_H # define _STDLIB_H 1 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc # if ! defined malloc && ! defined _STDLIB_H && (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 _STDLIB_H && (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 { yytype_int16 yyss; YYSTYPE yyvs; }; /* 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) /* 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 /* 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. */ # define YYSTACK_RELOCATE(Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (YYID (0)) #endif /* YYFINAL -- State number of the termination state. */ #define YYFINAL 5 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 8626 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 178 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 91 /* YYNRULES -- Number of rules. */ #define YYNRULES 468 /* YYNRULES -- Number of states. */ #define YYNSTATES 1624 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 412 #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, 163, 2, 173, 2, 162, 2, 2, 168, 169, 160, 158, 174, 159, 172, 161, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 154, 2, 155, 149, 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, 170, 2, 171, 167, 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, 175, 2, 176, 177, 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, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 150, 151, 152, 153, 156, 157, 164, 165, 166 }; #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, 47, 53, 59, 67, 75, 83, 93, 100, 107, 114, 115, 118, 121, 124, 127, 130, 132, 136, 138, 142, 143, 144, 155, 157, 161, 162, 176, 178, 182, 183, 199, 208, 223, 224, 231, 233, 235, 237, 239, 241, 243, 245, 251, 257, 262, 269, 277, 285, 295, 305, 309, 316, 321, 328, 338, 345, 355, 361, 370, 379, 391, 398, 408, 414, 422, 432, 442, 454, 462, 472, 482, 483, 485, 486, 490, 496, 497, 507, 513, 514, 524, 525, 529, 533, 539, 540, 543, 547, 553, 557, 558, 561, 565, 569, 575, 577, 579, 580, 586, 587, 590, 598, 599, 609, 616, 624, 629, 637, 646, 655, 663, 671, 683, 692, 701, 702, 712, 721, 731, 735, 740, 751, 759, 767, 776, 785, 798, 799, 809, 818, 826, 835, 836, 846, 852, 864, 870, 880, 890, 895, 905, 915, 917, 919, 920, 923, 930, 937, 944, 951, 960, 971, 986, 1003, 1016, 1025, 1034, 1041, 1056, 1061, 1068, 1075, 1079, 1084, 1090, 1097, 1101, 1105, 1110, 1116, 1121, 1127, 1131, 1139, 1147, 1151, 1159, 1163, 1166, 1169, 1172, 1175, 1191, 1194, 1197, 1200, 1203, 1206, 1223, 1227, 1234, 1243, 1252, 1263, 1265, 1268, 1270, 1274, 1279, 1281, 1287, 1299, 1313, 1314, 1322, 1323, 1337, 1338, 1354, 1355, 1362, 1371, 1380, 1389, 1402, 1415, 1428, 1443, 1458, 1473, 1474, 1487, 1488, 1501, 1502, 1515, 1516, 1533, 1534, 1551, 1552, 1569, 1570, 1589, 1590, 1609, 1610, 1629, 1631, 1634, 1640, 1648, 1658, 1661, 1664, 1667, 1671, 1674, 1678, 1681, 1685, 1688, 1692, 1702, 1709, 1710, 1714, 1715, 1717, 1718, 1721, 1722, 1725, 1733, 1740, 1749, 1755, 1759, 1767, 1773, 1778, 1785, 1792, 1805, 1816, 1827, 1838, 1849, 1860, 1865, 1870, 1873, 1877, 1884, 1886, 1888, 1890, 1893, 1899, 1907, 1918, 1920, 1924, 1927, 1930, 1933, 1937, 1941, 1945, 1949, 1953, 1957, 1961, 1965, 1969, 1973, 1977, 1981, 1985, 1989, 1995, 2000, 2005, 2010, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2052, 2057, 2062, 2067, 2072, 2077, 2082, 2089, 2096, 2103, 2108, 2113, 2118, 2123, 2128, 2133, 2138, 2143, 2148, 2153, 2158, 2165, 2170, 2175, 2180, 2185, 2190, 2195, 2202, 2209, 2216, 2221, 2223, 2225, 2227, 2229, 2231, 2233, 2235, 2237, 2239, 2241, 2247, 2252, 2257, 2260, 2266, 2270, 2277, 2282, 2290, 2297, 2304, 2311, 2316, 2318, 2321, 2324, 2328, 2332, 2344, 2354, 2362, 2370, 2372, 2376, 2378, 2380, 2383, 2387, 2392, 2398, 2400, 2402, 2405, 2409, 2413, 2419, 2424, 2427, 2430, 2433, 2436, 2442, 2448, 2454, 2460, 2462, 2464, 2468, 2472, 2477, 2484, 2491, 2493, 2495, 2499, 2503, 2513, 2521, 2523, 2529, 2533, 2540, 2542, 2546, 2548, 2550, 2554, 2561, 2563, 2565, 2570, 2577, 2584, 2589, 2594, 2603, 2608, 2613, 2618, 2623, 2630, 2637, 2639 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { 179, 0, -1, 180, -1, 1, 6, -1, -1, 180, 181, -1, 184, -1, 183, -1, 202, -1, 216, -1, 221, -1, 225, -1, 226, -1, 227, -1, 230, -1, 250, -1, 251, -1, 229, -1, 228, -1, 224, -1, 253, -1, 155, -1, 155, 155, -1, 36, 168, 266, 169, 6, -1, 37, 168, 266, 169, 6, -1, 36, 168, 266, 169, 182, 266, 6, -1, 36, 168, 266, 174, 262, 169, 6, -1, 37, 168, 266, 174, 262, 169, 6, -1, 36, 168, 266, 174, 262, 169, 182, 266, 6, -1, 4, 266, 175, 185, 176, 6, -1, 102, 4, 170, 254, 171, 6, -1, 103, 4, 170, 254, 171, 6, -1, -1, 185, 188, -1, 185, 192, -1, 185, 195, -1, 185, 197, -1, 185, 198, -1, 254, -1, 186, 174, 254, -1, 254, -1, 187, 174, 254, -1, -1, -1, 4, 189, 168, 186, 169, 190, 175, 187, 176, 6, -1, 266, -1, 191, 174, 266, -1, -1, 110, 168, 254, 174, 254, 174, 254, 169, 193, 175, 191, 176, 6, -1, 266, -1, 194, 174, 266, -1, -1, 111, 168, 254, 174, 254, 174, 254, 174, 254, 169, 196, 175, 194, 176, 6, -1, 112, 175, 258, 176, 175, 258, 176, 6, -1, 112, 175, 258, 176, 175, 258, 176, 175, 258, 176, 175, 258, 176, 6, -1, -1, 113, 199, 175, 187, 176, 6, -1, 7, -1, 148, -1, 147, -1, 146, -1, 145, -1, 166, -1, 165, -1, 57, 170, 204, 171, 6, -1, 58, 170, 207, 171, 6, -1, 4, 200, 259, 6, -1, 4, 170, 171, 200, 259, 6, -1, 4, 170, 254, 171, 200, 254, 6, -1, 4, 168, 254, 169, 200, 254, 6, -1, 4, 170, 175, 262, 176, 171, 200, 259, 6, -1, 4, 168, 175, 262, 176, 169, 200, 259, 6, -1, 4, 201, 6, -1, 4, 170, 254, 171, 201, 6, -1, 4, 7, 267, 6, -1, 4, 172, 4, 7, 267, 6, -1, 4, 170, 254, 171, 172, 4, 7, 267, 6, -1, 4, 172, 4, 200, 254, 6, -1, 4, 170, 254, 171, 172, 4, 200, 254, 6, -1, 4, 172, 4, 201, 6, -1, 4, 170, 254, 171, 172, 4, 201, 6, -1, 4, 172, 120, 172, 4, 7, 263, 6, -1, 4, 170, 254, 171, 172, 120, 172, 4, 7, 263, 6, -1, 4, 172, 121, 7, 264, 6, -1, 4, 170, 254, 171, 172, 121, 7, 264, 6, -1, 4, 129, 7, 254, 6, -1, 129, 170, 254, 171, 7, 4, 6, -1, 129, 170, 254, 171, 172, 4, 7, 254, 6, -1, 129, 170, 254, 171, 172, 4, 7, 267, 6, -1, 129, 170, 254, 171, 172, 4, 7, 175, 262, 176, 6, -1, 129, 170, 254, 171, 172, 4, 6, -1, 82, 168, 4, 169, 172, 4, 7, 254, 6, -1, 82, 168, 4, 169, 172, 4, 7, 267, 6, -1, -1, 174, -1, -1, 204, 203, 4, -1, 204, 203, 4, 7, 254, -1, -1, 204, 203, 4, 7, 175, 254, 205, 209, 176, -1, 204, 203, 4, 7, 267, -1, -1, 204, 203, 4, 7, 175, 267, 206, 211, 176, -1, -1, 207, 203, 266, -1, 254, 7, 267, -1, 208, 174, 254, 7, 267, -1, -1, 209, 210, -1, 174, 4, 259, -1, 174, 4, 175, 208, 176, -1, 174, 4, 267, -1, -1, 211, 212, -1, 174, 4, 254, -1, 174, 4, 267, -1, 174, 4, 175, 268, 176, -1, 254, -1, 267, -1, -1, 123, 63, 175, 254, 176, -1, -1, 74, 256, -1, 59, 168, 254, 169, 7, 256, 6, -1, -1, 78, 59, 217, 168, 213, 169, 7, 259, 6, -1, 68, 69, 259, 7, 254, 6, -1, 62, 168, 254, 169, 7, 259, 6, -1, 83, 62, 259, 6, -1, 66, 168, 254, 169, 7, 259, 6, -1, 60, 168, 254, 169, 7, 259, 215, 6, -1, 61, 168, 254, 169, 7, 259, 215, 6, -1, 115, 168, 254, 169, 7, 259, 6, -1, 116, 168, 254, 169, 7, 259, 6, -1, 117, 168, 254, 169, 7, 259, 119, 259, 118, 254, 6, -1, 62, 4, 168, 254, 169, 7, 259, 6, -1, 79, 62, 168, 254, 169, 7, 259, 6, -1, -1, 78, 62, 218, 168, 213, 169, 7, 259, 6, -1, 74, 65, 168, 254, 169, 7, 259, 6, -1, 75, 65, 168, 254, 169, 7, 259, 214, 6, -1, 12, 13, 6, -1, 13, 65, 254, 6, -1, 70, 65, 168, 254, 169, 7, 5, 5, 5, 6, -1, 63, 168, 254, 169, 7, 259, 6, -1, 64, 168, 254, 169, 7, 259, 6, -1, 65, 4, 168, 254, 169, 7, 259, 6, -1, 79, 65, 168, 254, 169, 7, 259, 6, -1, 79, 65, 168, 254, 169, 7, 259, 4, 175, 258, 176, 6, -1, -1, 78, 65, 219, 168, 213, 169, 7, 259, 6, -1, 77, 67, 168, 254, 169, 7, 259, 6, -1, 67, 168, 254, 169, 7, 259, 6, -1, 79, 67, 168, 254, 169, 7, 259, 6, -1, -1, 78, 67, 220, 168, 213, 169, 7, 259, 6, -1, 86, 256, 175, 222, 176, -1, 85, 175, 256, 174, 256, 174, 254, 176, 175, 222, 176, -1, 87, 256, 175, 222, 176, -1, 88, 175, 256, 174, 254, 176, 175, 222, 176, -1, 88, 175, 256, 174, 256, 176, 175, 222, 176, -1, 4, 175, 222, 176, -1, 96, 62, 175, 262, 176, 65, 175, 254, 176, -1, 93, 62, 168, 254, 169, 175, 262, 176, 6, -1, 223, -1, 221, -1, -1, 223, 216, -1, 223, 59, 175, 262, 176, 6, -1, 223, 62, 175, 262, 176, 6, -1, 223, 65, 175, 262, 176, 6, -1, 223, 67, 175, 262, 176, 6, -1, 90, 74, 168, 254, 169, 7, 259, 6, -1, 90, 59, 168, 254, 169, 7, 175, 258, 176, 6, -1, 90, 74, 168, 254, 169, 7, 175, 256, 174, 256, 174, 262, 176, 6, -1, 90, 74, 168, 254, 169, 7, 175, 256, 174, 256, 174, 256, 174, 262, 176, 6, -1, 90, 63, 168, 254, 169, 7, 175, 256, 174, 262, 176, 6, -1, 90, 4, 168, 254, 169, 7, 259, 6, -1, 90, 4, 168, 254, 169, 7, 5, 6, -1, 90, 4, 175, 254, 176, 6, -1, 90, 4, 168, 254, 169, 7, 175, 256, 174, 256, 174, 262, 176, 6, -1, 94, 175, 223, 176, -1, 94, 129, 170, 254, 171, 6, -1, 94, 4, 170, 254, 171, 6, -1, 94, 4, 6, -1, 94, 4, 4, 6, -1, 120, 263, 175, 223, 176, -1, 84, 120, 263, 175, 223, 176, -1, 133, 5, 6, -1, 134, 5, 6, -1, 133, 175, 223, 176, -1, 84, 133, 175, 223, 176, -1, 134, 175, 223, 176, -1, 84, 134, 175, 223, 176, -1, 4, 267, 6, -1, 4, 4, 170, 254, 171, 266, 6, -1, 4, 4, 4, 170, 254, 171, 6, -1, 4, 254, 6, -1, 82, 168, 4, 169, 172, 4, 6, -1, 114, 4, 6, -1, 127, 6, -1, 128, 6, -1, 53, 6, -1, 47, 6, -1, 47, 175, 254, 174, 254, 174, 254, 174, 254, 174, 254, 174, 254, 176, 6, -1, 48, 6, -1, 49, 6, -1, 54, 6, -1, 55, 6, -1, 72, 6, -1, 73, 175, 262, 176, 175, 262, 176, 175, 258, 176, 175, 254, 174, 254, 176, 6, -1, 141, 254, 6, -1, 122, 168, 254, 8, 254, 169, -1, 122, 168, 254, 8, 254, 8, 254, 169, -1, 122, 4, 123, 175, 254, 8, 254, 176, -1, 122, 4, 123, 175, 254, 8, 254, 8, 254, 176, -1, 124, -1, 132, 4, -1, 130, -1, 131, 4, 6, -1, 125, 168, 254, 169, -1, 126, -1, 89, 256, 175, 223, 176, -1, 89, 175, 256, 174, 256, 174, 254, 176, 175, 223, 176, -1, 89, 175, 256, 174, 256, 174, 256, 174, 254, 176, 175, 223, 176, -1, -1, 89, 256, 175, 223, 231, 244, 176, -1, -1, 89, 175, 256, 174, 256, 174, 254, 176, 175, 223, 232, 244, 176, -1, -1, 89, 175, 256, 174, 256, 174, 256, 174, 254, 176, 175, 223, 233, 244, 176, -1, -1, 89, 175, 223, 234, 244, 176, -1, 89, 59, 175, 254, 174, 256, 176, 6, -1, 89, 62, 175, 254, 174, 256, 176, 6, -1, 89, 65, 175, 254, 174, 256, 176, 6, -1, 89, 59, 175, 254, 174, 256, 174, 256, 174, 254, 176, 6, -1, 89, 62, 175, 254, 174, 256, 174, 256, 174, 254, 176, 6, -1, 89, 65, 175, 254, 174, 256, 174, 256, 174, 254, 176, 6, -1, 89, 59, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 6, -1, 89, 62, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 6, -1, 89, 65, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 6, -1, -1, 89, 59, 175, 254, 174, 256, 176, 235, 175, 244, 176, 6, -1, -1, 89, 62, 175, 254, 174, 256, 176, 236, 175, 244, 176, 6, -1, -1, 89, 65, 175, 254, 174, 256, 176, 237, 175, 244, 176, 6, -1, -1, 89, 59, 175, 254, 174, 256, 174, 256, 174, 254, 176, 238, 175, 244, 176, 6, -1, -1, 89, 62, 175, 254, 174, 256, 174, 256, 174, 254, 176, 239, 175, 244, 176, 6, -1, -1, 89, 65, 175, 254, 174, 256, 174, 256, 174, 254, 176, 240, 175, 244, 176, 6, -1, -1, 89, 59, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 241, 175, 244, 176, 6, -1, -1, 89, 62, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 242, 175, 244, 176, 6, -1, -1, 89, 65, 175, 254, 174, 256, 174, 256, 174, 256, 174, 254, 176, 243, 175, 244, 176, 6, -1, 245, -1, 244, 245, -1, 99, 175, 254, 176, 6, -1, 99, 175, 259, 174, 259, 176, 6, -1, 99, 175, 259, 174, 259, 174, 259, 176, 6, -1, 100, 6, -1, 91, 6, -1, 106, 6, -1, 106, 108, 6, -1, 107, 6, -1, 107, 108, 6, -1, 104, 6, -1, 104, 108, 6, -1, 105, 6, -1, 105, 108, 6, -1, 101, 168, 254, 169, 7, 259, 81, 254, 6, -1, 81, 4, 170, 254, 171, 6, -1, -1, 81, 4, 254, -1, -1, 4, -1, -1, 7, 259, -1, -1, 7, 254, -1, 76, 62, 260, 7, 254, 246, 6, -1, 76, 65, 260, 248, 247, 6, -1, 71, 65, 175, 254, 176, 7, 259, 6, -1, 76, 67, 260, 248, 6, -1, 109, 260, 6, -1, 97, 65, 175, 262, 176, 254, 6, -1, 91, 65, 260, 249, 6, -1, 91, 67, 260, 6, -1, 92, 65, 259, 7, 254, 6, -1, 80, 62, 259, 7, 259, 6, -1, 80, 65, 254, 175, 262, 176, 7, 254, 175, 262, 176, 6, -1, 59, 175, 262, 176, 123, 65, 175, 254, 176, 6, -1, 62, 175, 262, 176, 123, 65, 175, 254, 176, 6, -1, 59, 175, 262, 176, 123, 67, 175, 254, 176, 6, -1, 62, 175, 262, 176, 123, 67, 175, 254, 176, 6, -1, 65, 175, 262, 176, 123, 67, 175, 254, 176, 6, -1, 98, 65, 260, 6, -1, 98, 62, 260, 6, -1, 95, 6, -1, 95, 4, 6, -1, 95, 59, 175, 262, 176, 6, -1, 138, -1, 139, -1, 140, -1, 252, 6, -1, 252, 175, 259, 176, 6, -1, 252, 175, 259, 174, 259, 176, 6, -1, 252, 168, 259, 169, 175, 259, 174, 259, 176, 6, -1, 255, -1, 168, 254, 169, -1, 159, 254, -1, 158, 254, -1, 163, 254, -1, 254, 159, 254, -1, 254, 158, 254, -1, 254, 160, 254, -1, 254, 161, 254, -1, 254, 162, 254, -1, 254, 167, 254, -1, 254, 154, 254, -1, 254, 155, 254, -1, 254, 157, 254, -1, 254, 156, 254, -1, 254, 153, 254, -1, 254, 152, 254, -1, 254, 151, 254, -1, 254, 150, 254, -1, 254, 149, 254, 8, 254, -1, 14, 168, 254, 169, -1, 15, 168, 254, 169, -1, 16, 168, 254, 169, -1, 17, 168, 254, 169, -1, 18, 168, 254, 169, -1, 19, 168, 254, 169, -1, 20, 168, 254, 169, -1, 21, 168, 254, 169, -1, 22, 168, 254, 169, -1, 24, 168, 254, 169, -1, 25, 168, 254, 174, 254, 169, -1, 26, 168, 254, 169, -1, 27, 168, 254, 169, -1, 28, 168, 254, 169, -1, 29, 168, 254, 169, -1, 30, 168, 254, 169, -1, 31, 168, 254, 169, -1, 32, 168, 254, 174, 254, 169, -1, 33, 168, 254, 174, 254, 169, -1, 34, 168, 254, 174, 254, 169, -1, 23, 168, 254, 169, -1, 14, 170, 254, 171, -1, 15, 170, 254, 171, -1, 16, 170, 254, 171, -1, 17, 170, 254, 171, -1, 18, 170, 254, 171, -1, 19, 170, 254, 171, -1, 20, 170, 254, 171, -1, 21, 170, 254, 171, -1, 22, 170, 254, 171, -1, 24, 170, 254, 171, -1, 25, 170, 254, 174, 254, 171, -1, 26, 170, 254, 171, -1, 27, 170, 254, 171, -1, 28, 170, 254, 171, -1, 29, 170, 254, 171, -1, 30, 170, 254, 171, -1, 31, 170, 254, 171, -1, 32, 170, 254, 174, 254, 171, -1, 33, 170, 254, 174, 254, 171, -1, 34, 170, 254, 174, 254, 171, -1, 23, 170, 254, 171, -1, 3, -1, 9, -1, 10, -1, 11, -1, 142, -1, 143, -1, 144, -1, 51, -1, 52, -1, 4, -1, 4, 177, 175, 254, 176, -1, 4, 170, 254, 171, -1, 173, 4, 170, 171, -1, 4, 201, -1, 4, 170, 254, 171, 201, -1, 4, 172, 4, -1, 4, 170, 254, 171, 172, 4, -1, 4, 172, 4, 201, -1, 4, 170, 254, 171, 172, 4, 201, -1, 135, 168, 266, 174, 254, 169, -1, 44, 168, 266, 174, 266, 169, -1, 45, 168, 266, 174, 266, 169, -1, 46, 168, 268, 169, -1, 257, -1, 159, 256, -1, 158, 256, -1, 256, 159, 256, -1, 256, 158, 256, -1, 175, 254, 174, 254, 174, 254, 174, 254, 174, 254, 176, -1, 175, 254, 174, 254, 174, 254, 174, 254, 176, -1, 175, 254, 174, 254, 174, 254, 176, -1, 168, 254, 174, 254, 174, 254, 169, -1, 259, -1, 258, 174, 259, -1, 254, -1, 261, -1, 175, 176, -1, 175, 262, 176, -1, 159, 175, 262, 176, -1, 254, 160, 175, 262, 176, -1, 259, -1, 5, -1, 159, 261, -1, 254, 160, 261, -1, 254, 8, 254, -1, 254, 8, 254, 8, 254, -1, 59, 175, 254, 176, -1, 59, 5, -1, 62, 5, -1, 65, 5, -1, 67, 5, -1, 78, 59, 175, 262, 176, -1, 78, 62, 175, 262, 176, -1, 78, 65, 175, 262, 176, -1, 78, 67, 175, 262, 176, -1, 221, -1, 230, -1, 4, 170, 171, -1, 4, 168, 169, -1, 35, 170, 4, 171, -1, 4, 170, 175, 262, 176, 171, -1, 4, 168, 175, 262, 176, 169, -1, 254, -1, 261, -1, 262, 174, 254, -1, 262, 174, 261, -1, 175, 254, 174, 254, 174, 254, 174, 254, 176, -1, 175, 254, 174, 254, 174, 254, 176, -1, 4, -1, 4, 172, 120, 172, 4, -1, 175, 265, 176, -1, 4, 170, 254, 171, 172, 121, -1, 263, -1, 265, 174, 263, -1, 267, -1, 4, -1, 4, 172, 4, -1, 4, 170, 254, 171, 172, 4, -1, 5, -1, 50, -1, 136, 168, 266, 169, -1, 137, 168, 266, 174, 266, 169, -1, 40, 168, 266, 174, 266, 169, -1, 41, 168, 266, 169, -1, 42, 168, 266, 169, -1, 43, 168, 266, 174, 266, 174, 266, 169, -1, 38, 168, 268, 169, -1, 38, 170, 268, 171, -1, 39, 168, 266, 169, -1, 39, 170, 266, 171, -1, 39, 168, 266, 174, 262, 169, -1, 39, 170, 266, 174, 262, 171, -1, 266, -1, 268, 174, 266, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { 0, 170, 170, 171, 176, 178, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 200, 204, 211, 216, 221, 235, 248, 261, 289, 303, 314, 329, 334, 335, 336, 337, 338, 342, 344, 349, 351, 357, 461, 356, 479, 486, 497, 496, 514, 521, 532, 531, 548, 565, 588, 587, 601, 602, 603, 604, 605, 609, 610, 616, 618, 620, 682, 712, 747, 781, 829, 876, 891, 907, 916, 922, 931, 949, 967, 976, 988, 993, 1001, 1021, 1044, 1055, 1063, 1085, 1108, 1134, 1155, 1167, 1181, 1181, 1183, 1185, 1196, 1208, 1207, 1219, 1231, 1230, 1244, 1246, 1254, 1260, 1267, 1268, 1272, 1283, 1298, 1308, 1309, 1314, 1322, 1331, 1349, 1353, 1364, 1367, 1380, 1383, 1393, 1417, 1416, 1436, 1458, 1476, 1497, 1515, 1545, 1575, 1593, 1611, 1637, 1655, 1674, 1673, 1696, 1714, 1753, 1759, 1765, 1772, 1797, 1822, 1839, 1858, 1893, 1892, 1916, 1934, 1951, 1968, 1967, 1993, 1998, 2003, 2008, 2013, 2018, 2041, 2047, 2058, 2059, 2064, 2067, 2071, 2094, 2117, 2140, 2168, 2189, 2215, 2236, 2258, 2278, 2390, 2409, 2447, 2556, 2565, 2571, 2586, 2614, 2631, 2640, 2654, 2660, 2666, 2675, 2684, 2693, 2707, 2752, 2769, 2784, 2803, 2815, 2839, 2843, 2848, 2855, 2861, 2866, 2872, 2880, 2884, 2888, 2893, 2948, 2961, 2978, 2995, 3016, 3037, 3072, 3080, 3086, 3093, 3097, 3106, 3114, 3122, 3131, 3130, 3145, 3144, 3159, 3158, 3173, 3172, 3186, 3193, 3200, 3207, 3214, 3221, 3228, 3235, 3242, 3250, 3249, 3263, 3262, 3276, 3275, 3289, 3288, 3302, 3301, 3315, 3314, 3328, 3327, 3341, 3340, 3354, 3353, 3370, 3373, 3379, 3391, 3411, 3435, 3440, 3444, 3448, 3452, 3456, 3460, 3464, 3468, 3472, 3476, 3495, 3508, 3511, 3527, 3530, 3547, 3550, 3556, 3559, 3566, 3622, 3692, 3697, 3764, 3800, 3808, 3851, 3890, 3910, 3937, 3977, 4000, 4023, 4027, 4031, 4054, 4093, 4138, 4142, 4152, 4187, 4188, 4189, 4193, 4199, 4211, 4229, 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264, 4265, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280, 4281, 4282, 4283, 4284, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4306, 4307, 4308, 4309, 4310, 4311, 4312, 4313, 4314, 4315, 4316, 4317, 4318, 4319, 4320, 4321, 4322, 4323, 4324, 4325, 4326, 4335, 4336, 4337, 4338, 4339, 4340, 4341, 4342, 4343, 4347, 4368, 4387, 4405, 4417, 4434, 4455, 4460, 4465, 4475, 4485, 4490, 4499, 4504, 4531, 4535, 4539, 4543, 4547, 4554, 4558, 4562, 4566, 4573, 4578, 4585, 4590, 4594, 4599, 4603, 4611, 4622, 4626, 4638, 4646, 4654, 4661, 4671, 4691, 4695, 4699, 4703, 4707, 4736, 4765, 4794, 4823, 4833, 4843, 4856, 4868, 4880, 4899, 4920, 4925, 4929, 4933, 4945, 4949, 4961, 4968, 4978, 4982, 4997, 5002, 5009, 5013, 5026, 5034, 5045, 5049, 5057, 5065, 5073, 5081, 5095, 5109, 5121, 5138, 5154, 5159, 5163, 5183, 5205, 5210 }; #endif #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", "tList", "tPrintf", "tError", "tStr", "tSprintf", "tStrCat", "tStrPrefix", "tStrRelative", "tStrReplace", "tStrFind", "tStrCmp", "tTextAttributes", "tBoundingBox", "tDraw", "tSetChanged", "tToday", "tCpu", "tMemory", "tSyncModel", "tCreateTopology", "tCreateTopologyNoHoles", "tDistanceFunction", "tDefineConstant", "tUndefineConstant", "tPoint", "tCircle", "tEllipse", "tLine", "tSphere", "tPolarSphere", "tSurface", "tSpline", "tVolume", "tCharacteristic", "tLength", "tParametric", "tElliptic", "tRefineMesh", "tAdaptMesh", "tPlane", "tRuled", "tTransfinite", "tComplex", "tPhysical", "tCompound", "tPeriodic", "tUsing", "tPlugin", "tDegenerated", "tRecursive", "tRotate", "tTranslate", "tSymmetry", "tDilate", "tExtrude", "tLevelset", "tRecombine", "tSmoother", "tSplit", "tDelete", "tCoherence", "tIntersect", "tMeshAlgorithm", "tReverse", "tLayers", "tScaleLast", "tHole", "tAlias", "tAliasWithOptions", "tQuadTriAddVerts", "tQuadTriNoNewVerts", "tQuadTriSngl", "tQuadTriDbl", "tRecombLaterals", "tTransfQuadTri", "tText2D", "tText3D", "tInterpolationScheme", "tTime", "tCombine", "tBSpline", "tBezier", "tNurbs", "tNurbsOrder", "tNurbsKnots", "tColor", "tColorTable", "tFor", "tIn", "tEndFor", "tIf", "tEndIf", "tExit", "tAbort", "tField", "tReturn", "tCall", "tFunction", "tShow", "tHide", "tGetValue", "tGetEnv", "tGetString", "tHomology", "tCohomology", "tBetti", "tSetOrder", "tGMSH_MAJOR_VERSION", "tGMSH_MINOR_VERSION", "tGMSH_PATCH_VERSION", "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", "@7", "UndefineConstants", "Enumeration", "FloatParameterOptions", "FloatParameterOption", "CharParameterOptions", "CharParameterOption", "PhysicalId", "InSphereCenter", "CircleOptions", "Shape", "@8", "@9", "@10", "@11", "Transform", "MultipleShape", "ListOfShapes", "LevelSet", "Delete", "Colorify", "Visibility", "Command", "Loop", "Extrude", "@12", "@13", "@14", "@15", "@16", "@17", "@18", "@19", "@20", "@21", "@22", "@23", "@24", "ExtrudeParameters", "ExtrudeParameter", "TransfiniteType", "TransfiniteArrangement", "TransfiniteCorners", "RecombineAngle", "Constraints", "Coherence", "HomologyCommand", "Homology", "FExpr", "FExpr_Single", "VExpr", "VExpr_Single", "RecursiveListOfListOfDouble", "ListOfDouble", "ListOfDoubleOrAll", "FExpr_Multi", "RecursiveListOfDouble", "ColorExpr", "ListOfColor", "RecursiveListOfColor", "StringExprVar", "StringExpr", "RecursiveListOfStringExprVar", 0 }; #endif # 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, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 63, 404, 405, 406, 407, 60, 62, 408, 409, 43, 45, 42, 47, 37, 33, 410, 411, 412, 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_uint16 yyr1[] = { 0, 178, 179, 179, 180, 180, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, 182, 182, 183, 183, 183, 183, 183, 183, 184, 184, 184, 185, 185, 185, 185, 185, 185, 186, 186, 187, 187, 189, 190, 188, 191, 191, 193, 192, 194, 194, 196, 195, 197, 197, 199, 198, 200, 200, 200, 200, 200, 201, 201, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 203, 203, 204, 204, 204, 205, 204, 204, 206, 204, 207, 207, 208, 208, 209, 209, 210, 210, 210, 211, 211, 212, 212, 212, 213, 213, 214, 214, 215, 215, 216, 217, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 218, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 219, 216, 216, 216, 216, 220, 216, 221, 221, 221, 221, 221, 221, 221, 221, 222, 222, 223, 223, 223, 223, 223, 223, 224, 224, 224, 224, 224, 224, 224, 224, 224, 225, 225, 225, 225, 225, 226, 226, 227, 227, 227, 227, 227, 227, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 230, 230, 230, 231, 230, 232, 230, 233, 230, 234, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 235, 230, 236, 230, 237, 230, 238, 230, 239, 230, 240, 230, 241, 230, 242, 230, 243, 230, 244, 244, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, 246, 246, 247, 247, 248, 248, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 252, 252, 252, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 256, 256, 256, 256, 256, 257, 257, 257, 257, 258, 258, 259, 259, 259, 259, 259, 259, 260, 260, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 261, 262, 262, 262, 262, 263, 263, 263, 263, 264, 264, 265, 265, 266, 266, 266, 266, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 268, 268 }; /* 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, 2, 5, 5, 7, 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, 1, 1, 1, 1, 5, 5, 4, 6, 7, 7, 9, 9, 3, 6, 4, 6, 9, 6, 9, 5, 8, 8, 11, 6, 9, 5, 7, 9, 9, 11, 7, 9, 9, 0, 1, 0, 3, 5, 0, 9, 5, 0, 9, 0, 3, 3, 5, 0, 2, 3, 5, 3, 0, 2, 3, 3, 5, 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, 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, 6, 3, 3, 4, 5, 4, 5, 3, 7, 7, 3, 7, 3, 2, 2, 2, 2, 15, 2, 2, 2, 2, 2, 16, 3, 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, 2, 3, 2, 3, 2, 3, 2, 3, 9, 6, 0, 3, 0, 1, 0, 2, 0, 2, 7, 6, 8, 5, 3, 7, 5, 4, 6, 6, 12, 10, 10, 10, 10, 10, 4, 4, 2, 3, 6, 1, 1, 1, 2, 5, 7, 10, 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, 1, 1, 5, 4, 4, 2, 5, 3, 6, 4, 7, 6, 6, 6, 4, 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, 5, 5, 5, 5, 1, 1, 3, 3, 4, 6, 6, 1, 1, 3, 3, 9, 7, 1, 5, 3, 6, 1, 3, 1, 1, 3, 6, 1, 1, 4, 6, 6, 4, 4, 8, 4, 4, 4, 4, 6, 6, 1, 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM 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, 0, 0, 0, 0, 0, 0, 0, 216, 0, 221, 0, 0, 0, 218, 0, 0, 0, 0, 306, 307, 308, 0, 5, 7, 6, 8, 9, 10, 19, 11, 12, 13, 18, 17, 14, 15, 16, 0, 20, 375, 384, 453, 57, 376, 377, 378, 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, 454, 382, 383, 0, 0, 0, 0, 379, 380, 381, 61, 60, 59, 58, 0, 0, 0, 63, 62, 0, 0, 0, 0, 166, 0, 0, 0, 313, 0, 449, 0, 0, 0, 0, 203, 0, 205, 206, 202, 207, 208, 95, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 0, 0, 0, 0, 0, 0, 0, 124, 137, 149, 154, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 398, 0, 0, 0, 0, 0, 166, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 0, 303, 0, 0, 0, 0, 0, 0, 0, 384, 416, 0, 0, 0, 0, 0, 0, 0, 0, 0, 430, 431, 409, 415, 0, 410, 0, 0, 0, 0, 443, 0, 0, 0, 0, 0, 200, 201, 0, 0, 217, 0, 166, 0, 166, 384, 0, 309, 0, 0, 0, 0, 0, 0, 388, 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, 0, 0, 0, 0, 0, 316, 315, 317, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 165, 0, 164, 0, 72, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 194, 141, 0, 450, 0, 449, 0, 0, 93, 93, 0, 0, 437, 438, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 281, 281, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 166, 0, 400, 399, 0, 0, 0, 0, 166, 166, 0, 0, 0, 0, 0, 0, 0, 231, 0, 166, 0, 0, 0, 0, 0, 283, 0, 0, 0, 0, 184, 0, 0, 0, 304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 422, 0, 423, 424, 425, 0, 0, 0, 0, 0, 315, 417, 0, 411, 0, 0, 0, 289, 199, 0, 0, 0, 0, 0, 166, 0, 0, 0, 0, 219, 188, 0, 189, 0, 0, 211, 0, 0, 0, 0, 390, 0, 74, 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, 467, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 314, 57, 0, 0, 0, 57, 0, 0, 0, 0, 0, 161, 0, 0, 0, 0, 167, 66, 0, 331, 330, 329, 328, 324, 325, 327, 326, 319, 318, 320, 321, 322, 323, 0, 142, 0, 0, 0, 0, 0, 0, 0, 0, 94, 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, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 166, 0, 0, 0, 0, 0, 402, 401, 0, 0, 0, 0, 0, 0, 0, 0, 0, 225, 0, 0, 0, 0, 0, 0, 0, 292, 0, 0, 185, 0, 0, 181, 0, 0, 0, 302, 301, 0, 0, 433, 0, 432, 0, 0, 390, 0, 0, 0, 0, 0, 0, 0, 314, 412, 419, 0, 320, 418, 0, 0, 0, 0, 0, 0, 0, 0, 220, 0, 190, 192, 0, 0, 0, 0, 386, 392, 0, 333, 354, 334, 355, 335, 356, 336, 357, 337, 358, 338, 359, 339, 360, 340, 361, 341, 362, 353, 374, 342, 363, 0, 0, 344, 365, 345, 366, 346, 367, 347, 368, 348, 369, 349, 370, 0, 0, 0, 0, 0, 0, 461, 0, 462, 463, 0, 464, 0, 0, 458, 459, 0, 0, 0, 397, 85, 0, 455, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 42, 0, 0, 0, 55, 0, 33, 34, 35, 36, 37, 0, 451, 23, 21, 0, 0, 24, 0, 0, 64, 96, 65, 104, 0, 439, 440, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 277, 282, 280, 0, 288, 0, 0, 117, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 193, 0, 0, 0, 156, 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 0, 222, 0, 0, 0, 0, 0, 0, 284, 291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 386, 434, 421, 0, 0, 0, 0, 413, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 310, 0, 0, 389, 0, 385, 0, 0, 0, 0, 0, 0, 0, 0, 468, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67, 0, 0, 0, 0, 0, 73, 75, 77, 0, 0, 447, 0, 83, 0, 0, 0, 0, 332, 0, 0, 0, 0, 0, 29, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 121, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 294, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 266, 0, 265, 0, 271, 0, 273, 0, 267, 0, 269, 0, 232, 261, 0, 0, 0, 179, 0, 0, 0, 293, 0, 183, 182, 305, 0, 0, 30, 31, 0, 0, 0, 426, 427, 428, 429, 420, 414, 0, 0, 0, 444, 0, 0, 0, 212, 0, 0, 0, 0, 196, 391, 195, 343, 364, 350, 371, 351, 372, 352, 373, 465, 466, 457, 0, 395, 396, 394, 456, 0, 69, 0, 57, 0, 0, 0, 0, 68, 0, 0, 0, 445, 0, 0, 0, 0, 0, 0, 0, 0, 407, 0, 0, 25, 26, 0, 27, 0, 0, 97, 100, 123, 0, 0, 0, 0, 0, 0, 127, 0, 0, 144, 145, 0, 0, 129, 152, 0, 0, 0, 0, 119, 0, 285, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 166, 166, 0, 242, 0, 244, 0, 246, 0, 409, 0, 0, 272, 274, 268, 270, 0, 0, 226, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 436, 435, 391, 132, 133, 0, 0, 0, 0, 86, 90, 0, 0, 311, 393, 0, 0, 0, 0, 0, 80, 0, 0, 81, 0, 448, 168, 169, 170, 171, 0, 38, 0, 0, 0, 0, 0, 40, 452, 0, 0, 98, 101, 0, 0, 122, 130, 131, 135, 0, 0, 146, 0, 0, 287, 0, 139, 0, 0, 278, 151, 0, 0, 0, 0, 136, 0, 147, 153, 0, 0, 0, 0, 406, 0, 405, 0, 0, 0, 233, 0, 0, 234, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 178, 0, 0, 177, 0, 0, 0, 172, 0, 0, 0, 0, 442, 0, 214, 213, 0, 0, 0, 0, 460, 71, 70, 76, 78, 0, 84, 0, 43, 0, 0, 0, 408, 0, 0, 0, 28, 0, 107, 112, 0, 0, 0, 0, 0, 0, 0, 0, 140, 125, 138, 150, 155, 0, 0, 91, 92, 166, 0, 159, 160, 0, 0, 0, 0, 0, 0, 0, 262, 0, 0, 166, 0, 0, 0, 0, 0, 163, 162, 0, 0, 0, 0, 87, 88, 0, 0, 446, 0, 39, 0, 0, 0, 41, 56, 0, 0, 0, 296, 298, 297, 299, 300, 143, 0, 0, 0, 0, 0, 0, 404, 0, 0, 0, 0, 0, 0, 0, 0, 0, 276, 0, 0, 0, 227, 0, 0, 173, 0, 0, 0, 441, 215, 0, 312, 82, 0, 0, 0, 0, 0, 0, 99, 108, 0, 102, 113, 0, 0, 0, 0, 157, 0, 248, 0, 0, 250, 0, 0, 252, 0, 0, 0, 263, 0, 223, 0, 166, 0, 0, 0, 134, 89, 0, 47, 0, 53, 0, 0, 0, 0, 0, 120, 148, 295, 403, 236, 0, 0, 243, 237, 0, 0, 245, 238, 0, 0, 247, 0, 0, 0, 229, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 109, 111, 0, 114, 115, 0, 0, 254, 0, 256, 0, 258, 264, 275, 228, 224, 0, 0, 0, 0, 44, 0, 51, 0, 0, 0, 437, 0, 0, 0, 239, 0, 0, 240, 0, 0, 241, 0, 0, 180, 0, 174, 0, 45, 0, 0, 204, 0, 110, 0, 116, 0, 0, 0, 0, 0, 0, 0, 230, 0, 0, 0, 0, 0, 0, 105, 210, 249, 0, 251, 0, 253, 0, 175, 46, 48, 0, 49, 0, 0, 0, 0, 0, 0, 0, 54, 106, 255, 257, 259, 50, 52 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { -1, 2, 3, 81, 842, 82, 83, 619, 1257, 1263, 833, 1001, 1408, 1574, 834, 1527, 1608, 835, 1576, 836, 837, 1005, 159, 295, 84, 630, 397, 1358, 1359, 398, 1557, 1416, 1463, 1417, 1466, 878, 1285, 1165, 602, 425, 426, 427, 428, 261, 368, 369, 87, 88, 89, 90, 91, 92, 262, 916, 1486, 1548, 685, 1307, 1310, 1313, 1507, 1511, 1515, 1563, 1566, 1569, 912, 913, 1036, 875, 656, 694, 94, 95, 96, 97, 263, 162, 441, 222, 1149, 264, 265, 266, 498, 273, 820, 994, 569, 394, 570 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -1214 static const yytype_int16 yypact[] = { 4825, 58, 77, 4925, -1214, -1214, 2606, 25, -12, -87, -18, 17, 164, 222, 230, 238, 242, -81, 87, -16, 109, 166, 6, 226, 247, 8, 263, 267, 185, 384, 415, 451, 289, 423, 432, 388, 443, 86, 446, -40, 304, 497, 119, 433, 75, 75, 460, 255, 285, 53, 517, 527, 12, 72, 549, 556, 117, 669, 670, 2779, 677, 483, 516, 520, 10, 37, -1214, 521, -1214, 679, 693, 538, -1214, 729, 737, 14, 15, -1214, -1214, -1214, 4542, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 28, -1214, -1214, 1, -1214, 622, -1214, -1214, -1214, -38, 120, 220, 392, 437, 454, 462, 472, 512, 536, 541, 544, 545, 582, 596, 608, 611, 615, 618, 621, 631, 634, 647, 564, 576, 588, 589, 602, 603, 612, -1214, -1214, -1214, 796, 624, 628, 640, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 4542, 4542, 4542, -1214, -1214, 4248, 4036, 23, 817, 236, 3113, 847, 569, -1214, 653, 868, 880, 4542, 420, 420, -1214, 4542, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 4542, 4454, 4542, 4542, 681, 4542, 4454, 4542, 4542, 682, 4454, 4542, 4542, 3113, 686, 664, -1214, 4454, 747, 751, 2779, 2779, 2779, 752, -1214, -1214, -1214, -1214, 757, 764, 765, 3113, 4542, 863, 3113, 10, 730, 778, 75, 75, 75, 4542, 4542, 5, -1214, 116, 75, 788, 818, 819, 4287, 121, -3, 772, 800, 803, 2779, 2779, 3113, 829, 29, 836, -1214, 993, -1214, 891, 892, 912, 2779, 2779, 853, 901, 597, -1214, 920, 16, 1090, 1102, 1107, 638, 3280, 4542, 2223, -1214, -1214, 2532, -1214, 1117, -1214, 1118, 4542, 4542, 4542, 945, 4542, 950, 1003, 4542, 4542, -1214, -1214, 4542, 1127, -1214, 1128, -1214, 1129, -1214, 473, 823, -1214, 3113, 3113, 967, 4542, 1134, 964, -1214, 1135, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 4542, 420, 420, 420, 973, 973, 973, 4454, 7304, 84, 4454, 6545, 204, 971, 1137, 975, 979, -1214, 970, 5012, 1142, -1214, -1214, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, 4542, -1214, -1214, -1214, 1155, 208, -115, -1214, -107, 5817, 144, 159, 7325, 4454, 3730, -1214, 642, 7346, 7367, 4542, 7388, 646, 7409, 7430, 4542, 650, 7451, 7472, 1152, 4542, 4542, 651, 4542, 4542, 1156, 1157, 1157, 4542, 994, 998, 999, 1000, 4542, 4542, 4542, 1177, 5737, 1017, 1187, 1019, -1214, -1214, -79, -1214, -1214, 5843, 5869, 75, 75, 236, 236, 169, 4542, 4542, 4542, 4287, 4287, 4542, 5012, 234, -1214, 4542, 4542, 4542, 4542, 4542, 1188, 1191, 1193, 4542, 1195, -1214, 4542, 4542, 1014, -1214, 4454, 4454, 4454, 1197, 1198, 4542, 4542, -126, 4209, 1201, 1202, -1214, 4542, -1214, -1214, -1214, 1032, 1033, 1038, 1039, 4454, 973, -1214, 7493, -1214, 657, 4542, 3447, -1214, -1214, 7514, 7535, 7556, 1104, 5895, -1214, 1047, 3751, 7577, 6568, -1214, -1214, 1806, -1214, 1837, 4542, -1214, 1057, 658, 4542, 6591, 188, 4542, -1214, 7598, 6614, 7619, 6637, 7640, 6660, 7661, 6683, 7682, 6706, 7703, 6729, 7724, 6752, 7745, 6775, 7766, 6798, 7787, 6821, 7808, 6844, 5921, 5947, 7829, 6867, 7850, 6890, 7871, 6913, 7892, 6936, 7913, 6959, 7934, 6982, 5973, 5999, 6025, 6051, 6077, 6103, -1214, 157, 300, 191, 387, 1054, 1062, 1063, 1060, 1061, 1064, 235, 1181, 1066, 1067, 1070, 661, 84, -1214, 3113, 666, 147, 622, 4542, 1231, 1237, 11, 1074, -1214, 46, 9, 13, 108, -1214, -1214, 4569, 2042, 1867, 702, 702, 587, 587, 587, 587, 458, 458, 973, 973, 973, 973, 26, -1214, 4542, 1242, 20, 4454, 1241, 4454, 4542, 1243, -1214, 1246, 1245, 420, 1247, 4454, 4454, 1132, 1249, 1251, 7955, 1253, 1139, 1256, 1259, 7976, 1147, 1264, 1266, 4542, 7997, 5009, 1077, 8018, 8039, 4542, 3113, 1268, 1269, 8060, 4615, 4615, 4615, 4615, 8081, 8102, 8123, 3113, 4454, 1106, -1214, -1214, 1927, 2285, 75, 4542, 4542, -1214, -1214, 1098, 1100, 4287, 6129, 6155, 6181, 5791, -49, 75, 2641, 8144, 5037, 8165, 8186, 8207, 4542, 1274, -1214, 4542, 8228, -1214, 7005, 7028, -1214, 671, 672, 692, -1214, -1214, 7051, 7074, -1214, 4454, -1214, 4454, 7097, 47, 1110, 5065, 4454, 4454, 4454, 4454, 699, -1214, -1214, 4642, 4454, 973, -1214, 1275, 1277, 1278, 1114, 4542, 2824, 4542, 4542, -1214, 22, -1214, -1214, 1113, 3113, 1283, 7120, 32, -1214, 5093, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 4542, 4542, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 4542, 4542, 4542, 4542, 4542, 4542, -1214, 420, -1214, -1214, 4454, -1214, 4454, 420, -1214, -1214, 420, 420, 420, -1214, -1214, 4542, -1214, 420, 1122, 4542, 1286, 1123, 35, 4542, 1287, 1289, 1372, -1214, 1290, 1126, 10, 1293, -1214, 4454, 4454, 4454, 4454, 4542, -1214, 1133, 1150, 1125, -1214, 1297, -1214, -1214, -1214, -1214, -1214, 7143, -1214, -1214, 1168, 420, 248, -1214, 321, 6207, -1214, 1317, -1214, -1214, 75, 3730, -1214, 816, 3113, 3113, 1318, 3113, 820, 3113, 3113, 1319, 1261, 3113, 3113, 1499, 1337, 1342, 4454, 1344, 1350, 1775, -1214, -1214, 1352, -1214, 1354, 1190, 8459, -1214, 1204, 1205, 1207, 1355, 1374, 1375, 1377, 724, 1380, 2991, -1214, -1214, 252, 6233, 6259, -1214, -1214, 5121, 223, 75, 75, 75, 1384, 1379, 1214, 1386, 1222, 34, 38, 39, 41, 400, -1214, 260, -1214, -49, 1387, 1389, 1390, 1391, 1393, 8459, -1214, 1676, 1218, 1395, 1397, 1399, 1331, 4542, 1401, 1402, 725, 728, -82, -1214, -1214, 732, 738, 742, 750, -1214, 4542, 754, 3113, 3113, 3113, 1406, 6285, -1214, 4661, 895, 1408, 1411, 3113, 1240, -1214, 1407, 1414, -1214, 1413, -1214, 8249, 7166, 8270, 7189, 8291, 7212, 8312, 7235, -1214, 411, 399, 1252, 1248, 1255, 1258, 8333, 1262, 84, 2006, -1214, 84, 210, 1260, 1418, 2171, -1214, -1214, -1214, 10, 4542, -1214, 767, -1214, 770, 771, 774, 781, 8459, 1270, 4542, 4542, 3113, 1271, -1214, 1272, -1214, 1427, 40, 1430, 4542, 83, 42, 1273, 1276, 1346, 1346, 3113, 1431, 1279, 1281, 1434, 1437, 3113, 1288, 1441, 1443, -1214, 1445, 3113, 785, 3113, 3113, 1448, 1447, -1214, 3113, 1454, 1457, 1458, 1459, 3113, 3113, 3113, -1214, 1460, 275, -1214, 4542, 4542, 4542, 1295, 1296, 48, 203, 215, 1298, -1214, 3113, -1214, 4542, -1214, 1468, -1214, 1469, -1214, 1472, -1214, 1473, -1214, -1214, 4287, 706, 2946, -1214, 1314, 1326, 3614, -1214, 4454, -1214, -1214, -1214, 1327, 2355, -1214, -1214, 1334, 1335, 1503, -1214, -1214, -1214, -1214, 8459, -1214, 1506, 1511, 1400, -1214, 4542, 4542, 4542, -1214, 1529, 436, 1363, 1534, -1214, 337, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, 420, -1214, -1214, -1214, -1214, 3113, -1214, 3113, 622, 4542, 1535, 1541, 11, -1214, 1540, 7258, 10, -1214, 1543, 1545, 1546, 1548, 4542, 6311, 6337, 786, -1214, 4542, 1551, -1214, -1214, 420, -1214, 6363, 4615, 8459, -1214, -1214, 4542, 4542, 75, 1550, 1552, 1553, -1214, 4542, 4542, -1214, -1214, 1554, 4542, -1214, -1214, 1556, 1557, 1398, 1558, 1442, 4542, -1214, 1561, 3113, 3113, 3113, 3113, 1564, 960, 1566, 4542, -1214, 4615, 5149, 8354, 4690, 236, 236, 75, 1568, 75, 1569, 75, 1571, 4542, 111, 1404, 8375, -1214, -1214, -1214, -1214, 5177, 270, -1214, 1573, 2048, 1574, 3113, 75, 2048, 1575, 793, 4542, -1214, -1214, -1214, 47, -1214, -1214, 3113, 4947, 149, 8396, -1214, -1214, 3948, 3113, -1214, -1214, 1415, 1576, 1577, 1581, 2377, -1214, 1582, 1584, -1214, 1420, -1214, -1214, -1214, -1214, -1214, 414, 8459, 4542, 4542, 3113, 1419, 822, 8459, -1214, 1587, 4542, 8459, -1214, 5205, 5233, 500, -1214, -1214, -1214, 5261, 5289, -1214, 5317, 1591, -1214, 3113, -1214, 1536, 1595, 8459, -1214, 1597, 1598, 1601, 1602, -1214, 1422, -1214, -1214, 5764, 2436, 1604, 1436, -1214, 4542, -1214, 1446, 1449, 280, -1214, 1451, 282, -1214, 1455, 293, -1214, 1456, 7281, 1611, 3113, 1616, 1461, 4542, -1214, 3781, 310, -1214, 833, 320, 324, -1214, 1618, 5345, 1515, 4542, -1214, 4542, -1214, -1214, 4454, 2512, 1623, 1462, -1214, -1214, -1214, -1214, -1214, 10, -1214, 1520, -1214, 4542, 6389, 6415, -1214, 3113, 4542, 1639, -1214, 6441, -1214, -1214, 1641, 1656, 1657, 1658, 1659, 1661, 837, 1493, -1214, -1214, -1214, -1214, -1214, 3113, 4454, -1214, -1214, 236, 4981, -1214, -1214, 4287, -49, 4287, -49, 4287, -49, 1663, -1214, 840, 3113, -1214, 5373, 75, 1664, 4454, 75, -1214, -1214, 4542, 5401, 5429, 843, -1214, -1214, 1666, 1668, -1214, 1496, 8459, 4542, 4542, 844, 8459, -1214, 4542, 848, 856, -1214, -1214, -1214, -1214, -1214, -1214, 1500, 4542, 857, 860, 1501, 4542, -1214, 5457, 405, 789, 5485, 407, 1015, 5513, 410, 1051, -1214, 3113, 1670, 1599, 3158, 1504, 413, -1214, 861, 455, 3395, -1214, -1214, 1672, -1214, -1214, 4542, 8417, 6467, 18, 6493, 1677, -1214, -1214, 1679, -1214, -1214, 4542, 5541, 1680, 1681, -1214, 5569, 1682, 4542, 1683, 1686, 4542, 1690, 1692, 4542, 1693, 1509, -1214, 4542, -1214, -49, -1214, 4454, 1694, 3781, -1214, -1214, 884, -1214, 4542, -1214, 3113, 4542, 2406, 3992, 6519, -1214, -1214, -1214, -1214, -1214, 1527, 5597, -1214, -1214, 1531, 5625, -1214, -1214, 1533, 5653, -1214, 1703, 3414, 1111, 3325, 885, -1214, 457, 889, 1704, 1538, 8438, 896, 5681, 2223, -1214, -1214, 420, 8459, -1214, 4542, -49, 1705, -49, 1708, -49, 1712, -1214, -1214, -1214, -1214, -49, 1714, 4454, 1715, -1214, 420, -1214, 1547, 1717, 909, 3570, 924, 5709, 1265, -1214, 1555, 1381, -1214, 1560, 1392, -1214, 1565, 1409, -1214, 925, -1214, 928, -1214, 1572, 3113, -1214, 4542, -1214, 622, -1214, 1721, 1722, -49, 1725, -49, 1726, -49, -1214, 1727, 420, 1735, 420, 929, 1021, -1214, -1214, -1214, 1514, -1214, 1638, -1214, 1665, -1214, -1214, -1214, 937, -1214, 1743, 622, 1744, 1745, 1746, 420, 1747, -1214, -1214, -1214, -1214, -1214, -1214, -1214 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { -1214, -1214, -1214, -1214, 745, -1214, -1214, -1214, -1214, 301, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -331, 54, -1214, 1360, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -452, -1214, 741, 1757, -1214, -1214, -1214, -1214, 0, -438, -222, -1214, -1214, -1214, -1214, -1214, -1214, 1758, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -1214, -631, -827, -1214, -1214, 1339, -1214, -1214, -1214, -1214, -1214, 217, -1214, 21, -1214, -1213, 779, 186, 1069, 635, -209, 627, -1214, -6, -5, -338 }; /* 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 zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -453 static const yytype_int16 yytable[] = { 163, 164, 571, 86, 436, 291, 455, 1324, 678, 679, 182, 580, 187, 182, 271, 818, 238, 187, 471, 282, 284, 484, 209, 169, 1496, 210, 840, 362, 588, 953, 827, 592, 903, 467, 288, 468, 392, 100, 165, 984, 1063, 274, 904, 709, 1065, 1067, 1154, 1069, 1161, 710, 905, 906, 907, 166, 623, 908, 909, 910, 911, 624, 160, 515, 625, 517, 4, 221, 223, 626, 229, 1366, 126, 127, 128, 129, 130, 131, 241, 5, 242, 444, 445, 167, 135, 152, 153, 1072, 98, 286, 100, 176, 1091, 587, 102, 103, 104, 673, 296, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 234, 499, 235, 126, 127, 128, 129, 130, 131, 132, 133, 134, 297, 243, 298, 135, 136, 137, 828, 829, 830, 831, 1412, 239, 1064, 363, 364, 202, 1066, 1068, 203, 1070, 168, 204, 178, 205, 587, 985, 986, 1333, 367, 179, 1426, 393, 395, 444, 445, 458, 152, 153, 140, 141, 171, 292, 459, 293, 183, 841, -450, 183, 294, 246, 446, 184, 247, 188, 823, 272, 819, 240, 824, 283, 285, 485, 170, 1497, 954, 841, 289, 152, 153, 469, 444, 445, 832, 290, 959, 275, 444, 445, 881, 882, 883, 591, 152, 153, 178, 671, 672, 1132, 139, 140, 141, 822, 1200, 161, 1201, 142, 143, 144, 172, 145, 146, 147, 148, 217, 218, 687, 173, 439, 440, 213, 366, 149, 150, 219, 174, 448, 151, 1072, 175, 456, 220, 259, 214, 215, 191, 808, 157, 177, 1158, 812, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 500, 385, 386, 444, 445, 190, 180, 387, 444, 445, 1193, 1194, 825, 1529, 1074, 733, 1315, 299, 230, 300, 447, 145, 146, 147, 148, 457, 287, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 152, 153, 225, 628, 387, 226, 629, 811, 227, 43, 44, 45, 46, 1334, 789, 444, 445, 51, 631, 790, 54, 629, 181, 572, 573, 574, 575, 576, 577, 578, 579, 680, 231, 582, 583, 584, 232, 145, 146, 147, 148, 152, 153, 145, 146, 147, 148, 233, 792, 444, 445, -451, 1595, 793, 354, 355, 356, 152, 153, 358, 361, 444, 445, 152, 153, 1202, 621, 1203, 622, 444, 445, 391, 421, 422, 423, 396, 301, 1204, 302, 1205, 444, 445, 185, 399, 401, 404, 405, 1054, 407, 401, 409, 410, 802, 401, 413, 414, 686, 790, 444, 445, 401, 217, 218, 186, 593, 1010, 444, 445, 463, 464, 635, 219, 392, 100, 1050, 433, 444, 445, 228, 189, 476, 477, 1073, 190, 442, 443, 444, 445, 444, 445, 1237, 1238, 1319, 443, 367, 367, 890, 192, 198, 444, 445, 199, 1381, 200, 1383, 194, 126, 127, 128, 129, 130, 131, 195, 676, 677, 1385, 444, 445, 135, 791, 211, 440, 790, 494, 496, 401, 444, 445, 193, 903, 444, 445, 1393, 503, 504, 505, 196, 507, 1011, 904, 510, 511, 1395, 635, 512, 197, 1396, 905, 906, 907, 152, 153, 908, 909, 910, 911, 206, 523, 201, 207, -452, 208, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 140, 141, 794, 212, 303, 795, 304, 444, 445, 444, 445, 581, 444, 445, 1122, 444, 445, 635, 401, 372, 1071, 401, 745, 1474, 1121, 1477, 236, 1348, 1480, 635, 814, 1488, 1349, 237, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 305, 1072, 306, 216, 1072, 993, 244, 1072, 444, 445, 444, 445, 494, 384, 385, 386, 245, 307, 639, 308, 387, 850, 100, 644, 1490, 309, 1550, 310, 649, 650, 224, 652, 653, 152, 153, 311, 658, 312, 518, 813, 482, 663, 664, 665, 1129, 294, 268, 1131, 1133, 880, 880, 880, 880, 444, 445, 126, 127, 128, 129, 130, 131, 681, 682, 683, 354, 355, 684, 135, 248, 249, 688, 689, 690, 691, 692, 313, 267, 314, 697, 269, 277, 699, 700, 270, 276, 401, 401, 401, 1072, 893, 707, 708, 489, 713, 278, 490, 899, 716, 491, 315, 492, 316, 914, 279, 317, 401, 318, 319, 321, 320, 322, 724, 726, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 343, 280, 1072, 713, 387, 1072, 961, 743, 1072, 281, 746, 1072, 344, 382, 383, 384, 385, 386, 323, 1433, 324, 1436, 387, 1439, 345, 346, 140, 141, 1303, 1304, 152, 153, 325, 480, 326, 481, 745, 482, 347, 348, 158, 1072, 294, 1072, 327, 1072, 328, 329, 349, 330, 1138, 331, 971, 332, 333, 903, 334, 335, 974, 336, 351, 975, 976, 977, 352, 904, 960, 337, 979, 338, 339, 350, 340, 905, 906, 907, 353, 815, 908, 909, 910, 911, 403, 341, 635, 342, 636, 408, 635, 365, 641, 412, 635, 635, 645, 651, 388, 519, 418, 635, 741, 723, 742, 635, 1009, 807, 838, 417, 635, 401, 810, 401, 846, 635, 635, 928, 929, 406, 411, 726, 852, 371, 416, 1520, 378, 379, 380, 381, 382, 383, 384, 385, 386, 866, 635, 434, 930, 387, 903, 872, 1014, 635, 389, 942, 879, 879, 879, 879, 904, 1015, 1216, 1016, 401, 1021, 390, 1022, 905, 906, 907, 894, 895, 908, 909, 910, 911, 898, 635, 635, 1047, 1089, 635, 1104, 1090, 437, 635, 1561, 1092, 1564, 922, 1567, 635, 924, 1093, 419, 635, 1570, 1094, 420, 424, 1055, 1056, 1057, 635, 429, 1095, 401, 635, 401, 1097, 1252, 430, 431, 401, 401, 401, 401, 370, 1428, 460, 1140, 401, 1141, 635, 635, 1142, 1143, 635, 949, 1144, 951, 952, 438, 1600, 635, 1602, 1145, 1604, 635, 1261, 1179, 1262, 449, 1293, 1475, 1294, 635, 461, 1328, 415, 462, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 963, 964, 432, 960, 387, 435, 585, 450, 451, 589, 1354, 466, 1355, 472, 965, 966, 967, 968, 969, 970, 470, 1261, 1160, 1394, 401, 1261, 401, 1424, 1441, 465, 1442, 635, 1261, 1453, 1459, 978, 1461, 478, 1462, 981, 7, 8, 1611, 987, 1464, 1261, 1465, 1469, 635, 635, 1470, 1489, 1134, 401, 401, 401, 401, 1000, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1354, 635, 1526, 1549, 387, 635, 1105, 1551, 473, 474, 520, 521, 1261, 479, 1555, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 1579, 29, 1580, 401, 475, 33, 34, 483, 36, 37, 38, 1215, 486, 903, 41, 790, 635, 1582, 1591, 1592, 1261, 1593, 1610, 904, 487, 702, 703, 704, 1615, 488, 1616, 905, 906, 907, 506, 1242, 908, 909, 910, 911, 501, 502, 508, 509, 1245, 721, 61, 62, 63, 903, 513, 514, 516, 1406, 522, 524, 525, 387, 526, 904, 594, 595, 596, 597, 1086, 603, 1266, 905, 906, 907, 1269, 158, 908, 909, 910, 911, 648, 1096, 620, 659, 654, 655, 1241, 660, 661, 662, 1444, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 666, 1272, 668, 803, 387, 1298, 701, 1478, 903, 669, 670, 693, 1559, 695, 367, 367, 696, 698, 904, 705, 706, 714, 715, 717, 718, 1139, 905, 906, 907, 719, 720, 908, 909, 910, 911, 1147, 1148, 1305, 734, 1308, 731, 1311, 740, 1481, 796, 1157, 1159, 797, 798, 1338, 799, 800, 805, 816, 801, 1322, 804, 817, 1325, 1326, 806, 821, 839, 844, 402, 847, 848, 849, 869, 402, 851, 854, 855, 402, 856, 843, 858, 845, 859, 860, 402, 1521, 861, 1195, 1196, 1197, 863, 864, 874, 865, 896, 876, 897, 1207, 889, 1209, 923, 936, 945, 1241, 946, 947, 948, 1546, 955, 957, 1214, 980, 982, 988, 983, 989, 992, 991, 401, 995, 1004, 1002, 888, 1006, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1003, 1233, 1234, 1235, 387, 1008, 1013, 1019, 1025, 495, 1026, 402, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1030, 933, 903, 934, 387, 1031, 1246, 1033, 938, 939, 940, 941, 904, 1034, 1037, 1039, 944, 1038, 1043, 1258, 905, 906, 907, 809, 1264, 908, 909, 910, 911, 1040, 1041, 1268, 1042, 367, 990, 1270, 1271, 1044, 1045, 1046, 1048, 1059, 1276, 1277, 1058, 1060, 1062, 1279, 1061, 1081, 1075, 1076, 1085, 1077, 1078, 1286, 1079, 1082, 1432, 1083, 1435, 1084, 1438, 1087, 1088, 1296, 1101, 1297, 1106, 1110, 1446, 1107, 1109, 1449, 1111, 1112, 1164, 1123, 1124, 1314, 1125, 1136, 402, 1126, 972, 402, 973, 1128, 1135, 1153, 873, 401, 1156, 1168, 1146, 401, 1171, 1584, 1329, 1172, 1152, 887, 1151, 1175, 1162, 1176, 1177, 1163, 1182, 1183, 1169, 1337, 1170, 996, 997, 998, 999, 1185, 903, 1174, 1186, 1187, 1188, 1192, 1206, 495, 1198, 1199, 904, 903, 1210, 1211, 1350, 1351, 1212, 1213, 905, 906, 907, 904, 1357, 908, 909, 910, 911, 1220, 903, 905, 906, 907, 1533, 1536, 908, 909, 910, 911, 904, 1221, 1225, 1227, 1032, 1029, 1228, 1229, 905, 906, 907, 1524, 1230, 908, 909, 910, 911, 1231, 1378, 1232, 956, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1236, 1392, 1239, 494, 387, 1240, 1247, 402, 402, 402, 1248, 1250, 1575, 1400, 1253, 1401, 1254, 1255, 401, 1256, 1265, 1273, 1586, 1274, 1275, 1278, 1280, 402, 1281, 1283, 1284, 1409, 1287, 1588, 727, 1292, 1413, 1295, 1282, 1306, 1309, 1597, 1312, 1316, 1320, 1323, 1327, 1341, 1342, 1340, 1590, 1606, 1343, 1609, 1345, 1346, 401, 1347, 1356, 1353, 903, 1365, 1373, 1431, 1367, 1434, 1368, 1437, 1369, 1370, 904, 1618, 1371, 1372, 1622, 1376, 1377, 401, 905, 906, 907, 1450, 1388, 908, 909, 910, 911, 1379, 1390, 1397, 1380, 1382, 1457, 1458, 1404, 1384, 1386, 1460, 1399, 1017, 1018, 1391, 1020, 1405, 1023, 1024, 1407, 1468, 1027, 1028, 1414, 1472, 1418, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1419, 1420, 1421, 1422, 387, 1423, 1425, 1440, 1447, 1456, 1454, 1264, 1455, 1467, 1483, 1471, 1492, 1487, 1484, 1499, 1080, 1500, 1501, 1518, 1503, 1504, 1506, 1509, 1612, 1508, 1510, 402, 1512, 402, 1513, 1516, 1514, 1517, 1523, 1519, 1538, 727, 853, 401, 1540, 401, 1542, 1544, 1552, 1562, 1528, 1553, 1565, 1530, 1224, 1535, 1568, 903, 1571, 1573, 1577, 1578, 1098, 1099, 1100, 1598, 1599, 904, 1585, 1601, 1603, 1605, 1108, 1587, 402, 905, 906, 907, 1589, 1607, 908, 909, 910, 911, 903, 1594, 1558, 1617, 1619, 1620, 1621, 1623, 1560, 1155, 904, 1493, 632, 1166, 85, 93, 657, 1249, 905, 906, 907, 401, 0, 908, 909, 910, 911, 0, 0, 0, 0, 0, 0, 402, 0, 402, 0, 1150, 0, 0, 402, 402, 402, 402, 0, 0, 0, 0, 402, 0, 1596, 0, 1167, 0, 0, 0, 0, 0, 1173, 0, 0, 0, 0, 0, 1178, 0, 1180, 1181, 1613, 0, 0, 1184, 7, 8, 0, 0, 1189, 1190, 1191, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1208, 0, 1614, 0, 387, 0, 0, 0, 0, 0, 7, 8, 0, 0, 0, 1219, 0, 1035, 0, 1223, 0, 0, 0, 402, 0, 402, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 0, 402, 402, 402, 402, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 1243, 0, 1244, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 61, 62, 63, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 402, 7, 8, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 0, 61, 62, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1288, 1289, 1290, 1291, 0, 0, 0, 1402, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 738, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 1150, 0, 33, 34, 0, 36, 37, 38, 0, 0, 1427, 41, 1330, 1130, 739, 0, 0, 0, 0, 1339, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1448, 0, 0, 0, 387, 0, 0, 0, 0, 0, 1352, 0, 61, 62, 63, 0, 0, 0, 0, 0, 0, 98, 250, 0, 0, 0, 0, 102, 103, 104, 0, 1150, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 1389, 0, 0, 0, 136, 137, 0, 0, 891, 0, 0, 0, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 1522, 0, 1525, 257, 0, 0, 0, 0, 0, 1150, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 402, 0, 1150, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1443, 0, 0, 0, 387, 0, 0, 0, 1137, 0, 0, 0, 0, 0, 139, 0, 1572, 0, 0, 0, 0, 142, 143, 144, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 452, 1321, 0, 387, 0, 151, 0, 0, 0, 0, 454, 0, 0, 0, 1482, 157, 0, 220, 497, 0, 98, 250, 0, 0, 0, 0, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 1150, 0, 1532, 0, 0, 0, 253, 0, 0, 254, 0, 402, 255, 0, 256, 402, 0, 0, 0, 0, 0, 7, 8, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 1150, 0, 139, 33, 34, 1226, 36, 37, 38, 142, 143, 144, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 400, 1344, 0, 0, 151, 0, 0, 0, 495, 259, 0, 0, 0, 0, 157, 0, 0, 497, 61, 62, 63, 0, 0, 402, 0, 0, 0, 98, 250, 100, 0, 0, 0, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 1375, 402, 126, 127, 128, 129, 130, 131, 132, 133, 134, 0, 0, 0, 135, 136, 137, 0, 0, 892, 0, 0, 402, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1403, 0, 0, 0, 387, 0, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 499, 139, 140, 141, 387, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 402, 0, 402, 0, 0, 0, 0, 149, 258, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 0, 1531, 0, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 402, 0, 0, 387, 0, 0, 0, 0, 0, 98, 99, 100, 0, 101, 0, 102, 103, 104, 0, 402, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 126, 127, 128, 129, 130, 131, 132, 133, 134, 7, 8, 0, 135, 136, 137, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 500, 385, 386, 0, 0, 0, 0, 387, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 0, 0, 0, 0, 0, 139, 140, 141, 0, 0, 0, 0, 142, 143, 144, 145, 146, 147, 148, 0, 61, 62, 63, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 152, 153, 0, 154, 0, 155, 0, 156, 157, 0, 158, 98, 250, 251, 0, 0, 0, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 915, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 0, 0, 0, 7, 8, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 258, 61, 62, 63, 151, 0, 0, 0, 0, 259, 0, 98, 250, 1217, 157, 0, 260, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 950, 0, 0, 7, 8, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 258, 61, 62, 63, 151, 0, 0, 0, 0, 259, 0, 98, 250, 0, 157, 0, 1218, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 1049, 0, 0, 7, 8, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 258, 61, 62, 63, 151, 0, 0, 0, 0, 259, 0, 98, 250, 0, 157, 0, 260, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 1485, 0, 0, 7, 8, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 1491, 36, 37, 38, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 1545, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 400, 61, 62, 63, 151, 0, 0, 0, 0, 259, 0, 98, 250, 0, 157, 0, 493, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 1547, 0, 0, 0, 0, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 1581, 499, 0, 0, 387, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 400, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 98, 250, 0, 157, 0, 725, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 0, 0, 0, 0, 0, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 634, 385, 386, 0, 0, 0, 0, 387, 499, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 735, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 258, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 98, 250, 0, 157, 0, 1222, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 0, 0, 0, 0, 0, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 0, 0, 51, 0, 0, 54, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 634, 385, 386, 0, 0, 0, 0, 387, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 139, 0, 387, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 452, 1321, 0, 0, 0, 151, 0, 0, 0, 0, 454, 0, 98, 286, 100, 157, 0, 220, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 126, 127, 128, 129, 130, 131, 132, 133, 134, 98, 286, 100, 135, 136, 137, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 126, 127, 128, 129, 130, 131, 132, 133, 134, 98, 286, 0, 135, 136, 137, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 139, 140, 141, 0, 136, 137, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 0, 1336, 0, 0, 0, 139, 140, 141, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 0, 1534, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 359, 0, 157, 0, 360, 98, 286, 0, 0, 0, 0, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0, 98, 286, 132, 133, 134, 0, 102, 103, 104, 136, 137, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0, 98, 286, 132, 133, 134, 0, 102, 103, 104, 136, 137, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 711, 0, 157, 139, 712, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 139, 357, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 452, 453, 0, 0, 0, 151, 0, 0, 0, 0, 454, 0, 98, 250, 0, 157, 0, 220, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 252, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 0, 0, 0, 0, 136, 137, 0, 0, 0, 0, 0, 0, 253, 0, 0, 254, 0, 0, 255, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 43, 44, 45, 46, 47, 0, 98, 286, 51, 0, 0, 54, 102, 103, 104, 0, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 826, 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, 134, 139, 0, 0, 0, 136, 137, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 400, 0, 0, 0, 151, 98, 286, 100, 0, 259, 0, 102, 103, 104, 157, 0, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 943, 0, 0, 126, 127, 128, 129, 130, 131, 132, 133, 134, 0, 0, 0, 135, 136, 137, 0, 1103, 0, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 139, 140, 141, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 150, 0, 0, 0, 151, 0, 0, 0, 0, 259, 0, 0, 0, 0, 157, 0, 0, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, -4, 1, 0, 387, -4, 0, 0, 0, 0, 0, 0, 0, -4, -4, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, -4, -4, 0, 1301, 0, 1302, 0, 0, 0, 0, 0, -4, -4, -4, 0, 0, 0, -4, -4, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -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, -4, -4, -4, -4, -4, -4, -4, 0, 0, 0, -4, -4, 6, 0, 0, 0, 0, -4, 0, 0, 7, 8, -4, -4, -4, -4, 0, 0, -4, 0, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, 9, 10, -4, -4, -4, -4, 0, 0, 0, 0, 0, 11, 12, 13, 0, 0, 0, 14, 15, 16, 0, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 7, 8, 0, 57, 58, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 60, 61, 62, 63, 0, 0, 64, 0, 65, 0, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 0, 0, 0, 77, 78, 79, 80, 0, 0, 0, 0, 598, 20, 21, 599, 23, 24, 600, 26, 601, 28, 0, 29, 0, 0, 0, 33, 34, 0, 36, 37, 38, 0, 0, 0, 41, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1331, 0, 1332, 0, 0, 0, 61, 62, 63, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1429, 0, 1430, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 868, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 918, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 937, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 962, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1053, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1299, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1318, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1360, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1361, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1362, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1363, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1364, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1398, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1445, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1451, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1452, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1473, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1476, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1479, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1502, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1505, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1539, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1541, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1543, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1556, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 0, 1583, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 667, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 1374, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 722, 0, 0, 0, 0, 674, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 627, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 674, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 675, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 732, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 769, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 770, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 783, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 784, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 785, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 786, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 787, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 788, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 900, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 901, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 902, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1012, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1051, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1052, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1102, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1259, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1260, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1267, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1410, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1411, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1415, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1495, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1498, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 1537, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 590, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 737, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 744, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 748, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 750, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 752, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 754, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 756, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 758, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 760, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 762, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 764, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 766, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 768, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 772, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 774, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 776, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 778, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 780, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 782, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 926, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 927, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 931, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 932, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 935, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 958, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1007, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1114, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1116, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1118, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1120, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1251, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 0, 0, 1387, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 586, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 633, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 637, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 638, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 640, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 642, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 643, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 646, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 647, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 722, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 728, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 729, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 730, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 736, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 747, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 749, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 751, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 753, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 755, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 757, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 759, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 761, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 763, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 765, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 767, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 771, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 773, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 775, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 777, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 779, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 781, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 857, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 862, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 867, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 870, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 871, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 877, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 884, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 885, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 886, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 917, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 919, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 920, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 921, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 925, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1113, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1115, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1117, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1119, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1127, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1300, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1317, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1335, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1494, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387, 0, 1554, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 0, 0, 0, 0, 387 }; static const yytype_int16 yycheck[] = { 6, 6, 340, 3, 213, 4, 228, 1220, 446, 447, 4, 349, 4, 4, 4, 4, 4, 4, 240, 5, 5, 5, 62, 6, 6, 65, 6, 4, 359, 7, 4, 362, 81, 4, 6, 6, 4, 5, 13, 4, 6, 4, 91, 169, 6, 6, 6, 6, 6, 175, 99, 100, 101, 65, 169, 104, 105, 106, 107, 174, 6, 283, 169, 285, 6, 44, 45, 174, 47, 1282, 38, 39, 40, 41, 42, 43, 4, 0, 6, 158, 159, 168, 50, 165, 166, 912, 3, 4, 5, 170, 172, 7, 9, 10, 11, 174, 101, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 65, 8, 67, 38, 39, 40, 41, 42, 43, 44, 45, 46, 168, 59, 170, 50, 51, 52, 110, 111, 112, 113, 1353, 129, 108, 120, 121, 59, 108, 108, 62, 108, 168, 65, 168, 67, 7, 120, 121, 8, 158, 175, 1373, 167, 168, 158, 159, 168, 165, 166, 136, 137, 6, 170, 175, 172, 168, 155, 175, 168, 177, 62, 175, 175, 65, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 172, 155, 168, 165, 166, 170, 158, 159, 176, 175, 172, 168, 158, 159, 660, 661, 662, 7, 165, 166, 168, 437, 438, 7, 135, 136, 137, 175, 174, 6, 176, 142, 143, 144, 6, 145, 146, 147, 148, 158, 159, 457, 6, 216, 217, 120, 4, 158, 159, 168, 6, 224, 163, 1074, 6, 228, 175, 168, 133, 134, 69, 586, 173, 170, 175, 590, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 158, 159, 168, 168, 167, 158, 159, 6, 7, 175, 1497, 916, 508, 176, 168, 4, 170, 175, 145, 146, 147, 148, 175, 80, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 165, 166, 59, 171, 167, 62, 174, 172, 65, 85, 86, 87, 88, 176, 169, 158, 159, 93, 171, 174, 96, 174, 168, 341, 342, 343, 344, 345, 346, 347, 348, 174, 59, 351, 352, 353, 63, 145, 146, 147, 148, 165, 166, 145, 146, 147, 148, 74, 169, 158, 159, 175, 1577, 174, 149, 150, 151, 165, 166, 154, 155, 158, 159, 165, 166, 174, 170, 176, 172, 158, 159, 166, 198, 199, 200, 170, 168, 174, 170, 176, 158, 159, 168, 178, 179, 180, 181, 176, 183, 184, 185, 186, 169, 188, 189, 190, 174, 174, 158, 159, 195, 158, 159, 168, 362, 169, 158, 159, 234, 235, 174, 168, 4, 5, 174, 210, 158, 159, 175, 168, 246, 247, 174, 168, 219, 220, 158, 159, 158, 159, 6, 7, 174, 228, 446, 447, 670, 65, 62, 158, 159, 65, 174, 67, 174, 6, 38, 39, 40, 41, 42, 43, 175, 444, 445, 174, 158, 159, 50, 171, 168, 452, 174, 258, 259, 260, 158, 159, 65, 81, 158, 159, 174, 268, 269, 270, 65, 272, 169, 91, 275, 276, 174, 174, 279, 65, 174, 99, 100, 101, 165, 166, 104, 105, 106, 107, 62, 292, 67, 65, 175, 67, 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, 136, 137, 171, 62, 168, 174, 170, 158, 159, 158, 159, 350, 158, 159, 171, 158, 159, 174, 357, 6, 176, 360, 524, 174, 169, 174, 65, 169, 174, 174, 591, 174, 174, 62, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 168, 1433, 170, 175, 1436, 819, 62, 1439, 158, 159, 158, 159, 400, 160, 161, 162, 65, 168, 406, 170, 167, 632, 5, 411, 174, 168, 174, 170, 416, 417, 175, 419, 420, 165, 166, 168, 424, 170, 170, 590, 172, 429, 430, 431, 980, 177, 168, 983, 984, 659, 660, 661, 662, 158, 159, 38, 39, 40, 41, 42, 43, 449, 450, 451, 452, 453, 454, 50, 4, 4, 458, 459, 460, 461, 462, 168, 4, 170, 466, 168, 6, 469, 470, 168, 168, 473, 474, 475, 1520, 673, 478, 479, 59, 481, 6, 62, 680, 485, 65, 168, 67, 170, 686, 170, 168, 493, 170, 168, 168, 170, 170, 499, 500, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 168, 4, 1561, 518, 167, 1564, 744, 522, 1567, 4, 525, 1570, 168, 158, 159, 160, 161, 162, 168, 1382, 170, 1384, 167, 1386, 168, 168, 136, 137, 1198, 1199, 165, 166, 168, 168, 170, 170, 714, 172, 168, 168, 175, 1600, 177, 1602, 168, 1604, 170, 168, 168, 170, 991, 168, 790, 170, 168, 81, 170, 168, 796, 170, 168, 799, 800, 801, 168, 91, 744, 168, 806, 170, 168, 7, 170, 99, 100, 101, 168, 592, 104, 105, 106, 107, 179, 168, 174, 170, 176, 184, 174, 4, 176, 188, 174, 174, 176, 176, 175, 6, 195, 174, 174, 176, 176, 174, 842, 176, 621, 175, 174, 624, 176, 626, 627, 174, 174, 176, 176, 168, 168, 634, 635, 6, 168, 1486, 154, 155, 156, 157, 158, 159, 160, 161, 162, 648, 174, 4, 176, 167, 81, 654, 851, 174, 6, 176, 659, 660, 661, 662, 91, 65, 176, 67, 667, 65, 6, 67, 99, 100, 101, 674, 675, 104, 105, 106, 107, 680, 174, 174, 176, 176, 174, 8, 176, 175, 174, 1538, 176, 1540, 693, 1542, 174, 696, 176, 168, 174, 1548, 176, 168, 168, 900, 901, 902, 174, 168, 176, 710, 174, 712, 176, 1140, 168, 168, 717, 718, 719, 720, 159, 1377, 168, 174, 725, 176, 174, 174, 176, 176, 174, 732, 176, 734, 735, 175, 1585, 174, 1587, 176, 1589, 174, 174, 176, 176, 175, 4, 176, 6, 174, 168, 176, 191, 168, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 769, 770, 209, 935, 167, 212, 357, 175, 175, 360, 174, 168, 176, 6, 783, 784, 785, 786, 787, 788, 170, 174, 1013, 176, 793, 174, 795, 176, 174, 236, 176, 174, 174, 176, 176, 804, 174, 170, 176, 808, 12, 13, 7, 812, 174, 174, 176, 176, 174, 174, 176, 176, 984, 822, 823, 824, 825, 826, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 174, 174, 176, 176, 167, 174, 169, 176, 175, 175, 289, 290, 174, 170, 176, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 174, 70, 176, 869, 175, 74, 75, 170, 77, 78, 79, 1073, 5, 81, 83, 174, 174, 176, 176, 174, 174, 176, 176, 91, 5, 473, 474, 475, 174, 5, 176, 99, 100, 101, 172, 1124, 104, 105, 106, 107, 6, 6, 175, 123, 1132, 493, 115, 116, 117, 81, 6, 6, 6, 1345, 170, 4, 175, 167, 6, 91, 172, 7, 170, 176, 930, 6, 1155, 99, 100, 101, 1158, 175, 104, 105, 106, 107, 7, 943, 6, 168, 7, 7, 1111, 168, 168, 168, 1391, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 7, 1164, 169, 6, 167, 1194, 176, 176, 81, 6, 175, 7, 1534, 6, 1198, 1199, 7, 6, 91, 6, 6, 4, 4, 175, 175, 992, 99, 100, 101, 175, 175, 104, 105, 106, 107, 1002, 1003, 1200, 175, 1202, 120, 1204, 169, 176, 174, 1012, 1013, 169, 169, 1238, 174, 174, 169, 6, 174, 1218, 174, 4, 1221, 1222, 174, 171, 4, 6, 179, 6, 4, 6, 175, 184, 7, 123, 7, 188, 7, 624, 7, 626, 123, 7, 195, 1487, 7, 1050, 1051, 1052, 123, 7, 4, 7, 176, 6, 176, 1060, 172, 1062, 6, 171, 7, 1229, 7, 7, 172, 176, 175, 6, 1073, 169, 6, 6, 171, 6, 170, 7, 1081, 6, 175, 168, 667, 6, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 168, 1102, 1103, 1104, 167, 155, 7, 7, 7, 258, 67, 260, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 7, 710, 81, 712, 167, 7, 1133, 7, 717, 718, 719, 720, 91, 7, 6, 169, 725, 7, 7, 1146, 99, 100, 101, 588, 1151, 104, 105, 106, 107, 169, 169, 1158, 169, 1377, 6, 1162, 1163, 7, 7, 6, 4, 6, 1169, 1170, 4, 175, 168, 1174, 6, 175, 7, 6, 65, 7, 7, 1182, 7, 6, 1381, 6, 1383, 6, 1385, 6, 6, 1192, 4, 1194, 4, 6, 1393, 4, 176, 1396, 4, 6, 74, 169, 174, 1206, 169, 7, 357, 169, 793, 360, 795, 169, 172, 6, 655, 1218, 6, 6, 168, 1222, 6, 176, 1225, 6, 172, 666, 175, 6, 175, 6, 5, 175, 4, 6, 175, 1238, 175, 822, 823, 824, 825, 7, 81, 175, 7, 7, 7, 7, 170, 400, 175, 175, 91, 81, 6, 6, 1259, 1260, 6, 6, 99, 100, 101, 91, 1267, 104, 105, 106, 107, 175, 81, 99, 100, 101, 1499, 1500, 104, 105, 106, 107, 91, 175, 175, 169, 869, 6, 171, 4, 99, 100, 101, 1490, 6, 104, 105, 106, 107, 6, 1301, 119, 741, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 6, 1319, 174, 1321, 167, 6, 6, 473, 474, 475, 4, 6, 1553, 1331, 6, 1333, 6, 6, 1336, 6, 4, 6, 176, 6, 6, 6, 5, 493, 6, 6, 123, 1349, 6, 176, 500, 6, 1354, 6, 175, 6, 6, 1581, 6, 174, 6, 6, 6, 6, 6, 169, 176, 1592, 6, 1594, 7, 6, 1374, 172, 6, 175, 81, 5, 175, 1381, 63, 1383, 6, 1385, 6, 6, 91, 1611, 6, 6, 1615, 6, 175, 1395, 99, 100, 101, 1399, 6, 104, 105, 106, 107, 176, 7, 6, 176, 175, 1410, 1411, 6, 175, 175, 1415, 118, 855, 856, 175, 858, 176, 860, 861, 121, 1425, 864, 865, 6, 1429, 6, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 6, 6, 6, 6, 167, 6, 175, 6, 6, 175, 6, 1456, 6, 175, 6, 176, 6, 175, 81, 4, 6, 4, 1467, 176, 6, 6, 6, 6, 176, 1474, 6, 624, 1477, 626, 6, 1480, 6, 6, 6, 1484, 175, 634, 635, 1488, 175, 1490, 175, 6, 6, 6, 1495, 175, 6, 1498, 1081, 1500, 6, 81, 6, 6, 175, 6, 945, 946, 947, 6, 6, 91, 175, 6, 6, 6, 955, 175, 667, 99, 100, 101, 175, 6, 104, 105, 106, 107, 81, 175, 1531, 6, 6, 6, 6, 6, 1537, 1010, 91, 1456, 398, 1018, 3, 3, 423, 1136, 99, 100, 101, 1550, -1, 104, 105, 106, 107, -1, -1, -1, -1, -1, -1, 710, -1, 712, -1, 1004, -1, -1, 717, 718, 719, 720, -1, -1, -1, -1, 725, -1, 1579, -1, 1019, -1, -1, -1, -1, -1, 1025, -1, -1, -1, -1, -1, 1031, -1, 1033, 1034, 176, -1, -1, 1038, 12, 13, -1, -1, 1043, 1044, 1045, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 1060, -1, 176, -1, 167, -1, -1, -1, -1, -1, 12, 13, -1, -1, -1, 1075, -1, 81, -1, 1079, -1, -1, -1, 793, -1, 795, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, -1, 822, 823, 824, 825, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, 1129, -1, 1131, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, 115, 116, 117, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 869, 12, 13, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, -1, 115, 116, 117, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1185, 1186, 1187, 1188, -1, -1, -1, 1336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 176, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, 1220, -1, 74, 75, -1, 77, 78, 79, -1, -1, 1374, 83, 1232, 6, 176, -1, -1, -1, -1, 1239, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 1395, -1, -1, -1, 167, -1, -1, -1, -1, -1, 1261, -1, 115, 116, 117, -1, -1, -1, -1, -1, -1, 3, 4, -1, -1, -1, -1, 9, 10, 11, -1, 1282, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, 1316, -1, -1, -1, 51, 52, -1, -1, 176, -1, -1, -1, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, 1488, -1, 1490, 78, -1, -1, -1, -1, -1, 1353, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, 1081, -1, 1373, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 1390, -1, -1, -1, 167, -1, -1, -1, 6, -1, -1, -1, -1, -1, 135, -1, 1550, -1, -1, -1, -1, 142, 143, 144, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, 158, 159, -1, 167, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, 1441, 173, -1, 175, 176, -1, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, 1497, -1, 1499, -1, -1, -1, 59, -1, -1, 62, -1, 1218, 65, -1, 67, 1222, -1, -1, -1, -1, -1, 12, 13, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, 1577, -1, 135, 74, 75, 6, 77, 78, 79, 142, 143, 144, 83, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, 6, -1, -1, 163, -1, -1, -1, 1321, 168, -1, -1, -1, -1, 173, -1, -1, 176, 115, 116, 117, -1, -1, 1336, -1, -1, -1, 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, 34, 35, 6, 1374, 38, 39, 40, 41, 42, 43, 44, 45, 46, -1, -1, -1, 50, 51, 52, -1, -1, 176, -1, -1, 1395, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 6, -1, -1, -1, 167, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 8, 135, 136, 137, 167, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, 1488, -1, 1490, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, -1, 175, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, 1531, -1, -1, 167, -1, -1, -1, -1, -1, 3, 4, 5, -1, 7, -1, 9, 10, 11, -1, 1550, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 12, 13, -1, 50, 51, 52, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 129, -1, -1, -1, -1, -1, 135, 136, 137, -1, -1, -1, -1, 142, 143, 144, 145, 146, 147, 148, -1, 115, 116, 117, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, 165, 166, -1, 168, -1, 170, -1, 172, 173, -1, 175, 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, 34, 35, -1, -1, 176, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, -1, -1, -1, 12, 13, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, 115, 116, 117, 163, -1, -1, -1, -1, 168, -1, 3, 4, 5, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, 176, -1, -1, 12, 13, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, 115, 116, 117, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, 176, -1, -1, 12, 13, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, 115, 116, 117, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, 176, -1, -1, 12, 13, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, 6, 77, 78, 79, -1, -1, -1, 83, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, 6, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, 115, 116, 117, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, 176, -1, -1, -1, -1, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 7, 8, -1, -1, 167, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, -1, -1, -1, -1, -1, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, -1, -1, -1, -1, -1, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, -1, -1, 93, -1, -1, 96, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, 135, -1, 167, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, 3, 4, 5, 173, -1, 175, 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, 38, 39, 40, 41, 42, 43, 44, 45, 46, 3, 4, 5, 50, 51, 52, 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, 38, 39, 40, 41, 42, 43, 44, 45, 46, 3, 4, -1, 50, 51, 52, 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, 44, 45, 46, 135, 136, 137, -1, 51, 52, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, -1, 175, -1, -1, -1, 135, 136, 137, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, -1, 175, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, 171, -1, 173, -1, 175, 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, 3, 4, 44, 45, 46, -1, 9, 10, 11, 51, 52, 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, 3, 4, 44, 45, 46, -1, 9, 10, 11, 51, 52, 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, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, 171, -1, 173, 135, 175, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, 135, 175, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, 3, 4, -1, 173, -1, 175, 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, 35, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, -1, -1, -1, -1, 51, 52, -1, -1, -1, -1, -1, -1, 59, -1, -1, 62, -1, -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, 86, 87, 88, 89, -1, 3, 4, 93, -1, -1, 96, 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, 8, -1, -1, -1, -1, -1, -1, -1, -1, 44, 45, 46, 135, -1, -1, -1, 51, 52, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, 3, 4, 5, -1, 168, -1, 9, 10, 11, 173, -1, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 8, -1, -1, 38, 39, 40, 41, 42, 43, 44, 45, 46, -1, -1, -1, 50, 51, 52, -1, 8, -1, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 135, 136, 137, -1, -1, -1, -1, 142, 143, 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 159, -1, -1, -1, 163, -1, -1, -1, -1, 168, -1, -1, -1, -1, 173, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, 0, 1, -1, 167, 4, -1, -1, -1, -1, -1, -1, -1, 12, 13, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 36, 37, -1, 174, -1, 176, -1, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, 55, -1, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, -1, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, -1, -1, -1, 102, 103, 4, -1, -1, -1, -1, 109, -1, -1, 12, 13, 114, 115, 116, 117, -1, -1, 120, -1, 122, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, -1, 36, 37, 138, 139, 140, 141, -1, -1, -1, -1, -1, 47, 48, 49, -1, -1, -1, 53, 54, 55, -1, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, -1, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 12, 13, -1, 102, 103, -1, -1, -1, -1, -1, 109, -1, -1, -1, -1, 114, 115, 116, 117, -1, -1, 120, -1, 122, -1, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, -1, -1, -1, 138, 139, 140, 141, -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, 70, -1, -1, -1, 74, 75, -1, 77, 78, 79, -1, -1, -1, 83, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, -1, 176, -1, -1, -1, 115, 116, 117, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, -1, 176, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, 175, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, -1, 175, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, -1, -1, -1, 174, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, -1, -1, 171, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167, -1, 169, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, -1, -1, -1, -1, 167 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint16 yystos[] = { 0, 1, 179, 180, 6, 0, 4, 12, 13, 36, 37, 47, 48, 49, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 102, 103, 109, 114, 115, 116, 117, 120, 122, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 138, 139, 140, 141, 181, 183, 184, 202, 216, 221, 224, 225, 226, 227, 228, 229, 230, 250, 251, 252, 253, 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, 38, 39, 40, 41, 42, 43, 44, 45, 46, 50, 51, 52, 129, 135, 136, 137, 142, 143, 144, 145, 146, 147, 148, 158, 159, 163, 165, 166, 168, 170, 172, 173, 175, 200, 201, 254, 255, 266, 267, 13, 65, 168, 168, 6, 175, 6, 6, 6, 6, 6, 170, 170, 168, 175, 168, 168, 4, 168, 175, 168, 168, 4, 175, 168, 168, 69, 65, 65, 6, 175, 65, 65, 62, 65, 67, 67, 59, 62, 65, 67, 62, 65, 67, 62, 65, 168, 62, 120, 133, 134, 175, 158, 159, 168, 175, 256, 257, 256, 175, 59, 62, 65, 175, 256, 4, 59, 63, 74, 65, 67, 65, 62, 4, 129, 175, 4, 6, 59, 62, 65, 62, 65, 4, 4, 4, 5, 35, 59, 62, 65, 67, 78, 159, 168, 175, 221, 230, 254, 259, 260, 261, 4, 168, 168, 168, 4, 175, 263, 4, 168, 168, 6, 6, 170, 4, 4, 5, 175, 5, 175, 4, 254, 6, 168, 175, 4, 170, 172, 177, 201, 267, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 170, 168, 168, 168, 168, 168, 168, 168, 7, 168, 168, 168, 254, 254, 254, 175, 254, 171, 175, 254, 4, 120, 121, 4, 4, 221, 222, 223, 259, 6, 6, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 167, 175, 6, 6, 254, 4, 266, 267, 266, 254, 204, 207, 254, 159, 254, 261, 262, 254, 254, 168, 254, 262, 254, 254, 168, 262, 254, 254, 259, 168, 175, 262, 168, 168, 260, 260, 260, 168, 217, 218, 219, 220, 168, 168, 168, 259, 254, 4, 259, 263, 175, 175, 256, 256, 256, 254, 254, 158, 159, 175, 175, 256, 175, 175, 175, 158, 159, 168, 223, 256, 175, 168, 175, 168, 168, 168, 260, 260, 259, 168, 4, 6, 170, 170, 223, 6, 175, 175, 175, 260, 260, 170, 170, 168, 170, 172, 170, 5, 175, 5, 5, 5, 59, 62, 65, 67, 175, 254, 261, 254, 176, 262, 8, 160, 6, 6, 254, 254, 254, 172, 254, 175, 123, 254, 254, 254, 6, 6, 223, 6, 223, 170, 6, 259, 259, 170, 254, 4, 175, 6, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 266, 268, 268, 266, 266, 266, 266, 266, 266, 266, 266, 268, 254, 266, 266, 266, 262, 169, 7, 200, 262, 171, 7, 200, 201, 172, 7, 170, 176, 59, 62, 65, 67, 216, 6, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 185, 6, 170, 172, 169, 174, 169, 174, 174, 171, 174, 203, 171, 203, 169, 160, 174, 176, 169, 169, 254, 169, 176, 169, 169, 254, 176, 169, 169, 7, 254, 254, 176, 254, 254, 7, 7, 248, 248, 254, 168, 168, 168, 168, 254, 254, 254, 7, 175, 169, 6, 175, 223, 223, 174, 174, 174, 256, 256, 222, 222, 174, 254, 254, 254, 254, 234, 174, 223, 254, 254, 254, 254, 254, 7, 249, 6, 7, 254, 6, 254, 254, 176, 262, 262, 262, 6, 6, 254, 254, 169, 175, 171, 175, 254, 4, 4, 254, 175, 175, 175, 175, 262, 169, 176, 254, 175, 254, 261, 169, 169, 169, 120, 174, 223, 175, 8, 169, 171, 176, 176, 169, 174, 176, 254, 171, 201, 254, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 174, 174, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 174, 174, 174, 174, 174, 174, 169, 174, 171, 169, 174, 171, 174, 174, 169, 169, 174, 174, 174, 169, 6, 174, 169, 174, 176, 200, 259, 176, 172, 200, 201, 267, 254, 6, 4, 4, 175, 264, 171, 175, 175, 175, 175, 8, 4, 110, 111, 112, 113, 176, 188, 192, 195, 197, 198, 254, 4, 6, 155, 182, 262, 6, 262, 254, 6, 4, 6, 266, 7, 254, 261, 123, 7, 7, 169, 7, 123, 7, 7, 169, 123, 7, 7, 254, 169, 176, 175, 169, 169, 254, 259, 4, 247, 6, 169, 213, 254, 267, 213, 213, 213, 169, 169, 169, 259, 262, 172, 223, 176, 176, 256, 254, 254, 176, 176, 254, 256, 174, 174, 174, 81, 91, 99, 100, 101, 104, 105, 106, 107, 244, 245, 256, 176, 231, 169, 176, 169, 169, 169, 254, 6, 254, 169, 171, 171, 176, 176, 176, 171, 171, 262, 262, 171, 171, 176, 262, 262, 262, 262, 176, 8, 262, 7, 7, 7, 172, 254, 176, 254, 254, 7, 172, 175, 259, 6, 171, 172, 201, 266, 176, 254, 254, 254, 254, 254, 254, 254, 254, 266, 262, 262, 266, 266, 266, 266, 254, 266, 169, 254, 6, 171, 4, 120, 121, 254, 6, 6, 6, 7, 170, 263, 265, 6, 262, 262, 262, 262, 254, 189, 168, 168, 175, 199, 6, 171, 155, 266, 169, 169, 174, 7, 256, 65, 67, 259, 259, 7, 259, 65, 67, 259, 259, 7, 67, 259, 259, 6, 7, 7, 262, 7, 7, 81, 246, 6, 7, 169, 169, 169, 169, 7, 7, 7, 6, 176, 4, 176, 174, 174, 174, 176, 176, 256, 256, 256, 4, 6, 175, 6, 168, 6, 108, 6, 108, 6, 108, 6, 108, 176, 245, 174, 244, 7, 6, 7, 7, 7, 6, 175, 6, 6, 6, 65, 254, 6, 6, 176, 176, 172, 176, 176, 176, 176, 254, 176, 259, 259, 259, 4, 174, 8, 8, 169, 4, 4, 259, 176, 6, 4, 6, 169, 171, 169, 171, 169, 171, 169, 171, 169, 171, 169, 174, 169, 169, 169, 169, 200, 6, 200, 7, 200, 201, 172, 7, 6, 263, 254, 174, 176, 176, 176, 176, 176, 168, 254, 254, 258, 259, 175, 172, 6, 6, 182, 6, 254, 175, 254, 267, 6, 175, 175, 74, 215, 215, 259, 6, 175, 175, 6, 6, 259, 175, 6, 6, 5, 259, 176, 259, 259, 4, 6, 259, 7, 7, 7, 7, 259, 259, 259, 7, 6, 7, 254, 254, 254, 175, 175, 174, 176, 174, 176, 174, 176, 170, 254, 259, 254, 6, 6, 6, 6, 254, 256, 176, 5, 175, 259, 175, 175, 175, 259, 262, 175, 6, 169, 171, 4, 6, 6, 119, 254, 254, 254, 6, 6, 7, 174, 6, 201, 266, 259, 259, 267, 254, 6, 4, 264, 6, 171, 263, 6, 6, 6, 6, 186, 254, 174, 174, 174, 176, 187, 254, 4, 266, 174, 254, 267, 254, 254, 256, 6, 6, 6, 254, 254, 6, 254, 5, 6, 175, 6, 123, 214, 254, 6, 259, 259, 259, 259, 6, 4, 6, 6, 254, 254, 267, 176, 169, 174, 176, 222, 222, 256, 6, 235, 256, 6, 236, 256, 6, 237, 254, 176, 174, 169, 176, 174, 6, 159, 256, 6, 258, 256, 256, 6, 176, 254, 259, 174, 176, 8, 176, 169, 175, 254, 267, 259, 169, 6, 6, 6, 6, 7, 6, 172, 169, 174, 254, 254, 259, 175, 174, 176, 6, 254, 205, 206, 176, 176, 176, 176, 176, 5, 258, 63, 6, 6, 6, 6, 6, 175, 175, 6, 6, 175, 254, 176, 176, 174, 175, 174, 175, 174, 175, 171, 6, 259, 7, 175, 254, 174, 176, 174, 174, 6, 176, 118, 254, 254, 262, 6, 6, 176, 263, 121, 190, 254, 174, 174, 258, 254, 6, 174, 209, 211, 6, 6, 6, 6, 6, 6, 176, 175, 258, 262, 222, 174, 176, 254, 256, 244, 254, 256, 244, 254, 256, 244, 6, 174, 176, 259, 223, 176, 256, 6, 262, 256, 254, 176, 176, 176, 6, 6, 175, 254, 254, 176, 254, 174, 176, 210, 174, 176, 212, 175, 254, 176, 176, 176, 254, 176, 174, 176, 176, 174, 176, 176, 174, 176, 259, 6, 81, 176, 232, 175, 174, 176, 174, 6, 6, 187, 169, 174, 6, 175, 174, 4, 4, 254, 176, 6, 6, 176, 6, 238, 254, 6, 6, 239, 254, 6, 6, 240, 254, 6, 176, 254, 244, 223, 262, 6, 256, 262, 176, 193, 254, 258, 254, 175, 259, 267, 175, 254, 267, 174, 175, 176, 175, 176, 175, 176, 6, 6, 176, 176, 233, 176, 174, 176, 6, 175, 169, 176, 176, 208, 254, 268, 254, 244, 6, 241, 244, 6, 242, 244, 6, 243, 244, 6, 262, 6, 191, 266, 196, 175, 6, 174, 176, 7, 176, 176, 176, 175, 176, 175, 176, 175, 176, 176, 174, 176, 175, 258, 254, 267, 6, 6, 244, 6, 244, 6, 244, 6, 266, 6, 194, 266, 176, 7, 176, 176, 176, 174, 176, 6, 267, 6, 6, 6, 266, 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. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ else \ { \ yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \ while (YYID (0)) #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 \ if (YYID (N)) \ { \ (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; \ } \ while (YYID (0)) #endif /* YY_LOCATION_PRINT -- Print the location on the stream. This macro was not mandated originally: define only if we know we won't break user code: when these are the locations we know. */ #ifndef YY_LOCATION_PRINT # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL # define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ (Loc).last_line, (Loc).last_column) # else # define YY_LOCATION_PRINT(File, Loc) ((void) 0) # endif #endif /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM # define YYLEX yylex (YYLEX_PARAM) #else # define YYLEX yylex () #endif /* 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; \ } while (YYID (0)) # 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; #endif { if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); # else YYUSE (yyoutput); # endif switch (yytype) { default: break; } } /*--------------------------------. | 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 yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) #else static void yy_stack_print (bottom, top) yytype_int16 *bottom; yytype_int16 *top; #endif { YYFPRINTF (stderr, "Stack now"); for (; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } # define YY_STACK_PRINT(Bottom, Top) \ do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (YYID (0)) /*------------------------------------------------. | 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; #endif { int yynrhs = yyr2[yyrule]; int yyi; unsigned long int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { fprintf (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], &(yyvsp[(yyi + 1) - (yynrhs)]) ); fprintf (stderr, "\n"); } } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ yy_reduce_print (yyvsp, Rule); \ } while (YYID (0)) /* 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 */ /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif /* 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. */ #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif #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 { char *yyd = yydest; const char *yys = yysrc; 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 (;;) 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; } do_not_strip_quotes: ; } if (! yyres) return yystrlen (yystr); return yystpcpy (yyres, yystr) - yyres; } # endif /* Copy into YYRESULT an error message about the unexpected token YYCHAR while in state YYSTATE. Return the number of bytes copied, including the terminating null byte. If YYRESULT is null, do not copy anything; just return the number of bytes that would be copied. As a special case, return 0 if an ordinary "syntax error" message will do. Return YYSIZE_MAXIMUM if overflow occurs during size calculation. */ static YYSIZE_T yysyntax_error (char *yyresult, int yystate, int yychar) { int yyn = yypact[yystate]; if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) return 0; else { int yytype = YYTRANSLATE (yychar); YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); YYSIZE_T yysize = yysize0; YYSIZE_T yysize1; int yysize_overflow = 0; enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; int yyx; # if 0 /* This is so xgettext sees the translatable formats that are constructed on the fly. */ YY_("syntax error, unexpected %s"); YY_("syntax error, unexpected %s, expecting %s"); YY_("syntax error, unexpected %s, expecting %s or %s"); YY_("syntax error, unexpected %s, expecting %s or %s or %s"); YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); # endif char *yyfmt; char const *yyf; static char const yyunexpected[] = "syntax error, unexpected %s"; static char const yyexpecting[] = ", expecting %s"; static char const yyor[] = " or %s"; char yyformat[sizeof yyunexpected + sizeof yyexpecting - 1 + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) * (sizeof yyor - 1))]; char const *yyprefix = yyexpecting; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ 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 yycount = 1; yyarg[0] = yytname[yytype]; yyfmt = yystpcpy (yyformat, yyunexpected); for (yyx = yyxbegin; yyx < yyxend; ++yyx) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) { yycount = 1; yysize = yysize0; yyformat[sizeof yyunexpected - 1] = '\0'; break; } yyarg[yycount++] = yytname[yyx]; yysize1 = yysize + yytnamerr (0, yytname[yyx]); yysize_overflow |= (yysize1 < yysize); yysize = yysize1; yyfmt = yystpcpy (yyfmt, yyprefix); yyprefix = yyor; } yyf = YY_(yyformat); yysize1 = yysize + yystrlen (yyf); yysize_overflow |= (yysize1 < yysize); yysize = yysize1; if (yysize_overflow) return YYSIZE_MAXIMUM; if (yyresult) { /* 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 = yyresult; int yyi = 0; while ((*yyp = *yyf) != '\0') { if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) { yyp += yytnamerr (yyp, yyarg[yyi++]); yyf += 2; } else { yyp++; yyf++; } } } return yysize; } } #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; #endif { YYUSE (yyvaluep); if (!yymsg) yymsg = "Deleting"; YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); switch (yytype) { default: break; } } /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus int yyparse (void *YYPARSE_PARAM); #else int yyparse (); #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus int yyparse (void); #else int yyparse (); #endif #endif /* ! YYPARSE_PARAM */ /* The look-ahead symbol. */ int yychar; /* The semantic value of the look-ahead symbol. */ YYSTYPE yylval; /* 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 int yyparse (YYPARSE_PARAM) void *YYPARSE_PARAM; #endif #else /* ! YYPARSE_PARAM */ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) int yyparse (void) #else int yyparse () #endif #endif { int yystate; int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Look-ahead token as an internal (translated) token number. */ int yytoken = 0; #if YYERROR_VERBOSE /* Buffer for error messages, and its allocated size. */ char yymsgbuf[128]; char *yymsg = yymsgbuf; YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif /* Three stacks and their tools: `yyss': related to states, `yyvs': related to semantic values, `yyls': related to locations. Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ yytype_int16 yyssa[YYINITDEPTH]; yytype_int16 *yyss = yyssa; yytype_int16 *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; YYSTYPE *yyvsp; #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; /* The number of symbols on the RHS of the reduced rule. Keep to zero when no symbol should be popped. */ int yylen = 0; YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; yynerrs = 0; 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. */ yyssp = yyss; yyvsp = yyvs; goto yysetstate; /*------------------------------------------------------------. | 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++; yysetstate: *yyssp = yystate; if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; #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 */ # ifndef YYSTACK_RELOCATE goto yyexhaustedlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { yytype_int16 *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyexhaustedlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); # undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); goto yybackup; /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. Read a look-ahead token if we need one and don't already have one. */ /* First try to decide what to do without reference to look-ahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a look-ahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } if (yychar <= YYEOF) { 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 (yyn <= 0) { if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } if (yyn == YYFINAL) YYACCEPT; /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; /* Shift the look-ahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the shifted token unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; yystate = yyn; *++yyvsp = yylval; goto yynewstate; /*-----------------------------------------------------------. | yydefault -- do the default action for the current state. | `-----------------------------------------------------------*/ yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; goto yyreduce; /*-----------------------------. | yyreduce -- Do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ 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]; YY_REDUCE_PRINT (yyn); switch (yyn) { case 3: #line 171 "Gmsh.y" { yyerrok; return 1; ;} break; case 6: #line 182 "Gmsh.y" { return 1; ;} break; case 7: #line 183 "Gmsh.y" { return 1; ;} break; case 8: #line 184 "Gmsh.y" { return 1; ;} break; case 9: #line 185 "Gmsh.y" { return 1; ;} break; case 10: #line 186 "Gmsh.y" { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} break; case 11: #line 187 "Gmsh.y" { return 1; ;} break; case 12: #line 188 "Gmsh.y" { return 1; ;} break; case 13: #line 189 "Gmsh.y" { return 1; ;} break; case 14: #line 190 "Gmsh.y" { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} break; case 15: #line 191 "Gmsh.y" { return 1; ;} break; case 16: #line 192 "Gmsh.y" { return 1; ;} break; case 17: #line 193 "Gmsh.y" { return 1; ;} break; case 18: #line 194 "Gmsh.y" { return 1; ;} break; case 19: #line 195 "Gmsh.y" { return 1; ;} break; case 20: #line 196 "Gmsh.y" { return 1; ;} break; case 21: #line 201 "Gmsh.y" { (yyval.c) = (char*)"w"; ;} break; case 22: #line 205 "Gmsh.y" { (yyval.c) = (char*)"a"; ;} break; case 23: #line 212 "Gmsh.y" { Msg::Direct((yyvsp[(3) - (5)].c)); Free((yyvsp[(3) - (5)].c)); ;} break; case 24: #line 217 "Gmsh.y" { Msg::Error((yyvsp[(3) - (5)].c)); Free((yyvsp[(3) - (5)].c)); ;} break; case 25: #line 222 "Gmsh.y" { std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(6) - (7)].c)); FILE *fp = Fopen(tmp.c_str(), (yyvsp[(5) - (7)].c)); if(!fp){ yymsg(0, "Unable to open file '%s'", tmp.c_str()); } else{ fprintf(fp, "%s\n", (yyvsp[(3) - (7)].c)); fclose(fp); } Free((yyvsp[(3) - (7)].c)); Free((yyvsp[(6) - (7)].c)); ;} break; case 26: #line 236 "Gmsh.y" { char tmpstring[5000]; int i = PrintListOfDouble((yyvsp[(3) - (7)].c), (yyvsp[(5) - (7)].l), tmpstring); if(i < 0) yymsg(0, "Too few arguments in Printf"); else if(i > 0) yymsg(0, "%d extra argument%s in Printf", i, (i > 1) ? "s" : ""); else Msg::Direct(tmpstring); Free((yyvsp[(3) - (7)].c)); List_Delete((yyvsp[(5) - (7)].l)); ;} break; case 27: #line 249 "Gmsh.y" { char tmpstring[5000]; int i = PrintListOfDouble((yyvsp[(3) - (7)].c), (yyvsp[(5) - (7)].l), tmpstring); if(i < 0) yymsg(0, "Too few arguments in Error"); else if(i > 0) yymsg(0, "%d extra argument%s in Error", i, (i > 1) ? "s" : ""); else Msg::Error(tmpstring); Free((yyvsp[(3) - (7)].c)); List_Delete((yyvsp[(5) - (7)].l)); ;} break; case 28: #line 262 "Gmsh.y" { char tmpstring[5000]; int i = PrintListOfDouble((yyvsp[(3) - (9)].c), (yyvsp[(5) - (9)].l), tmpstring); if(i < 0) yymsg(0, "Too few arguments in Printf"); else if(i > 0) yymsg(0, "%d extra argument%s in Printf", i, (i > 1) ? "s" : ""); else{ 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)); ;} break; case 29: #line 290 "Gmsh.y" { #if defined(HAVE_POST) 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); } else delete ViewData; #endif Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(2) - (6)].c)); ;} break; case 30: #line 304 "Gmsh.y" { #if defined(HAVE_POST) if(!strcmp((yyvsp[(2) - (6)].c), "View")){ int index = (int)(yyvsp[(4) - (6)].d); if(index >= 0 && index < (int)PView::list.size()) new PView(PView::list[index], false); } #endif Free((yyvsp[(2) - (6)].c)); ;} break; case 31: #line 315 "Gmsh.y" { #if defined(HAVE_POST) if(!strcmp((yyvsp[(2) - (6)].c), "View")){ int index = (int)(yyvsp[(4) - (6)].d); if(index >= 0 && index < (int)PView::list.size()) new PView(PView::list[index], true); } #endif Free((yyvsp[(2) - (6)].c)); ;} break; case 32: #line 329 "Gmsh.y" { #if defined(HAVE_POST) ViewData = new PViewDataList(); #endif ;} break; case 38: #line 343 "Gmsh.y" { ViewCoord.push_back((yyvsp[(1) - (1)].d)); ;} break; case 39: #line 345 "Gmsh.y" { ViewCoord.push_back((yyvsp[(3) - (3)].d)); ;} break; case 40: #line 350 "Gmsh.y" { if(ViewValueList) ViewValueList->push_back((yyvsp[(1) - (1)].d)); ;} break; case 41: #line 352 "Gmsh.y" { if(ViewValueList) ViewValueList->push_back((yyvsp[(3) - (3)].d)); ;} break; case 42: #line 357 "Gmsh.y" { #if defined(HAVE_POST) if(!strncmp((yyvsp[(1) - (1)].c), "SP", 2)){ ViewValueList = &ViewData->SP; ViewNumList = &ViewData->NbSP; } else if(!strncmp((yyvsp[(1) - (1)].c), "VP", 2)){ ViewValueList = &ViewData->VP; ViewNumList = &ViewData->NbVP; } else if(!strncmp((yyvsp[(1) - (1)].c), "TP", 2)){ ViewValueList = &ViewData->TP; ViewNumList = &ViewData->NbTP; } else if(!strncmp((yyvsp[(1) - (1)].c), "SL", 2)){ ViewValueList = &ViewData->SL; ViewNumList = &ViewData->NbSL; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN); } else if(!strncmp((yyvsp[(1) - (1)].c), "VL", 2)){ ViewValueList = &ViewData->VL; ViewNumList = &ViewData->NbVL; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN); } else if(!strncmp((yyvsp[(1) - (1)].c), "TL", 2)){ ViewValueList = &ViewData->TL; ViewNumList = &ViewData->NbTL; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_LIN); } else if(!strncmp((yyvsp[(1) - (1)].c), "ST", 2)){ ViewValueList = &ViewData->ST; ViewNumList = &ViewData->NbST; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "VT", 2)){ ViewValueList = &ViewData->VT; ViewNumList = &ViewData->NbVT; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "TT", 2)){ ViewValueList = &ViewData->TT; ViewNumList = &ViewData->NbTT; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "SQ", 2)){ ViewValueList = &ViewData->SQ; ViewNumList = &ViewData->NbSQ; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA); } else if(!strncmp((yyvsp[(1) - (1)].c), "VQ", 2)){ ViewValueList = &ViewData->VQ; ViewNumList = &ViewData->NbVQ; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA); } else if(!strncmp((yyvsp[(1) - (1)].c), "TQ", 2)){ ViewValueList = &ViewData->TQ; ViewNumList = &ViewData->NbTQ; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_QUA); } else if(!strncmp((yyvsp[(1) - (1)].c), "SS", 2)){ ViewValueList = &ViewData->SS; ViewNumList = &ViewData->NbSS; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET); } else if(!strncmp((yyvsp[(1) - (1)].c), "VS", 2)){ ViewValueList = &ViewData->VS; ViewNumList = &ViewData->NbVS; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET); } else if(!strncmp((yyvsp[(1) - (1)].c), "TS", 2)){ ViewValueList = &ViewData->TS; ViewNumList = &ViewData->NbTS; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_TET); } else if(!strncmp((yyvsp[(1) - (1)].c), "SH", 2)){ ViewValueList = &ViewData->SH; ViewNumList = &ViewData->NbSH; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX); } else if(!strncmp((yyvsp[(1) - (1)].c), "VH", 2)){ ViewValueList = &ViewData->VH; ViewNumList = &ViewData->NbVH; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX); } else if(!strncmp((yyvsp[(1) - (1)].c), "TH", 2)){ ViewValueList = &ViewData->TH; ViewNumList = &ViewData->NbTH; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_HEX); } else if(!strncmp((yyvsp[(1) - (1)].c), "SI", 2)){ ViewValueList = &ViewData->SI; ViewNumList = &ViewData->NbSI; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "VI", 2)){ ViewValueList = &ViewData->VI; ViewNumList = &ViewData->NbVI; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "TI", 2)){ ViewValueList = &ViewData->TI; ViewNumList = &ViewData->NbTI; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PRI); } else if(!strncmp((yyvsp[(1) - (1)].c), "SY", 2)){ ViewValueList = &ViewData->SY; ViewNumList = &ViewData->NbSY; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR); } else if(!strncmp((yyvsp[(1) - (1)].c), "VY", 2)){ ViewValueList = &ViewData->VY; ViewNumList = &ViewData->NbVY; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR); } else if(!strncmp((yyvsp[(1) - (1)].c), "TY", 2)){ ViewValueList = &ViewData->TY; ViewNumList = &ViewData->NbTY; if(strlen((yyvsp[(1) - (1)].c)) > 2) ViewData->setOrder2(TYPE_PYR); } else{ yymsg(0, "Unknown element type '%s'", (yyvsp[(1) - (1)].c)); ViewValueList = 0; ViewNumList = 0; } #endif ViewCoord.clear(); Free((yyvsp[(1) - (1)].c)); ;} break; case 43: #line 461 "Gmsh.y" { #if defined(HAVE_POST) if(ViewValueList){ for(int i = 0; i < 3; i++) for(unsigned int j = 0; j < ViewCoord.size() / 3; j++) ViewValueList->push_back(ViewCoord[3 * j + i]); } #endif ;} break; case 44: #line 471 "Gmsh.y" { #if defined(HAVE_POST) if(ViewValueList) (*ViewNumList)++; #endif ;} break; case 45: #line 480 "Gmsh.y" { #if defined(HAVE_POST) for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c)) + 1; i++) ViewData->T2C.push_back((yyvsp[(1) - (1)].c)[i]); #endif Free((yyvsp[(1) - (1)].c)); ;} break; case 46: #line 487 "Gmsh.y" { #if defined(HAVE_POST) for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c)) + 1; i++) ViewData->T2C.push_back((yyvsp[(3) - (3)].c)[i]); #endif Free((yyvsp[(3) - (3)].c)); ;} break; case 47: #line 497 "Gmsh.y" { #if defined(HAVE_POST) 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()); #endif ;} break; case 48: #line 506 "Gmsh.y" { #if defined(HAVE_POST) ViewData->NbT2++; #endif ;} break; case 49: #line 515 "Gmsh.y" { #if defined(HAVE_POST) for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c)) + 1; i++) ViewData->T3C.push_back((yyvsp[(1) - (1)].c)[i]); #endif Free((yyvsp[(1) - (1)].c)); ;} break; case 50: #line 522 "Gmsh.y" { #if defined(HAVE_POST) for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c)) + 1; i++) ViewData->T3C.push_back((yyvsp[(3) - (3)].c)[i]); #endif Free((yyvsp[(3) - (3)].c)); ;} break; case 51: #line 532 "Gmsh.y" { #if defined(HAVE_POST) 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()); #endif ;} break; case 52: #line 540 "Gmsh.y" { #if defined(HAVE_POST) ViewData->NbT3++; #endif ;} break; case 53: #line 550 "Gmsh.y" { #if defined(HAVE_POST) int type = (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))); #endif ;} break; case 54: #line 569 "Gmsh.y" { #if defined(HAVE_POST) int type = (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))); #endif ;} break; case 55: #line 588 "Gmsh.y" { #if defined(HAVE_POST) ViewValueList = &ViewData->Time; #endif ;} break; case 56: #line 594 "Gmsh.y" { ;} break; case 57: #line 601 "Gmsh.y" { (yyval.i) = 0; ;} break; case 58: #line 602 "Gmsh.y" { (yyval.i) = 1; ;} break; case 59: #line 603 "Gmsh.y" { (yyval.i) = 2; ;} break; case 60: #line 604 "Gmsh.y" { (yyval.i) = 3; ;} break; case 61: #line 605 "Gmsh.y" { (yyval.i) = 4; ;} break; case 62: #line 609 "Gmsh.y" { (yyval.i) = 1; ;} break; case 63: #line 610 "Gmsh.y" { (yyval.i) = -1; ;} break; case 66: #line 621 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(1) - (4)].c)) && (yyvsp[(2) - (4)].i) && List_Nbr((yyvsp[(3) - (4)].l)) == 1){ yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (4)].c)); } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (4)].c)]); if(!(yyvsp[(2) - (4)].i)) s.list = (List_Nbr((yyvsp[(3) - (4)].l)) != 1); // list if 0 or > 1 elements if(!s.list){ // single expression if(List_Nbr((yyvsp[(3) - (4)].l)) != 1){ yymsg(0, "Cannot assign list to variable '%s'", (yyvsp[(1) - (4)].c)); } else{ double d; List_Read((yyvsp[(3) - (4)].l), 0, &d); if(s.value.empty()){ if((yyvsp[(2) - (4)].i)) yymsg(1, "Uninitialized variable '%s'", (yyvsp[(1) - (4)].c)); s.value.resize(1, 0.); } switch((yyvsp[(2) - (4)].i)){ case 0 : s.value[0] = d; break; case 1 : s.value[0] += d; break; case 2 : s.value[0] -= d; break; case 3 : s.value[0] *= d; break; case 4 : if(d) s.value[0] /= d; else yymsg(0, "Division by zero in '%s /= %g'", (yyvsp[(1) - (4)].c), d); break; } } } else{ // list of expressions switch((yyvsp[(2) - (4)].i)){ case 0: // affect s.value.clear(); // fall-through case 1: // append for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; List_Read((yyvsp[(3) - (4)].l), i, &d); s.value.push_back(d); } break; case 2: // remove for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; List_Read((yyvsp[(3) - (4)].l), i, &d); std::vector<double>::iterator it = std::find(s.value.begin(), s.value.end(), d); if(it != s.value.end()) s.value.erase(it); } break; default: yymsg(0, "Operators *= and /= not available for lists"); break; } } } Free((yyvsp[(1) - (4)].c)); List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 67: #line 683 "Gmsh.y" { gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (6)].c)]); s.list = true; double d; switch((yyvsp[(4) - (6)].i)){ case 0: // affect s.value.clear(); // fall-through case 1: // append for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++){ List_Read((yyvsp[(5) - (6)].l), i, &d); s.value.push_back(d); } break; case 2: // remove for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++){ List_Read((yyvsp[(5) - (6)].l), i, &d); std::vector<double>::iterator it = std::find(s.value.begin(), s.value.end(), d); if(it != s.value.end()) s.value.erase(it); } break; default: yymsg(0, "Operators *= and /= not available for lists"); break; } Free((yyvsp[(1) - (6)].c)); List_Delete((yyvsp[(5) - (6)].l)); ;} break; case 68: #line 713 "Gmsh.y" { int index = (int)(yyvsp[(3) - (7)].d); if(!gmsh_yysymbols.count((yyvsp[(1) - (7)].c))){ if(!(yyvsp[(5) - (7)].i)){ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (7)].c)]); s.list = true; s.value.resize(index + 1, 0.); s.value[index] = (yyvsp[(6) - (7)].d); } else yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (7)].c)); } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (7)].c)]); if(s.list){ if((int)s.value.size() < index + 1) s.value.resize(index + 1, 0.); switch((yyvsp[(5) - (7)].i)){ case 0 : s.value[index] = (yyvsp[(6) - (7)].d); break; case 1 : s.value[index] += (yyvsp[(6) - (7)].d); break; case 2 : s.value[index] -= (yyvsp[(6) - (7)].d); break; case 3 : s.value[index] *= (yyvsp[(6) - (7)].d); break; case 4 : if((yyvsp[(6) - (7)].d)) s.value[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; } } else yymsg(0, "Variable '%s' is not a list", (yyvsp[(1) - (7)].c)); } Free((yyvsp[(1) - (7)].c)); ;} break; case 69: #line 748 "Gmsh.y" { int index = (int)(yyvsp[(3) - (7)].d); if(!gmsh_yysymbols.count((yyvsp[(1) - (7)].c))){ if(!(yyvsp[(5) - (7)].i)){ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (7)].c)]); s.list = true; s.value.resize(index + 1, 0.); s.value[index] = (yyvsp[(6) - (7)].d); } else yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (7)].c)); } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (7)].c)]); if(s.list){ if((int)s.value.size() < index + 1) s.value.resize(index + 1, 0.); switch((yyvsp[(5) - (7)].i)){ case 0 : s.value[index] = (yyvsp[(6) - (7)].d); break; case 1 : s.value[index] += (yyvsp[(6) - (7)].d); break; case 2 : s.value[index] -= (yyvsp[(6) - (7)].d); break; case 3 : s.value[index] *= (yyvsp[(6) - (7)].d); break; case 4 : if((yyvsp[(6) - (7)].d)) s.value[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; } } else yymsg(0, "Variable '%s' is not a list", (yyvsp[(1) - (7)].c)); } Free((yyvsp[(1) - (7)].c)); ;} break; case 70: #line 782 "Gmsh.y" { if(List_Nbr((yyvsp[(4) - (9)].l)) != List_Nbr((yyvsp[(8) - (9)].l))){ yymsg(0, "Incompatible array dimensions in affectation"); } else{ if(!gmsh_yysymbols.count((yyvsp[(1) - (9)].c))){ if(!(yyvsp[(7) - (9)].i)){ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (9)].c)]); s.list = true; for(int i = 0; i < List_Nbr((yyvsp[(4) - (9)].l)); i++){ int index = (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i)); s.value.resize(index + 1, 0.); s.value[index] = *(double*)List_Pointer((yyvsp[(8) - (9)].l), i); } } else yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (9)].c)); } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (9)].c)]); if(s.list){ 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)s.value.size() < index + 1) s.value.resize(index + 1, 0.); switch((yyvsp[(7) - (9)].i)){ case 0 : s.value[index] = d; break; case 1 : s.value[index] += d; break; case 2 : s.value[index] -= d; break; case 3 : s.value[index] *= d; break; case 4 : if((yyvsp[(8) - (9)].l)) s.value[index] /= d; else yymsg(0, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (9)].c), index, d); break; } } } else yymsg(0, "Variable '%s' is not a list", (yyvsp[(1) - (9)].c)); } } Free((yyvsp[(1) - (9)].c)); List_Delete((yyvsp[(4) - (9)].l)); List_Delete((yyvsp[(8) - (9)].l)); ;} break; case 71: #line 830 "Gmsh.y" { if(List_Nbr((yyvsp[(4) - (9)].l)) != List_Nbr((yyvsp[(8) - (9)].l))){ yymsg(0, "Incompatible array dimensions in affectation"); } else{ if(!gmsh_yysymbols.count((yyvsp[(1) - (9)].c))){ if(!(yyvsp[(7) - (9)].i)){ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (9)].c)]); s.list = true; for(int i = 0; i < List_Nbr((yyvsp[(4) - (9)].l)); i++){ int index = (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i)); s.value.resize(index + 1, 0.); s.value[index] = *(double*)List_Pointer((yyvsp[(8) - (9)].l), i); } } else yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (9)].c)); } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (9)].c)]); if(s.list){ 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)s.value.size() < index + 1) s.value.resize(index + 1, 0.); switch((yyvsp[(7) - (9)].i)){ case 0 : s.value[index] = d; break; case 1 : s.value[index] += d; break; case 2 : s.value[index] -= d; break; case 3 : s.value[index] *= d; break; case 4 : if((yyvsp[(8) - (9)].l)) s.value[index] /= d; else yymsg(0, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (9)].c), index, d); break; } } } else yymsg(0, "Variable '%s' is not a list", (yyvsp[(1) - (9)].c)); } } Free((yyvsp[(1) - (9)].c)); List_Delete((yyvsp[(4) - (9)].l)); List_Delete((yyvsp[(8) - (9)].l)); ;} break; case 72: #line 877 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(1) - (3)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (3)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (3)].c)]); if(!s.list && s.value.empty()) yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (3)].c)); else if(!s.list) s.value[0] += (yyvsp[(2) - (3)].i); else yymsg(0, "Variable '%s' is a list", (yyvsp[(1) - (3)].c)); } Free((yyvsp[(1) - (3)].c)); ;} break; case 73: #line 892 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(1) - (6)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (6)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (6)].c)]); if(s.list){ int index = (int)(yyvsp[(3) - (6)].d); if((int)s.value.size() < index + 1) s.value.resize(index + 1, 0.); s.value[index] += (yyvsp[(5) - (6)].i); } else yymsg(0, "Variable '%s' is not a list", (yyvsp[(1) - (6)].c)); } Free((yyvsp[(1) - (6)].c)); ;} break; case 74: #line 908 "Gmsh.y" { gmsh_yystringsymbols[(yyvsp[(1) - (4)].c)] = std::string((yyvsp[(3) - (4)].c)); Free((yyvsp[(1) - (4)].c)); Free((yyvsp[(3) - (4)].c)); ;} break; case 75: #line 917 "Gmsh.y" { 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)); ;} break; case 76: #line 923 "Gmsh.y" { 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)); ;} break; case 77: #line 932 "Gmsh.y" { 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); } Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(3) - (6)].c)); ;} break; case 78: #line 950 "Gmsh.y" { 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); } Free((yyvsp[(1) - (9)].c)); Free((yyvsp[(6) - (9)].c)); ;} break; case 79: #line 968 "Gmsh.y" { 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); } Free((yyvsp[(1) - (5)].c)); Free((yyvsp[(3) - (5)].c)); ;} break; case 80: #line 977 "Gmsh.y" { 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); } Free((yyvsp[(1) - (8)].c)); Free((yyvsp[(6) - (8)].c)); ;} break; case 81: #line 989 "Gmsh.y" { ColorOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (8)].c), 0, (yyvsp[(5) - (8)].c), (yyvsp[(7) - (8)].u)); Free((yyvsp[(1) - (8)].c)); Free((yyvsp[(5) - (8)].c)); ;} break; case 82: #line 994 "Gmsh.y" { ColorOption(GMSH_SET|GMSH_GUI, (yyvsp[(1) - (11)].c), (int)(yyvsp[(3) - (11)].d), (yyvsp[(8) - (11)].c), (yyvsp[(10) - (11)].u)); Free((yyvsp[(1) - (11)].c)); Free((yyvsp[(8) - (11)].c)); ;} break; case 83: #line 1002 "Gmsh.y" { GmshColorTable *ct = GetColorTable(0); if(!ct) yymsg(0, "View[%d] does not exist", 0); else{ 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)); ;} break; case 84: #line 1022 "Gmsh.y" { GmshColorTable *ct = GetColorTable((int)(yyvsp[(3) - (9)].d)); if(!ct) yymsg(0, "View[%d] does not exist", (int)(yyvsp[(3) - (9)].d)); else{ 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)); ;} break; case 85: #line 1045 "Gmsh.y" { #if defined(HAVE_MESH) if(!strcmp((yyvsp[(1) - (5)].c),"Background")) GModel::current()->getFields()->setBackgroundFieldId((int)(yyvsp[(4) - (5)].d)); else if(!strcmp((yyvsp[(1) - (5)].c),"BoundaryLayer")) GModel::current()->getFields()->setBoundaryLayerFieldId((int)(yyvsp[(4) - (5)].d)); else yymsg(0, "Unknown command %s Field", (yyvsp[(1) - (5)].c)); #endif ;} break; case 86: #line 1056 "Gmsh.y" { #if defined(HAVE_MESH) 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)); #endif Free((yyvsp[(6) - (7)].c)); ;} break; case 87: #line 1064 "Gmsh.y" { #if defined(HAVE_MESH) 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()); } else yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (9)].d)); #endif Free((yyvsp[(6) - (9)].c)); ;} break; case 88: #line 1086 "Gmsh.y" { #if defined(HAVE_MESH) 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()); } else yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (9)].d)); #endif Free((yyvsp[(6) - (9)].c)); Free((yyvsp[(8) - (9)].c)); ;} break; case 89: #line 1109 "Gmsh.y" { #if defined(HAVE_MESH) 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); } option->list(vl); } else yymsg(0, "Unknown option '%s' in field %i of type '%s'", (yyvsp[(6) - (11)].c), (int)(yyvsp[(3) - (11)].d), field->getName()); } else yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (11)].d)); #endif Free((yyvsp[(6) - (11)].c)); List_Delete((yyvsp[(9) - (11)].l)); ;} break; case 90: #line 1135 "Gmsh.y" { #if defined(HAVE_MESH) Field *field = GModel::current()->getFields()->get((int)(yyvsp[(3) - (7)].d)); if(field){ FieldCallback *callback = field->callbacks[(yyvsp[(6) - (7)].c)]; if(callback) { callback->run(); } else yymsg(0, "Unknown callback '%s' in field %i of type '%s'", (yyvsp[(6) - (7)].c), (int)(yyvsp[(3) - (7)].d), field->getName()); } else yymsg(0, "No field with id %i", (int)(yyvsp[(3) - (7)].d)); #endif Free((yyvsp[(6) - (7)].c)); ;} break; case 91: #line 1156 "Gmsh.y" { #if defined(HAVE_PLUGINS) try { PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].d)); } catch (...) { yymsg(0, "Unknown option '%s' or plugin '%s'", (yyvsp[(6) - (9)].c), (yyvsp[(3) - (9)].c)); } #endif Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); ;} break; case 92: #line 1168 "Gmsh.y" { #if defined(HAVE_PLUGINS) try { PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].c)); } catch (...) { yymsg(0, "Unknown option '%s' or plugin '%s'", (yyvsp[(6) - (9)].c), (yyvsp[(3) - (9)].c)); } #endif Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); Free((yyvsp[(8) - (9)].c)); ;} break; case 96: #line 1186 "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].value = val; } Free((yyvsp[(3) - (3)].c)); ;} break; case 97: #line 1197 "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].value = val; } Free((yyvsp[(3) - (5)].c)); ;} break; case 98: #line 1208 "Gmsh.y" { floatOptions.clear(); charOptions.clear(); ;} break; case 99: #line 1210 "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].value = val; } Free((yyvsp[(3) - (9)].c)); ;} break; case 100: #line 1220 "Gmsh.y" { std::string key((yyvsp[(3) - (5)].c)), val((yyvsp[(5) - (5)].c)); floatOptions.clear(); charOptions.clear(); if(!gmsh_yystringsymbols.count(key)){ Msg::ExchangeOnelabParameter(key, val, floatOptions, charOptions); gmsh_yystringsymbols[key] = val; } Free((yyvsp[(3) - (5)].c)); Free((yyvsp[(5) - (5)].c)); ;} break; case 101: #line 1231 "Gmsh.y" { floatOptions.clear(); charOptions.clear(); ;} break; case 102: #line 1233 "Gmsh.y" { std::string key((yyvsp[(3) - (9)].c)), val((yyvsp[(6) - (9)].c)); if(!gmsh_yysymbols.count(key)){ Msg::ExchangeOnelabParameter(key, val, floatOptions, charOptions); gmsh_yystringsymbols[key] = val; } Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); ;} break; case 104: #line 1247 "Gmsh.y" { std::string name((yyvsp[(3) - (3)].c)); Msg::UndefineOnelabParameter(name); Free((yyvsp[(3) - (3)].c)); ;} break; case 105: #line 1255 "Gmsh.y" { (yyval.l) = List_Create(20,20,sizeof(doubleXstring)); doubleXstring v = {(yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].c)}; List_Add((yyval.l), &v); ;} break; case 106: #line 1261 "Gmsh.y" { doubleXstring v = {(yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].c)}; List_Add((yyval.l), &v); ;} break; case 109: #line 1273 "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 110: #line 1284 "Gmsh.y" { std::string key((yyvsp[(2) - (5)].c)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ doubleXstring v; List_Read((yyvsp[(4) - (5)].l), i, &v); floatOptions[key].push_back(v.d); charOptions[key].push_back(v.s); } Free((yyvsp[(2) - (5)].c)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++) Free(((doubleXstring*)List_Pointer((yyvsp[(4) - (5)].l), i))->s); List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 111: #line 1299 "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)); ;} break; case 114: #line 1315 "Gmsh.y" { std::string key((yyvsp[(2) - (3)].c)); double val = (yyvsp[(3) - (3)].d); floatOptions[key].push_back(val); Free((yyvsp[(2) - (3)].c)); ;} break; case 115: #line 1323 "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)); ;} break; case 116: #line 1332 "Gmsh.y" { std::string key((yyvsp[(2) - (5)].c)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ char *s; List_Read((yyvsp[(4) - (5)].l), i, &s); std::string val(s); Free(s); charOptions[key].push_back(val); } Free((yyvsp[(2) - (5)].c)); List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 117: #line 1350 "Gmsh.y" { (yyval.i) = (int)(yyvsp[(1) - (1)].d); ;} break; case 118: #line 1354 "Gmsh.y" { (yyval.i) = GModel::current()->setPhysicalName (std::string((yyvsp[(1) - (1)].c)), curPhysDim, ++GModel::current()->getGEOInternals()->MaxPhysicalNum); Free((yyvsp[(1) - (1)].c)); ;} break; case 119: #line 1364 "Gmsh.y" { (yyval.l) = 0; ;} break; case 120: #line 1368 "Gmsh.y" { (yyval.l) = List_Create(1, 1, sizeof(Vertex*)); Vertex *v = FindPoint((int)(yyvsp[(4) - (5)].d)); if(!v) yymsg(0, "Unknown point %d", (int)(yyvsp[(4) - (5)].d)); else{ List_Add((yyval.l), &v); } ;} break; case 121: #line 1380 "Gmsh.y" { for(int i = 0; i < 4; i++) (yyval.v)[i] = 0.; ;} break; case 122: #line 1384 "Gmsh.y" { for(int i = 0; i < 4; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i]; ;} break; case 123: #line 1394 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindPoint(num)){ yymsg(0, "Point %d already exists", num); } else{ 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); } (yyval.s).Type = MSH_POINT; (yyval.s).Num = num; ;} break; case 124: #line 1417 "Gmsh.y" { curPhysDim = 0; ;} break; case 125: #line 1421 "Gmsh.y" { int num = (int)(yyvsp[(5) - (9)].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_POINT)){ yymsg(0, "Physical point %d already exists", num); } else{ 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); } List_Delete((yyvsp[(8) - (9)].l)); (yyval.s).Type = MSH_PHYSICAL_POINT; (yyval.s).Num = num; ;} break; case 126: #line 1437 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){ 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)); } } List_Delete((yyvsp[(3) - (6)].l)); // dummy values (yyval.s).Type = 0; (yyval.s).Num = 0; ;} break; case 127: #line 1459 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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; ;} break; case 128: #line 1477 "Gmsh.y" { 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); } } } ;} break; case 129: #line 1498 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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; ;} break; case 130: #line 1516 "Gmsh.y" { int num = (int)(yyvsp[(3) - (8)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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); } List_Delete(temp); } List_Delete((yyvsp[(6) - (8)].l)); (yyval.s).Type = MSH_SEGM_CIRC; (yyval.s).Num = num; ;} break; case 131: #line 1546 "Gmsh.y" { int num = (int)(yyvsp[(3) - (8)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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); } List_Delete(temp); } List_Delete((yyvsp[(6) - (8)].l)); (yyval.s).Type = MSH_SEGM_ELLI; (yyval.s).Num = num; ;} break; case 132: #line 1576 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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; ;} break; case 133: #line 1594 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(0, "Curve %d already exists", num); } else{ 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; ;} break; case 134: #line 1612 "Gmsh.y" { 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); } else{ 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; ;} break; case 135: #line 1638 "Gmsh.y" { int num = (int)(yyvsp[(4) - (8)].d); if(FindEdgeLoop(num)){ yymsg(0, "Line loop %d already exists", num); } else{ 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)); Free((yyvsp[(2) - (8)].c)); (yyval.s).Type = MSH_SEGM_LOOP; (yyval.s).Num = num; ;} break; case 136: #line 1656 "Gmsh.y" { 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; ;} break; case 137: #line 1674 "Gmsh.y" { curPhysDim = 1; ;} break; case 138: #line 1678 "Gmsh.y" { int num = (int)(yyvsp[(5) - (9)].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_LINE)){ 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); } List_Delete((yyvsp[(8) - (9)].l)); (yyval.s).Type = MSH_PHYSICAL_LINE; (yyval.s).Num = num; ;} break; case 139: #line 1697 "Gmsh.y" { int num = (int)(yyvsp[(4) - (8)].d); if(FindSurface(num)){ yymsg(0, "Surface %d already exists", num); } else{ 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; ;} break; case 140: #line 1715 "Gmsh.y" { int num = (int)(yyvsp[(4) - (9)].d), type = 0; if(FindSurface(num)){ yymsg(0, "Surface %d already exists", num); } else{ 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); } } List_Delete((yyvsp[(7) - (9)].l)); (yyval.s).Type = type; (yyval.s).Num = num; ;} break; case 141: #line 1754 "Gmsh.y" { myGmshSurface = 0; (yyval.s).Type = 0; (yyval.s).Num = 0; ;} break; case 142: #line 1760 "Gmsh.y" { myGmshSurface = gmshSurface::getSurface((int)(yyvsp[(3) - (4)].d)); (yyval.s).Type = 0; (yyval.s).Num = 0; ;} break; case 143: #line 1766 "Gmsh.y" { 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; ;} break; case 144: #line 1773 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if (List_Nbr((yyvsp[(6) - (7)].l)) != 2){ yymsg(0, "Sphere %d has to be defined using 2 points (center + " "any point) and not %d", num, List_Nbr((yyvsp[(6) - (7)].l))); } else{ 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))); } (yyval.s).Type = 0; (yyval.s).Num = num; ;} break; case 145: #line 1798 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if (List_Nbr((yyvsp[(6) - (7)].l)) != 2){ yymsg(0, "PolarSphere %d has to be defined using 2 points (center + " "any point) and not %d", num, List_Nbr((yyvsp[(6) - (7)].l))); } else{ 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))); } (yyval.s).Type = 0; (yyval.s).Num = num; ;} break; case 146: #line 1823 "Gmsh.y" { int num = (int)(yyvsp[(4) - (8)].d); if(FindSurfaceLoop(num)){ yymsg(0, "Surface loop %d already exists", num); } else{ 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)); Free((yyvsp[(2) - (8)].c)); (yyval.s).Type = MSH_SURF_LOOP; (yyval.s).Num = num; ;} break; case 147: #line 1840 "Gmsh.y" { int num = (int)(yyvsp[(4) - (8)].d); if(FindSurface(num)){ yymsg(0, "Surface %d already exists", num); } else{ 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)); } // Added by Trevor Strickler setSurfaceGeneratrices(s, (List_T*) 0 ); Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s); } List_Delete((yyvsp[(7) - (8)].l)); (yyval.s).Type = MSH_SURF_COMPOUND; (yyval.s).Num = num; ;} break; case 148: #line 1860 "Gmsh.y" { int num = (int)(yyvsp[(4) - (12)].d); if(FindSurface(num)){ yymsg(0, "Surface %d already exists", num); } else{ Surface *s = Create_Surface(num, MSH_SURF_COMPOUND); 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); for (int j = 0; j < List_Nbr(l); j++){ s->compoundBoundary[i].push_back((int)*(double*)List_Pointer(l, j)); } } // Added by Trevor Strickler setSurfaceGeneratrices(s, (List_T*) 0 ); 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)); (yyval.s).Type = MSH_SURF_COMPOUND; (yyval.s).Num = num; ;} break; case 149: #line 1893 "Gmsh.y" { curPhysDim = 2; ;} break; case 150: #line 1897 "Gmsh.y" { int num = (int)(yyvsp[(5) - (9)].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_SURFACE)){ yymsg(0, "Physical surface %d already exists", num); } else{ 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; (yyval.s).Num = num; ;} break; case 151: #line 1917 "Gmsh.y" { yymsg(0, "'Complex Volume' command is deprecated: use 'Volume' instead"); int num = (int)(yyvsp[(4) - (8)].d); if(FindVolume(num)){ yymsg(0, "Volume %d already exists", num); } else{ 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; ;} break; case 152: #line 1935 "Gmsh.y" { int num = (int)(yyvsp[(3) - (7)].d); if(FindVolume(num)){ yymsg(0, "Volume %d already exists", num); } else{ 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; ;} break; case 153: #line 1952 "Gmsh.y" { int num = (int)(yyvsp[(4) - (8)].d); if(FindVolume(num)){ yymsg(0, "Volume %d already exists", num); } else{ 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; ;} break; case 154: #line 1968 "Gmsh.y" { curPhysDim = 3; ;} break; case 155: #line 1972 "Gmsh.y" { int num = (int)(yyvsp[(5) - (9)].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_VOLUME)){ yymsg(0, "Physical volume %d already exists", num); } else{ 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); } List_Delete((yyvsp[(8) - (9)].l)); (yyval.s).Type = MSH_PHYSICAL_VOLUME; (yyval.s).Num = num; ;} break; case 156: #line 1994 "Gmsh.y" { 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); ;} break; case 157: #line 1999 "Gmsh.y" { 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); ;} break; case 158: #line 2004 "Gmsh.y" { 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); ;} break; case 159: #line 2009 "Gmsh.y" { DilatShapes((yyvsp[(3) - (9)].v)[0], (yyvsp[(3) - (9)].v)[1], (yyvsp[(3) - (9)].v)[2], (yyvsp[(5) - (9)].d), (yyvsp[(5) - (9)].d), (yyvsp[(5) - (9)].d), (yyvsp[(8) - (9)].l)); (yyval.l) = (yyvsp[(8) - (9)].l); ;} break; case 160: #line 2014 "Gmsh.y" { DilatShapes((yyvsp[(3) - (9)].v)[0], (yyvsp[(3) - (9)].v)[1], (yyvsp[(3) - (9)].v)[2], (yyvsp[(5) - (9)].v)[0], (yyvsp[(5) - (9)].v)[1], (yyvsp[(5) - (9)].v)[2], (yyvsp[(8) - (9)].l)); (yyval.l) = (yyvsp[(8) - (9)].l); ;} break; case 161: #line 2019 "Gmsh.y" { (yyval.l) = List_Create(3, 3, sizeof(Shape)); 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)); List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 162: #line 2042 "Gmsh.y" { (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)); ;} break; case 163: #line 2048 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape*)); List_T *tmp = ListOfDouble2ListOfInt((yyvsp[(7) - (9)].l)); List_Delete((yyvsp[(7) - (9)].l)); SplitCurve((int)(yyvsp[(4) - (9)].d), tmp, (yyval.l)); List_Delete(tmp); ;} break; case 164: #line 2058 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 165: #line 2059 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 166: #line 2064 "Gmsh.y" { (yyval.l) = List_Create(3, 3, sizeof(Shape)); ;} break; case 167: #line 2068 "Gmsh.y" { List_Add((yyval.l), &(yyvsp[(2) - (2)].s)); ;} break; case 168: #line 2072 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ 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); } } ;} break; case 169: #line 2095 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ 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); } } ;} break; case 170: #line 2118 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ 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); } } ;} break; case 171: #line 2141 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ 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); } } ;} break; case 172: #line 2169 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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)); #endif ;} break; case 173: #line 2190 "Gmsh.y" { #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); } for(int i = 0; i < List_Nbr((yyvsp[(8) - (10)].l)); i++) List_Delete(*(List_T**)List_Pointer((yyvsp[(8) - (10)].l), i)); List_Delete((yyvsp[(8) - (10)].l)); #endif ;} break; case 174: #line 2217 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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)); #endif ;} break; case 175: #line 2238 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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)); #endif ;} break; case 176: #line 2259 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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)); #endif ;} break; case 177: #line 2279 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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, true); 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, true); 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, true); 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); } } #if defined(HAVE_POST) 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); } } } #endif else yymsg(0, "Wrong levelset definition (%d)", (yyvsp[(4) - (8)].d)); Free((yyvsp[(2) - (8)].c)); #endif ;} break; case 178: #line 2391 "Gmsh.y" { #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 ;} break; case 179: #line 2410 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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); } else if(!strcmp((yyvsp[(2) - (6)].c), "CutMeshTri")){ 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)); #endif ;} break; case 180: #line 2449 "Gmsh.y" { #if defined(HAVE_DINTEGRATION) 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)); #endif ;} break; case 181: #line 2557 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; List_Read((yyvsp[(3) - (4)].l), i, &TheShape); DeleteShape(TheShape.Type, TheShape.Num); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 182: #line 2566 "Gmsh.y" { #if defined(HAVE_MESH) GModel::current()->getFields()->deleteField((int)(yyvsp[(4) - (6)].d)); #endif ;} break; case 183: #line 2572 "Gmsh.y" { #if defined(HAVE_POST) if(!strcmp((yyvsp[(2) - (6)].c), "View")){ 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); } else yymsg(0, "Unknown command 'Delete %s'", (yyvsp[(2) - (6)].c)); #endif Free((yyvsp[(2) - (6)].c)); ;} break; case 184: #line 2587 "Gmsh.y" { if(!strcmp((yyvsp[(2) - (3)].c), "Meshes") || !strcmp((yyvsp[(2) - (3)].c), "All")){ ClearProject(); } else if(!strcmp((yyvsp[(2) - (3)].c), "Model")){ GModel::current()->destroy(); GModel::current()->getGEOInternals()->destroy(); } else if(!strcmp((yyvsp[(2) - (3)].c), "Physicals")){ 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); } else{ 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)); } Free((yyvsp[(2) - (3)].c)); ;} break; case 185: #line 2615 "Gmsh.y" { #if defined(HAVE_POST) 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]; } else yymsg(0, "Unknown command 'Delete %s %s'", (yyvsp[(2) - (4)].c), (yyvsp[(3) - (4)].c)); #endif Free((yyvsp[(2) - (4)].c)); Free((yyvsp[(3) - (4)].c)); ;} break; case 186: #line 2632 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ Shape TheShape; List_Read((yyvsp[(4) - (5)].l), i, &TheShape); ColorShape(TheShape.Type, TheShape.Num, (yyvsp[(2) - (5)].u), false); } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 187: #line 2641 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++){ Shape TheShape; List_Read((yyvsp[(5) - (6)].l), i, &TheShape); ColorShape(TheShape.Type, TheShape.Num, (yyvsp[(3) - (6)].u), true); } List_Delete((yyvsp[(5) - (6)].l)); ;} break; case 188: #line 2655 "Gmsh.y" { for(int i = 0; i < 4; i++) VisibilityShape((yyvsp[(2) - (3)].c), i, 1, false); Free((yyvsp[(2) - (3)].c)); ;} break; case 189: #line 2661 "Gmsh.y" { for(int i = 0; i < 4; i++) VisibilityShape((yyvsp[(2) - (3)].c), i, 0, false); Free((yyvsp[(2) - (3)].c)); ;} break; case 190: #line 2667 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; List_Read((yyvsp[(3) - (4)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 1, false); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 191: #line 2676 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ Shape TheShape; List_Read((yyvsp[(4) - (5)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 1, true); } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 192: #line 2685 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; List_Read((yyvsp[(3) - (4)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 0, false); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 193: #line 2694 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ Shape TheShape; List_Read((yyvsp[(4) - (5)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 0, true); } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 194: #line 2708 "Gmsh.y" { if(!strcmp((yyvsp[(1) - (3)].c), "Include")){ std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c)); Msg::StatusBar(true, "Reading '%s'...", tmp.c_str()); // Warning: we explicitly ask ParseFile not to fclose() the included // file, in order to allow user functions definitions in these files. // The files will be closed in the next time OpenFile terminates. If // you need to include many many files and don't have functions in // the files, use "Merge" instead of "Include", as some OSes limit // the number of files a process can open simultaneously. (A better // solution would be to modify FunctionManager to reopen the files // instead of using the FILE pointer...) ParseFile(tmp, false, true); SetBoundingBox(); Msg::StatusBar(true, "Done reading '%s'", tmp.c_str()); } else if(!strcmp((yyvsp[(1) - (3)].c), "Print")){ // 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); } else if(!strcmp((yyvsp[(1) - (3)].c), "Save")){ 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); } else if(!strcmp((yyvsp[(1) - (3)].c), "NonBlockingSystemCall")) SystemCall((yyvsp[(2) - (3)].c)); else if(!strcmp((yyvsp[(1) - (3)].c), "System") || !strcmp((yyvsp[(1) - (3)].c), "SystemCall")) SystemCall((yyvsp[(2) - (3)].c), true); else if(!strcmp((yyvsp[(1) - (3)].c), "SetName")) GModel::current()->setName((yyvsp[(2) - (3)].c)); else yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (3)].c)); Free((yyvsp[(1) - (3)].c)); Free((yyvsp[(2) - (3)].c)); ;} break; case 195: #line 2753 "Gmsh.y" { #if defined(HAVE_POST) 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); } else yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (7)].c)); #endif Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(6) - (7)].c)); ;} break; case 196: #line 2770 "Gmsh.y" { #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); } else yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (7)].c)); #endif Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(3) - (7)].c)); ;} break; case 197: #line 2785 "Gmsh.y" { if(!strcmp((yyvsp[(1) - (3)].c), "Sleep")){ SleepInSeconds((yyvsp[(2) - (3)].d)); } else if(!strcmp((yyvsp[(1) - (3)].c), "Remesh")){ yymsg(0, "Surface remeshing must be reinterfaced"); } else if(!strcmp((yyvsp[(1) - (3)].c), "Mesh")){ int lock = CTX::instance()->lock; CTX::instance()->lock = 0; GModel::current()->importGEOInternals(); GModel::current()->mesh((int)(yyvsp[(2) - (3)].d)); CTX::instance()->lock = lock; } else yymsg(0, "Unknown command '%s'", (yyvsp[(1) - (3)].c)); Free((yyvsp[(1) - (3)].c)); ;} break; case 198: #line 2804 "Gmsh.y" { #if defined(HAVE_PLUGINS) try { PluginManager::instance()->action((yyvsp[(3) - (7)].c), (yyvsp[(6) - (7)].c), 0); } catch(...) { yymsg(0, "Unknown action '%s' or plugin '%s'", (yyvsp[(6) - (7)].c), (yyvsp[(3) - (7)].c)); } #endif Free((yyvsp[(3) - (7)].c)); Free((yyvsp[(6) - (7)].c)); ;} break; case 199: #line 2816 "Gmsh.y" { #if defined(HAVE_POST) if(!strcmp((yyvsp[(2) - (3)].c), "ElementsFromAllViews")) PView::combine(false, 1, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "ElementsFromVisibleViews")) PView::combine(false, 0, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "ElementsByViewName")) PView::combine(false, 2, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsFromAllViews")) PView::combine(true, 1, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsFromVisibleViews")) PView::combine(true, 0, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsByViewName")) PView::combine(true, 2, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "Views")) PView::combine(false, 1, CTX::instance()->post.combineRemoveOrig); else if(!strcmp((yyvsp[(2) - (3)].c), "TimeSteps")) PView::combine(true, 2, CTX::instance()->post.combineRemoveOrig); else yymsg(0, "Unknown 'Combine' command"); #endif Free((yyvsp[(2) - (3)].c)); ;} break; case 200: #line 2840 "Gmsh.y" { Msg::Exit(0); ;} break; case 201: #line 2844 "Gmsh.y" { gmsh_yyerrorstate = 999; // this will be checked when yyparse returns YYABORT; ;} break; case 202: #line 2849 "Gmsh.y" { // 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(); ;} break; case 203: #line 2856 "Gmsh.y" { CTX::instance()->forcedBBox = 0; GModel::current()->importGEOInternals(); SetBoundingBox(); ;} break; case 204: #line 2862 "Gmsh.y" { 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)); ;} break; case 205: #line 2867 "Gmsh.y" { #if defined(HAVE_OPENGL) drawContext::global()->draw(); #endif ;} break; case 206: #line 2873 "Gmsh.y" { #if defined(HAVE_OPENGL) CTX::instance()->mesh.changed = ENT_ALL; for(unsigned int index = 0; index < PView::list.size(); index++) PView::list[index]->setChanged(true); #endif ;} break; case 207: #line 2881 "Gmsh.y" { GModel::current()->createTopologyFromMesh(); ;} break; case 208: #line 2885 "Gmsh.y" { GModel::current()->createTopologyFromMesh(1); ;} break; case 209: #line 2889 "Gmsh.y" { GModel::current()->importGEOInternals(); GModel::current()->refineMesh(CTX::instance()->mesh.secondOrderLinear); ;} break; case 210: #line 2895 "Gmsh.y" { int lock = CTX::instance()->lock; CTX::instance()->lock = 0; std::vector<int> technique; for(int i = 0; i < List_Nbr((yyvsp[(3) - (16)].l)); i++){ double d; List_Read((yyvsp[(3) - (16)].l), i, &d); technique.push_back((int)d); } if(technique.empty()){ yyerror("Need at least one adaptation technique"); } else{ std::vector<simpleFunction<double>*> f; for(int i = 0; i < List_Nbr((yyvsp[(6) - (16)].l)); i++){ double d; List_Read((yyvsp[(6) - (16)].l), i, &d); LevelSet *l = FindLevelSet((int)d); if(l) f.push_back(l->ls); else yymsg(0, "Unknown Levelset %d", (int)d); } if(technique.size() != f.size()){ yyerror("Number of techniques != number of levelsets"); } else{ if(List_Nbr((yyvsp[(9) - (16)].l)) != f.size()){ yyerror("Number of parameters != number of levelsets"); } else{ std::vector<std::vector<double> > parameters; parameters.resize(List_Nbr((yyvsp[(9) - (16)].l))); for(int i = 0; i < List_Nbr((yyvsp[(9) - (16)].l)); i++){ List_T *l = *(List_T**)List_Pointer((yyvsp[(9) - (16)].l), i); for(int j = 0; j < List_Nbr(l); j++){ double d; List_Read(l, j, &d); parameters[i].push_back(d); } } int niter = (int)(yyvsp[(12) - (16)].d); bool meshAll = ((yyvsp[(14) - (16)].d) == 0) ? false : true; GModel::current()->importGEOInternals(); GModel::current()->adaptMesh(technique, f, parameters, niter, meshAll); } } } List_Delete((yyvsp[(3) - (16)].l)); List_Delete((yyvsp[(6) - (16)].l)); for(int i = 0; i < List_Nbr((yyvsp[(9) - (16)].l)); i++) List_Delete(*(List_T**)List_Pointer((yyvsp[(9) - (16)].l), i)); List_Delete((yyvsp[(9) - (16)].l)); CTX::instance()->lock = lock; ;} break; case 211: #line 2949 "Gmsh.y" { #if defined(HAVE_MESH) SetOrderN(GModel::current(), (yyvsp[(2) - (3)].d), CTX::instance()->mesh.secondOrderLinear, CTX::instance()->mesh.secondOrderIncomplete, CTX::instance()->mesh.meshOnlyVisible); #endif ;} break; case 212: #line 2962 "Gmsh.y" { LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (6)].d); LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (6)].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; LoopControlVariablesNameTab[ImbricatedLoop] = NULL; fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno; if((yyvsp[(3) - (6)].d) > (yyvsp[(5) - (6)].d)) skip_until("For", "EndFor"); else ImbricatedLoop++; if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){ yymsg(0, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS - 1; } ;} break; case 213: #line 2979 "Gmsh.y" { LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (8)].d); LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (8)].d); LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[(7) - (8)].d); LoopControlVariablesNameTab[ImbricatedLoop] = NULL; 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"); else ImbricatedLoop++; if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){ yymsg(0, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS - 1; } ;} break; case 214: #line 2996 "Gmsh.y" { LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(5) - (8)].d); LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(7) - (8)].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[(2) - (8)].c); gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(2) - (8)].c)]); s.list = false; s.value.resize(1); s.value[0] = (yyvsp[(5) - (8)].d); fgetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = gmsh_yylineno; if((yyvsp[(5) - (8)].d) > (yyvsp[(7) - (8)].d)) skip_until("For", "EndFor"); else ImbricatedLoop++; if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){ yymsg(0, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS - 1; } ;} break; case 215: #line 3017 "Gmsh.y" { 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_yysymbol &s(gmsh_yysymbols[(yyvsp[(2) - (10)].c)]); s.list = false; s.value.resize(1); s.value[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"); else ImbricatedLoop++; if(ImbricatedLoop > MAX_RECUR_LOOPS - 1){ yymsg(0, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS - 1; } ;} break; case 216: #line 3038 "Gmsh.y" { if(ImbricatedLoop <= 0){ yymsg(0, "Invalid For/EndFor loop"); ImbricatedLoop = 0; } else{ double step = LoopControlVariablesTab[ImbricatedLoop - 1][2]; const char *name = LoopControlVariablesNameTab[ImbricatedLoop - 1]; if(name){ if(!gmsh_yysymbols.count(name)) yymsg(0, "Unknown loop variable '%s'", name); else{ gmsh_yysymbol &s(gmsh_yysymbols[name]); if(!s.list && s.value.size()){ s.value[0] += step; LoopControlVariablesTab[ImbricatedLoop - 1][0] = s.value[0]; } else yymsg(0, "Bad loop variable %s", name); } } else{ LoopControlVariablesTab[ImbricatedLoop - 1][0] += step; } double x0 = LoopControlVariablesTab[ImbricatedLoop - 1][0]; double x1 = LoopControlVariablesTab[ImbricatedLoop - 1][1]; if((step > 0. && x0 <= x1) || (step < 0. && x0 >= x1)){ fsetpos(gmsh_yyin, &yyposImbricatedLoopsTab[ImbricatedLoop - 1]); gmsh_yylineno = yylinenoImbricatedLoopsTab[ImbricatedLoop - 1]; } else ImbricatedLoop--; } ;} break; case 217: #line 3073 "Gmsh.y" { if(!FunctionManager::Instance()->createFunction ((yyvsp[(2) - (2)].c), gmsh_yyin, gmsh_yyname, gmsh_yylineno)) yymsg(0, "Redefinition of function %s", (yyvsp[(2) - (2)].c)); skip_until(NULL, "Return"); //FIXME: wee leak $2 ;} break; case 218: #line 3081 "Gmsh.y" { if(!FunctionManager::Instance()->leaveFunction (&gmsh_yyin, gmsh_yyname, gmsh_yylineno)) yymsg(0, "Error while exiting function"); ;} break; case 219: #line 3087 "Gmsh.y" { 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 ;} break; case 220: #line 3094 "Gmsh.y" { if(!(yyvsp[(3) - (4)].d)) skip_until("If", "EndIf"); ;} break; case 221: #line 3098 "Gmsh.y" { ;} break; case 222: #line 3107 "Gmsh.y" { (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)); List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 223: #line 3115 "Gmsh.y" { (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)); List_Delete((yyvsp[(10) - (11)].l)); ;} break; case 224: #line 3123 "Gmsh.y" { (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)); List_Delete((yyvsp[(12) - (13)].l)); ;} break; case 225: #line 3131 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 226: #line 3137 "Gmsh.y" { (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)); List_Delete((yyvsp[(4) - (7)].l)); ;} break; case 227: #line 3145 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 228: #line 3151 "Gmsh.y" { (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)); List_Delete((yyvsp[(10) - (13)].l)); ;} break; case 229: #line 3159 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 230: #line 3165 "Gmsh.y" { (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)); List_Delete((yyvsp[(12) - (15)].l)); ;} break; case 231: #line 3173 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 232: #line 3179 "Gmsh.y" { (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., &extr, (yyval.l)); List_Delete((yyvsp[(3) - (6)].l)); ;} break; case 233: #line 3187 "Gmsh.y" { (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)); ;} break; case 234: #line 3194 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 235: #line 3201 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 236: #line 3208 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 237: #line 3215 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 238: #line 3222 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 239: #line 3229 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 240: #line 3236 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 241: #line 3243 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 242: #line 3250 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 243: #line 3256 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 244: #line 3263 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 245: #line 3269 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 246: #line 3276 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 247: #line 3282 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 248: #line 3289 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 249: #line 3295 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 250: #line 3302 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 251: #line 3308 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 252: #line 3315 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 253: #line 3321 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 254: #line 3328 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 255: #line 3334 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 256: #line 3341 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 257: #line 3347 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 258: #line 3354 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; extr.mesh.ScaleLast = false; ;} break; case 259: #line 3360 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(Shape)); 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)); ;} break; case 260: #line 3371 "Gmsh.y" { ;} break; case 261: #line 3374 "Gmsh.y" { ;} break; case 262: #line 3380 "Gmsh.y" { int n = (int)fabs((yyvsp[(3) - (5)].d)); if(n){ // we accept n==0 to easily disable layers extr.mesh.ExtrudeMesh = true; extr.mesh.NbLayer = 1; extr.mesh.NbElmLayer.clear(); extr.mesh.hLayer.clear(); extr.mesh.NbElmLayer.push_back((int)fabs((yyvsp[(3) - (5)].d))); extr.mesh.hLayer.push_back(1.); } ;} break; case 263: #line 3392 "Gmsh.y" { 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); } } else 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)); ;} break; case 264: #line 3412 "Gmsh.y" { yymsg(0, "Explicit region numbers in layers are deprecated"); extr.mesh.ExtrudeMesh = true; 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); } } else 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)); ;} break; case 265: #line 3436 "Gmsh.y" { extr.mesh.ScaleLast = true; ;} break; case 266: #line 3441 "Gmsh.y" { extr.mesh.Recombine = true; ;} break; case 267: #line 3445 "Gmsh.y" { yymsg(0, "Keyword 'QuadTriSngl' deprecated. Use 'QuadTriNoNewVerts' instead."); ;} break; case 268: #line 3449 "Gmsh.y" { yymsg(0, "Keyword 'QuadTriSngl' deprecated. Use 'QuadTriNoNewVerts' instead."); ;} break; case 269: #line 3453 "Gmsh.y" { yymsg(0, "Method 'QuadTriDbl' deprecated. Use 'QuadTriAddVerts' instead, which has no requirement for the number of extrusion layers and meshes with body-centered vertices."); ;} break; case 270: #line 3457 "Gmsh.y" { yymsg(0, "Method 'QuadTriDbl' deprecated. Use 'QuadTriAddVerts' instead, which has no requirement for the number of extrusion layers and meshes with body-centered vertices."); ;} break; case 271: #line 3461 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_ADDVERTS_1; ;} break; case 272: #line 3465 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_ADDVERTS_1_RECOMB; ;} break; case 273: #line 3469 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_NOVERTS_1; ;} break; case 274: #line 3473 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_NOVERTS_1_RECOMB; ;} break; case 275: #line 3477 "Gmsh.y" { int num = (int)(yyvsp[(3) - (9)].d); if(FindSurface(num)){ yymsg(0, "Surface %d already exists", num); } else{ 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); } } List_Delete((yyvsp[(6) - (9)].l)); ;} break; case 276: #line 3496 "Gmsh.y" { 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)); ;} break; case 277: #line 3508 "Gmsh.y" { (yyval.v)[0] = (yyval.v)[1] = 1.; ;} break; case 278: #line 3512 "Gmsh.y" { 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)); ;} break; case 279: #line 3527 "Gmsh.y" { (yyval.i) = -1; // left ;} break; case 280: #line 3531 "Gmsh.y" { if(!strcmp((yyvsp[(1) - (1)].c), "Right")) (yyval.i) = 1; else if(!strcmp((yyvsp[(1) - (1)].c), "Left")) (yyval.i) = -1; else if(!strcmp((yyvsp[(1) - (1)].c), "AlternateRight")) (yyval.i) = 2; else if(!strcmp((yyvsp[(1) - (1)].c), "AlternateLeft")) (yyval.i) = -2; else // "Alternate" -> "Alternate Right" (yyval.i) = 2; Free((yyvsp[(1) - (1)].c)); ;} break; case 281: #line 3547 "Gmsh.y" { (yyval.l) = List_Create(1, 1, sizeof(double)); ;} break; case 282: #line 3551 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (2)].l); ;} break; case 283: #line 3556 "Gmsh.y" { (yyval.i) = 45; ;} break; case 284: #line 3560 "Gmsh.y" { (yyval.i) = (int)(yyvsp[(2) - (2)].d); ;} break; case 285: #line 3567 "Gmsh.y" { 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; } } else{ 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); 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) yymsg(0, "Unknown line %d", j); } } } List_Delete((yyvsp[(3) - (7)].l)); } ;} break; case 286: #line 3623 "Gmsh.y" { 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"); } else{ 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); } } else{ 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)); ;} break; case 287: #line 3693 "Gmsh.y" { yymsg(1, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); List_Delete((yyvsp[(7) - (8)].l)); ;} break; case 288: #line 3698 "Gmsh.y" { 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); } else{ 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); } else{ 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)); } } else yymsg(0, "Unknown volume %d", (int)d); } } List_Delete((yyvsp[(3) - (5)].l)); } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 289: #line 3765 "Gmsh.y" { 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)); } ;} break; case 290: #line 3801 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(4) - (7)].l)); i++){ double d; List_Read((yyvsp[(4) - (7)].l), i, &d); CTX::instance()->mesh.algo2d_per_face[(int)d] = (int)(yyvsp[(6) - (7)].d); } ;} break; case 291: #line 3809 "Gmsh.y" { 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); } } else{ 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)); } ;} break; case 292: #line 3852 "Gmsh.y" { if(!(yyvsp[(3) - (4)].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->Recombine3D = 1; } } else{ for(GModel::riter it = GModel::current()->firstRegion(); it != GModel::current()->lastRegion(); it++){ (*it)->meshAttributes.recombine3D = 1; } } List_Delete(tmp); } else{ for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; List_Read((yyvsp[(3) - (4)].l), i, &d); Volume *v = FindVolume((int)d); if(v){ v->Recombine3D = 1; } else{ GRegion *gr = GModel::current()->getRegionByTag((int)d); if(gr){ gr->meshAttributes.recombine3D = 1; } else yymsg(1, "Unknown volume %d", (int)d); } } List_Delete((yyvsp[(3) - (4)].l)); } ;} break; case 293: #line 3891 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){ 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)); } } List_Delete((yyvsp[(3) - (6)].l)); ;} break; case 294: #line 3911 "Gmsh.y" { 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){ GModel::current()->getGEOInternals()->periodicEdges[j_slave] = 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)); ;} break; case 295: #line 3939 "Gmsh.y" { 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))); } else{ 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){ GModel::current()->getGEOInternals()->periodicFaces[j_slave] = 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); GModel::current()->getGEOInternals()->periodicEdges[(int)ds] = (int)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; GEdge *ges = GModel::current()->getEdgeByTag(abs((int)ds)); ges->setMeshMaster((int)dm); } } else yymsg(0, "Unknown surface %d", j_slave); } } List_Delete((yyvsp[(5) - (12)].l)); List_Delete((yyvsp[(10) - (12)].l)); ;} break; case 296: #line 3978 "Gmsh.y" { Surface *s = FindSurface((int)(yyvsp[(8) - (10)].d)); if(s){ 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)); } ;} break; case 297: #line 4001 "Gmsh.y" { Surface *s = FindSurface((int)(yyvsp[(8) - (10)].d)); if(s){ 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)); } ;} break; case 298: #line 4024 "Gmsh.y" { Msg::Error("Point in Volume not implemented yet"); ;} break; case 299: #line 4028 "Gmsh.y" { Msg::Error("Line in Volume not implemented yet"); ;} break; case 300: #line 4032 "Gmsh.y" { Volume *v = FindVolume((int)(yyvsp[(8) - (10)].d)); if(v){ setVolumeEmbeddedSurfaces(v, (yyvsp[(3) - (10)].l)); } else{ GRegion *gr = GModel::current()->getRegionByTag((int)(yyvsp[(8) - (10)].d)); if(gr){ for(int i = 0; i < List_Nbr((yyvsp[(3) - (10)].l)); i++){ int iSurface; List_Read((yyvsp[(3) - (10)].l), i, &iSurface); GFace *gf = GModel::current()->getFaceByTag(iSurface); if(gf) gr->addEmbeddedFace(gf); else yymsg(0, "Unknown surface %d", iSurface); } } else yymsg(0, "Unknown region %d", (int)(yyvsp[(8) - (10)].d)); } ;} break; case 301: #line 4055 "Gmsh.y" { if(!(yyvsp[(3) - (4)].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->ReverseMesh = 1; } } else{ for(GModel::fiter it = GModel::current()->firstFace(); it != GModel::current()->lastFace(); it++){ (*it)->meshAttributes.reverseMesh = 1; } } List_Delete(tmp); } else{ for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; List_Read((yyvsp[(3) - (4)].l), i, &d); Surface *s = FindSurface((int)d); if(s){ s->ReverseMesh = 1; } else{ GFace *gf = GModel::current()->getFaceByTag((int)d); if(gf){ gf->meshAttributes.reverseMesh = 1; } else yymsg(1, "Unknown surface %d", (int)d); } } List_Delete((yyvsp[(3) - (4)].l)); } ;} break; case 302: #line 4094 "Gmsh.y" { if(!(yyvsp[(3) - (4)].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->ReverseMesh = 1; } } else{ for(GModel::eiter it = GModel::current()->firstEdge(); it != GModel::current()->lastEdge(); it++){ (*it)->meshAttributes.reverseMesh = 1; } } List_Delete(tmp); } else{ for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; List_Read((yyvsp[(3) - (4)].l), i, &d); Curve *c = FindCurve((int)d); if(c){ c->ReverseMesh = 1; } else{ GEdge *ge = GModel::current()->getEdgeByTag((int)d); if(ge){ ge->meshAttributes.reverseMesh = 1; } else yymsg(1, "Unknown surface %d", (int)d); } } List_Delete((yyvsp[(3) - (4)].l)); } ;} break; case 303: #line 4139 "Gmsh.y" { ReplaceAllDuplicates(); ;} break; case 304: #line 4143 "Gmsh.y" { 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)); ;} break; case 305: #line 4153 "Gmsh.y" { 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)); ;} break; case 306: #line 4187 "Gmsh.y" { (yyval.c) = (char*)"Homology"; ;} break; case 307: #line 4188 "Gmsh.y" { (yyval.c) = (char*)"Cohomology"; ;} break; case 308: #line 4189 "Gmsh.y" { (yyval.c) = (char*)"Betti"; ;} break; case 309: #line 4194 "Gmsh.y" { std::vector<int> domain, subdomain, dim; for(int i = 0; i < 4; i++) dim.push_back(i); GModel::current()->addHomologyRequest((yyvsp[(1) - (2)].c), domain, subdomain, dim); ;} break; case 310: #line 4200 "Gmsh.y" { std::vector<int> domain, subdomain, dim; for(int i = 0; i < List_Nbr((yyvsp[(3) - (5)].l)); i++){ double d; List_Read((yyvsp[(3) - (5)].l), i, &d); domain.push_back((int)d); } for(int i = 0; i < 4; i++) dim.push_back(i); GModel::current()->addHomologyRequest((yyvsp[(1) - (5)].c), domain, subdomain, dim); List_Delete((yyvsp[(3) - (5)].l)); ;} break; case 311: #line 4212 "Gmsh.y" { std::vector<int> domain, subdomain, dim; for(int i = 0; i < List_Nbr((yyvsp[(3) - (7)].l)); i++){ double d; List_Read((yyvsp[(3) - (7)].l), i, &d); domain.push_back((int)d); } for(int i = 0; i < List_Nbr((yyvsp[(5) - (7)].l)); i++){ double d; List_Read((yyvsp[(5) - (7)].l), i, &d); subdomain.push_back((int)d); } for(int i = 0; i < 4; i++) dim.push_back(i); GModel::current()->addHomologyRequest((yyvsp[(1) - (7)].c), domain, subdomain, dim); List_Delete((yyvsp[(3) - (7)].l)); List_Delete((yyvsp[(5) - (7)].l)); ;} break; case 312: #line 4230 "Gmsh.y" { std::vector<int> domain, subdomain, dim; for(int i = 0; i < List_Nbr((yyvsp[(6) - (10)].l)); i++){ double d; List_Read((yyvsp[(6) - (10)].l), i, &d); domain.push_back((int)d); } for(int i = 0; i < List_Nbr((yyvsp[(8) - (10)].l)); i++){ double d; List_Read((yyvsp[(8) - (10)].l), i, &d); subdomain.push_back((int)d); } for(int i = 0; i < List_Nbr((yyvsp[(3) - (10)].l)); i++){ double d; List_Read((yyvsp[(3) - (10)].l), i, &d); dim.push_back((int)d); } GModel::current()->addHomologyRequest((yyvsp[(1) - (10)].c), domain, subdomain, dim); List_Delete((yyvsp[(6) - (10)].l)); List_Delete((yyvsp[(8) - (10)].l)); List_Delete((yyvsp[(3) - (10)].l)); ;} break; case 313: #line 4257 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (1)].d); ;} break; case 314: #line 4258 "Gmsh.y" { (yyval.d) = (yyvsp[(2) - (3)].d); ;} break; case 315: #line 4259 "Gmsh.y" { (yyval.d) = -(yyvsp[(2) - (2)].d); ;} break; case 316: #line 4260 "Gmsh.y" { (yyval.d) = (yyvsp[(2) - (2)].d); ;} break; case 317: #line 4261 "Gmsh.y" { (yyval.d) = !(yyvsp[(2) - (2)].d); ;} break; case 318: #line 4262 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) - (yyvsp[(3) - (3)].d); ;} break; case 319: #line 4263 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) + (yyvsp[(3) - (3)].d); ;} break; case 320: #line 4264 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) * (yyvsp[(3) - (3)].d); ;} break; case 321: #line 4266 "Gmsh.y" { if(!(yyvsp[(3) - (3)].d)) yymsg(0, "Division by zero in '%g / %g'", (yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); else (yyval.d) = (yyvsp[(1) - (3)].d) / (yyvsp[(3) - (3)].d); ;} break; case 322: #line 4272 "Gmsh.y" { (yyval.d) = (int)(yyvsp[(1) - (3)].d) % (int)(yyvsp[(3) - (3)].d); ;} break; case 323: #line 4273 "Gmsh.y" { (yyval.d) = pow((yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); ;} break; case 324: #line 4274 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d); ;} break; case 325: #line 4275 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) > (yyvsp[(3) - (3)].d); ;} break; case 326: #line 4276 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) <= (yyvsp[(3) - (3)].d); ;} break; case 327: #line 4277 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) >= (yyvsp[(3) - (3)].d); ;} break; case 328: #line 4278 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) == (yyvsp[(3) - (3)].d); ;} break; case 329: #line 4279 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) != (yyvsp[(3) - (3)].d); ;} break; case 330: #line 4280 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) && (yyvsp[(3) - (3)].d); ;} break; case 331: #line 4281 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) || (yyvsp[(3) - (3)].d); ;} break; case 332: #line 4282 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (5)].d) ? (yyvsp[(3) - (5)].d) : (yyvsp[(5) - (5)].d); ;} break; case 333: #line 4283 "Gmsh.y" { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} break; case 334: #line 4284 "Gmsh.y" { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} break; case 335: #line 4285 "Gmsh.y" { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} break; case 336: #line 4286 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} break; case 337: #line 4287 "Gmsh.y" { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} break; case 338: #line 4288 "Gmsh.y" { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} break; case 339: #line 4289 "Gmsh.y" { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} break; case 340: #line 4290 "Gmsh.y" { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} break; case 341: #line 4291 "Gmsh.y" { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} break; case 342: #line 4292 "Gmsh.y" { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} break; case 343: #line 4293 "Gmsh.y" { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} break; case 344: #line 4294 "Gmsh.y" { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} break; case 345: #line 4295 "Gmsh.y" { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} break; case 346: #line 4296 "Gmsh.y" { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} break; case 347: #line 4297 "Gmsh.y" { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} break; case 348: #line 4298 "Gmsh.y" { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} break; case 349: #line 4299 "Gmsh.y" { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} break; case 350: #line 4300 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 351: #line 4301 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 352: #line 4302 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); ;} break; case 353: #line 4303 "Gmsh.y" { (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; ;} break; case 354: #line 4306 "Gmsh.y" { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} break; case 355: #line 4307 "Gmsh.y" { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} break; case 356: #line 4308 "Gmsh.y" { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} break; case 357: #line 4309 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} break; case 358: #line 4310 "Gmsh.y" { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} break; case 359: #line 4311 "Gmsh.y" { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} break; case 360: #line 4312 "Gmsh.y" { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} break; case 361: #line 4313 "Gmsh.y" { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} break; case 362: #line 4314 "Gmsh.y" { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} break; case 363: #line 4315 "Gmsh.y" { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} break; case 364: #line 4316 "Gmsh.y" { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} break; case 365: #line 4317 "Gmsh.y" { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} break; case 366: #line 4318 "Gmsh.y" { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} break; case 367: #line 4319 "Gmsh.y" { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} break; case 368: #line 4320 "Gmsh.y" { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} break; case 369: #line 4321 "Gmsh.y" { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} break; case 370: #line 4322 "Gmsh.y" { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} break; case 371: #line 4323 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 372: #line 4324 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 373: #line 4325 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); ;} break; case 374: #line 4326 "Gmsh.y" { (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; ;} break; case 375: #line 4335 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (1)].d); ;} break; case 376: #line 4336 "Gmsh.y" { (yyval.d) = 3.141592653589793; ;} break; case 377: #line 4337 "Gmsh.y" { (yyval.d) = Msg::GetCommRank(); ;} break; case 378: #line 4338 "Gmsh.y" { (yyval.d) = Msg::GetCommSize(); ;} break; case 379: #line 4339 "Gmsh.y" { (yyval.d) = GetGmshMajorVersion(); ;} break; case 380: #line 4340 "Gmsh.y" { (yyval.d) = GetGmshMinorVersion(); ;} break; case 381: #line 4341 "Gmsh.y" { (yyval.d) = GetGmshPatchVersion(); ;} break; case 382: #line 4342 "Gmsh.y" { (yyval.d) = Cpu(); ;} break; case 383: #line 4343 "Gmsh.y" { (yyval.d) = GetMemoryUsage()/1024./1024.; ;} break; case 384: #line 4348 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(1) - (1)].c))){ yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (1)].c)); (yyval.d) = 0.; } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (1)].c)]); if(s.value.empty()){ yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (1)].c)); (yyval.d) = 0.; } else (yyval.d) = s.value[0]; } Free((yyvsp[(1) - (1)].c)); ;} break; case 385: #line 4369 "Gmsh.y" { char tmpstring[1024]; 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.; } else{ gmsh_yysymbol &s(gmsh_yysymbols[tmpstring]); if(s.value.empty()){ yymsg(0, "Uninitialized variable '%s'", tmpstring); (yyval.d) = 0.; } else (yyval.d) = s.value[0]; } Free((yyvsp[(1) - (5)].c)); ;} break; case 386: #line 4388 "Gmsh.y" { 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{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (4)].c)]); if((int)s.value.size() < index + 1){ yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (4)].c), index); (yyval.d) = 0.; } else (yyval.d) = s.value[index]; } Free((yyvsp[(1) - (4)].c)); ;} break; case 387: #line 4406 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(2) - (4)].c))){ yymsg(0, "Unknown variable '%s'", (yyvsp[(2) - (4)].c)); (yyval.d) = 0.; } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(2) - (4)].c)]); (yyval.d) = s.value.size(); } Free((yyvsp[(2) - (4)].c)); ;} break; case 388: #line 4418 "Gmsh.y" { if(!gmsh_yysymbols.count((yyvsp[(1) - (2)].c))){ yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (2)].c)); (yyval.d) = 0.; } else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (2)].c)]); if(s.value.empty()){ yymsg(0, "Uninitialized variable '%s'", (yyvsp[(1) - (2)].c)); (yyval.d) = 0.; } else (yyval.d) = (s.value[0] += (yyvsp[(2) - (2)].i)); } Free((yyvsp[(1) - (2)].c)); ;} break; case 389: #line 4435 "Gmsh.y" { 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{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (5)].c)]); if((int)s.value.size() < index + 1){ yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (5)].c), index); (yyval.d) = 0.; } else (yyval.d) = (s.value[index] += (yyvsp[(5) - (5)].i)); } Free((yyvsp[(1) - (5)].c)); ;} break; case 390: #line 4456 "Gmsh.y" { NumberOption(GMSH_GET, (yyvsp[(1) - (3)].c), 0, (yyvsp[(3) - (3)].c), (yyval.d)); Free((yyvsp[(1) - (3)].c)); Free((yyvsp[(3) - (3)].c)); ;} break; case 391: #line 4461 "Gmsh.y" { NumberOption(GMSH_GET, (yyvsp[(1) - (6)].c), (int)(yyvsp[(3) - (6)].d), (yyvsp[(6) - (6)].c), (yyval.d)); Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(6) - (6)].c)); ;} break; case 392: #line 4466 "Gmsh.y" { 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; } Free((yyvsp[(1) - (4)].c)); Free((yyvsp[(3) - (4)].c)); ;} break; case 393: #line 4476 "Gmsh.y" { 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; } Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(6) - (7)].c)); ;} break; case 394: #line 4486 "Gmsh.y" { (yyval.d) = Msg::GetValue((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d)); Free((yyvsp[(3) - (6)].c)); ;} break; case 395: #line 4491 "Gmsh.y" { std::string s((yyvsp[(3) - (6)].c)), substr((yyvsp[(5) - (6)].c)); if(s.find(substr) != std::string::npos) (yyval.d) = 1.; else (yyval.d) = 0.; Free((yyvsp[(3) - (6)].c)); Free((yyvsp[(5) - (6)].c)); ;} break; case 396: #line 4500 "Gmsh.y" { (yyval.d) = strcmp((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].c)); Free((yyvsp[(3) - (6)].c)); Free((yyvsp[(5) - (6)].c)); ;} break; case 397: #line 4505 "Gmsh.y" { int align = 0, font = 0, fontsize = CTX::instance()->glFontSize; if(List_Nbr((yyvsp[(3) - (4)].l)) % 2){ yyerror("Number of text attributes should be even"); } else{ for(int i = 0 ; i < List_Nbr((yyvsp[(3) - (4)].l)); i += 2){ char *s1, *s2; List_Read((yyvsp[(3) - (4)].l), i, &s1); List_Read((yyvsp[(3) - (4)].l), i + 1, &s2); std::string key(s1), val(s2); Free(s1); Free(s2); #if defined(HAVE_OPENGL) if(key == "Font") font = drawContext::global()->getFontIndex(val.c_str()); else if(key == "FontSize") fontsize = atoi(val.c_str()); else if(key == "Align") align = drawContext::global()->getFontAlign(val.c_str()); #endif } } List_Delete((yyvsp[(3) - (4)].l)); (yyval.d) = (double)((align<<16)|(font<<8)|(fontsize)); ;} break; case 398: #line 4532 "Gmsh.y" { memcpy((yyval.v), (yyvsp[(1) - (1)].v), 5*sizeof(double)); ;} break; case 399: #line 4536 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[(2) - (2)].v)[i]; ;} break; case 400: #line 4540 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i]; ;} break; case 401: #line 4544 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] - (yyvsp[(3) - (3)].v)[i]; ;} break; case 402: #line 4548 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] + (yyvsp[(3) - (3)].v)[i]; ;} break; case 403: #line 4555 "Gmsh.y" { (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); ;} break; case 404: #line 4559 "Gmsh.y" { (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; ;} break; case 405: #line 4563 "Gmsh.y" { (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; ;} break; case 406: #line 4567 "Gmsh.y" { (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; ;} break; case 407: #line 4574 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(List_T*)); List_Add((yyval.l), &((yyvsp[(1) - (1)].l))); ;} break; case 408: #line 4579 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].l))); ;} break; case 409: #line 4586 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); ;} break; case 410: #line 4591 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 411: #line 4595 "Gmsh.y" { // creates an empty list (yyval.l) = List_Create(2, 1, sizeof(double)); ;} break; case 412: #line 4600 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (3)].l); ;} break; case 413: #line 4604 "Gmsh.y" { (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); } ;} break; case 414: #line 4612 "Gmsh.y" { (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); } ;} break; case 415: #line 4623 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 416: #line 4627 "Gmsh.y" { 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; case 417: #line 4639 "Gmsh.y" { (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); } ;} break; case 418: #line 4647 "Gmsh.y" { (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); } ;} break; case 419: #line 4655 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); 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); ;} break; case 420: #line 4662 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!(yyvsp[(5) - (5)].d)){ //|| ($1 < $3 && $5 < 0) || ($1 > $3 && $5 > 0) yymsg(0, "Wrong increment in '%g:%g:%g'", (yyvsp[(1) - (5)].d), (yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].d)); } else 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); ;} break; case 421: #line 4672 "Gmsh.y" { // 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)); if(!v) { 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); } else{ List_Add((yyval.l), &v->Pos.X); List_Add((yyval.l), &v->Pos.Y); List_Add((yyval.l), &v->Pos.Z); } ;} break; case 422: #line 4692 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(0); ;} break; case 423: #line 4696 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(1); ;} break; case 424: #line 4700 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(2); ;} break; case 425: #line 4704 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(3); ;} break; case 426: #line 4708 "Gmsh.y" { (yyval.l) = List_Create(10, 1, sizeof(double)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ double num; List_Read((yyvsp[(4) - (5)].l), i, &num); PhysicalGroup *p = FindPhysicalGroup((int)num, MSH_PHYSICAL_POINT); if(p){ for(int j = 0; j < List_Nbr(p->Entities); j++){ int nume; List_Read(p->Entities, j, &nume); double d = nume; List_Add((yyval.l), &d); } } else{ std::map<int, std::vector<GEntity*> > groups[4]; GModel::current()->getPhysicalGroups(groups); std::map<int, std::vector<GEntity*> >::iterator it = groups[0].find((int)num); if(it != groups[0].end()){ for(unsigned j = 0; j < it->second.size(); j++){ double d = it->second[j]->tag(); List_Add((yyval.l), &d); } } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 427: #line 4737 "Gmsh.y" { (yyval.l) = List_Create(10, 1, sizeof(double)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ double num; List_Read((yyvsp[(4) - (5)].l), i, &num); PhysicalGroup *p = FindPhysicalGroup((int)num, MSH_PHYSICAL_LINE); if(p){ for(int j = 0; j < List_Nbr(p->Entities); j++){ int nume; List_Read(p->Entities, j, &nume); double d = nume; List_Add((yyval.l), &d); } } else{ std::map<int, std::vector<GEntity*> > groups[4]; GModel::current()->getPhysicalGroups(groups); std::map<int, std::vector<GEntity*> >::iterator it = groups[1].find((int)num); if(it != groups[1].end()){ for(unsigned j = 0; j < it->second.size(); j++){ double d = it->second[j]->tag(); List_Add((yyval.l), &d); } } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 428: #line 4766 "Gmsh.y" { (yyval.l) = List_Create(10, 1, sizeof(double)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ double num; List_Read((yyvsp[(4) - (5)].l), i, &num); PhysicalGroup *p = FindPhysicalGroup((int)num, MSH_PHYSICAL_SURFACE); if(p){ for(int j = 0; j < List_Nbr(p->Entities); j++){ int nume; List_Read(p->Entities, j, &nume); double d = nume; List_Add((yyval.l), &d); } } else{ std::map<int, std::vector<GEntity*> > groups[4]; GModel::current()->getPhysicalGroups(groups); std::map<int, std::vector<GEntity*> >::iterator it = groups[2].find((int)num); if(it != groups[2].end()){ for(unsigned j = 0; j < it->second.size(); j++){ double d = it->second[j]->tag(); List_Add((yyval.l), &d); } } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 429: #line 4795 "Gmsh.y" { (yyval.l) = List_Create(10, 1, sizeof(double)); for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ double num; List_Read((yyvsp[(4) - (5)].l), i, &num); PhysicalGroup *p = FindPhysicalGroup((int)num, MSH_PHYSICAL_VOLUME); if(p){ for(int j = 0; j < List_Nbr(p->Entities); j++){ int nume; List_Read(p->Entities, j, &nume); double d = nume; List_Add((yyval.l), &d); } } else{ std::map<int, std::vector<GEntity*> > groups[4]; GModel::current()->getPhysicalGroups(groups); std::map<int, std::vector<GEntity*> >::iterator it = groups[3].find((int)num); if(it != groups[3].end()){ for(unsigned j = 0; j < it->second.size(); j++){ double d = it->second[j]->tag(); List_Add((yyval.l), &d); } } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 430: #line 4824 "Gmsh.y" { (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); } List_Delete((yyvsp[(1) - (1)].l)); ;} break; case 431: #line 4834 "Gmsh.y" { (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); } List_Delete((yyvsp[(1) - (1)].l)); ;} break; case 432: #line 4844 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!gmsh_yysymbols.count((yyvsp[(1) - (3)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (3)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (3)].c)]); for(unsigned int i = 0; i < s.value.size(); i++) List_Add((yyval.l), &s.value[i]); } Free((yyvsp[(1) - (3)].c)); ;} break; case 433: #line 4857 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!gmsh_yysymbols.count((yyvsp[(1) - (3)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (3)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(1) - (3)].c)]); for(unsigned int i = 0; i < s.value.size(); i++) List_Add((yyval.l), &s.value[i]); } Free((yyvsp[(1) - (3)].c)); ;} break; case 434: #line 4869 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!gmsh_yysymbols.count((yyvsp[(3) - (4)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(3) - (4)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(yyvsp[(3) - (4)].c)]); for(unsigned int i = 0; i < s.value.size(); i++) List_Add((yyval.l), &s.value[i]); } Free((yyvsp[(3) - (4)].c)); ;} break; case 435: #line 4881 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!gmsh_yysymbols.count((yyvsp[(1) - (6)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (6)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(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)s.value.size() < index + 1) yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (6)].c), index); else List_Add((yyval.l), &s.value[index]); } } Free((yyvsp[(1) - (6)].c)); List_Delete((yyvsp[(4) - (6)].l)); ;} break; case 436: #line 4900 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!gmsh_yysymbols.count((yyvsp[(1) - (6)].c))) yymsg(0, "Unknown variable '%s'", (yyvsp[(1) - (6)].c)); else{ gmsh_yysymbol &s(gmsh_yysymbols[(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)s.value.size() < index + 1) yymsg(0, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (6)].c), index); else List_Add((yyval.l), &s.value[index]); } } Free((yyvsp[(1) - (6)].c)); List_Delete((yyvsp[(4) - (6)].l)); ;} break; case 437: #line 4921 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); ;} break; case 438: #line 4926 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 439: #line 4930 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].d))); ;} break; case 440: #line 4934 "Gmsh.y" { for(int i = 0; i < List_Nbr((yyvsp[(3) - (3)].l)); i++){ double d; List_Read((yyvsp[(3) - (3)].l), i, &d); List_Add((yyval.l), &d); } List_Delete((yyvsp[(3) - (3)].l)); ;} break; case 441: #line 4946 "Gmsh.y" { (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)); ;} break; case 442: #line 4950 "Gmsh.y" { (yyval.u) = CTX::instance()->packColor((int)(yyvsp[(2) - (7)].d), (int)(yyvsp[(4) - (7)].d), (int)(yyvsp[(6) - (7)].d), 255); ;} break; case 443: #line 4962 "Gmsh.y" { int flag; (yyval.u) = GetColorForString(-1, (yyvsp[(1) - (1)].c), &flag); if(flag) yymsg(0, "Unknown color '%s'", (yyvsp[(1) - (1)].c)); Free((yyvsp[(1) - (1)].c)); ;} break; case 444: #line 4969 "Gmsh.y" { unsigned int val = 0; ColorOption(GMSH_GET, (yyvsp[(1) - (5)].c), 0, (yyvsp[(5) - (5)].c), val); (yyval.u) = val; Free((yyvsp[(1) - (5)].c)); Free((yyvsp[(5) - (5)].c)); ;} break; case 445: #line 4979 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (3)].l); ;} break; case 446: #line 4983 "Gmsh.y" { (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); GmshColorTable *ct = GetColorTable((int)(yyvsp[(3) - (6)].d)); if(!ct) yymsg(0, "View[%d] does not exist", (int)(yyvsp[(3) - (6)].d)); else{ for(int i = 0; i < ct->size; i++) List_Add((yyval.l), &ct->table[i]); } Free((yyvsp[(1) - (6)].c)); ;} break; case 447: #line 4998 "Gmsh.y" { (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); List_Add((yyval.l), &((yyvsp[(1) - (1)].u))); ;} break; case 448: #line 5003 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].u))); ;} break; case 449: #line 5010 "Gmsh.y" { (yyval.c) = (yyvsp[(1) - (1)].c); ;} break; case 450: #line 5014 "Gmsh.y" { if(!gmsh_yystringsymbols.count((yyvsp[(1) - (1)].c))){ yymsg(0, "Unknown string variable '%s'", (yyvsp[(1) - (1)].c)); (yyval.c) = (yyvsp[(1) - (1)].c); } else{ 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)); } ;} break; case 451: #line 5027 "Gmsh.y" { std::string out; 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)); ;} break; case 452: #line 5035 "Gmsh.y" { std::string out; 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)); ;} break; case 453: #line 5046 "Gmsh.y" { (yyval.c) = (yyvsp[(1) - (1)].c); ;} break; case 454: #line 5050 "Gmsh.y" { (yyval.c) = (char *)Malloc(32 * sizeof(char)); time_t now; time(&now); strcpy((yyval.c), ctime(&now)); (yyval.c)[strlen((yyval.c)) - 1] = '\0'; ;} break; case 455: #line 5058 "Gmsh.y" { 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)); ;} break; case 456: #line 5066 "Gmsh.y" { 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)); ;} break; case 457: #line 5074 "Gmsh.y" { (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)); ;} break; case 458: #line 5082 "Gmsh.y" { (yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].c)) + 1) * sizeof(char)); int i; 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)); ;} break; case 459: #line 5096 "Gmsh.y" { (yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].c)) + 1) * sizeof(char)); int i; for(i = strlen((yyvsp[(3) - (4)].c)) - 1; i >= 0; i--){ if((yyvsp[(3) - (4)].c)[i] == '/' || (yyvsp[(3) - (4)].c)[i] == '\\') break; } if(i <= 0) strcpy((yyval.c), (yyvsp[(3) - (4)].c)); else strcpy((yyval.c), &(yyvsp[(3) - (4)].c)[i+1]); Free((yyvsp[(3) - (4)].c)); ;} break; case 460: #line 5110 "Gmsh.y" { std::string input = (yyvsp[(3) - (8)].c); std::string substr_old = (yyvsp[(5) - (8)].c); std::string substr_new = (yyvsp[(7) - (8)].c); std::string ret = ReplaceSubString(substr_old, substr_new, input); (yyval.c) = (char *)Malloc((ret.size() + 1) * sizeof(char)); strcpy((yyval.c), ret.c_str()); Free((yyvsp[(3) - (8)].c)); Free((yyvsp[(5) - (8)].c)); Free((yyvsp[(7) - (8)].c)); ;} break; case 461: #line 5122 "Gmsh.y" { int size = 0; for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++) size += strlen(*(char**)List_Pointer((yyvsp[(3) - (4)].l), i)) + 1; (yyval.c) = (char*)Malloc(size * sizeof(char)); (yyval.c)[0] = '\0'; for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ char *s; List_Read((yyvsp[(3) - (4)].l), i, &s); strcat((yyval.c), s); Free(s); if(i != List_Nbr((yyvsp[(3) - (4)].l)) - 1) strcat((yyval.c), "\n"); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 462: #line 5139 "Gmsh.y" { int size = 0; for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++) size += strlen(*(char**)List_Pointer((yyvsp[(3) - (4)].l), i)) + 1; (yyval.c) = (char*)Malloc(size * sizeof(char)); (yyval.c)[0] = '\0'; for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ char *s; List_Read((yyvsp[(3) - (4)].l), i, &s); strcat((yyval.c), s); Free(s); if(i != List_Nbr((yyvsp[(3) - (4)].l)) - 1) strcat((yyval.c), "\n"); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 463: #line 5155 "Gmsh.y" { (yyval.c) = (yyvsp[(3) - (4)].c); ;} break; case 464: #line 5160 "Gmsh.y" { (yyval.c) = (yyvsp[(3) - (4)].c); ;} break; case 465: #line 5164 "Gmsh.y" { char tmpstring[5000]; int i = PrintListOfDouble((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].l), tmpstring); if(i < 0){ yymsg(0, "Too few arguments in Sprintf"); (yyval.c) = (yyvsp[(3) - (6)].c); } else if(i > 0){ yymsg(0, "%d extra argument%s in Sprintf", i, (i > 1) ? "s" : ""); (yyval.c) = (yyvsp[(3) - (6)].c); } else{ (yyval.c) = (char*)Malloc((strlen(tmpstring) + 1) * sizeof(char)); strcpy((yyval.c), tmpstring); Free((yyvsp[(3) - (6)].c)); } List_Delete((yyvsp[(5) - (6)].l)); ;} break; case 466: #line 5184 "Gmsh.y" { char tmpstring[5000]; int i = PrintListOfDouble((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].l), tmpstring); if(i < 0){ yymsg(0, "Too few arguments in Sprintf"); (yyval.c) = (yyvsp[(3) - (6)].c); } else if(i > 0){ yymsg(0, "%d extra argument%s in Sprintf", i, (i > 1) ? "s" : ""); (yyval.c) = (yyvsp[(3) - (6)].c); } else{ (yyval.c) = (char*)Malloc((strlen(tmpstring) + 1) * sizeof(char)); strcpy((yyval.c), tmpstring); Free((yyvsp[(3) - (6)].c)); } List_Delete((yyvsp[(5) - (6)].l)); ;} break; case 467: #line 5206 "Gmsh.y" { (yyval.l) = List_Create(20,20,sizeof(char*)); List_Add((yyval.l), &((yyvsp[(1) - (1)].c))); ;} break; case 468: #line 5211 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].c))); ;} break; /* Line 1267 of yacc.c. */ #line 10628 "Gmsh.tab.cpp" default: break; } 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 yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; /*------------------------------------. | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else { YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) { YYSIZE_T yyalloc = 2 * yysize; if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) yyalloc = YYSTACK_ALLOC_MAXIMUM; if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); yymsg = (char *) YYSTACK_ALLOC (yyalloc); if (yymsg) yymsg_alloc = yyalloc; else { yymsg = yymsgbuf; yymsg_alloc = sizeof yymsgbuf; } } if (0 < yysize && yysize <= yymsg_alloc) { (void) yysyntax_error (yymsg, yystate, yychar); yyerror (yymsg); } else { yyerror (YY_("syntax error")); if (yysize != 0) goto yyexhaustedlab; } } #endif } if (yyerrstatus == 3) { /* If just tried and failed to reuse look-ahead token after an error, discard it. */ if (yychar <= YYEOF) { /* Return failure if at end of input. */ if (yychar == YYEOF) YYABORT; } else { yydestruct ("Error: discarding", yytoken, &yylval); yychar = YYEMPTY; } } /* Else will try to reuse look-ahead token after shifting the error token. */ goto yyerrlab1; /*---------------------------------------------------. | 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. */ for (;;) { yyn = yypact[yystate]; if (yyn != YYPACT_NINF) { 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) YYABORT; yydestruct ("Error: popping", yystos[yystate], yyvsp); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); } if (yyn == YYFINAL) YYACCEPT; *++yyvsp = yylval; /* 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; #ifndef yyoverflow /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: if (yychar != YYEOF && yychar != YYEMPTY) 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) { yydestruct ("Cleanup: popping", yystos[*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif #if YYERROR_VERBOSE if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); #endif /* Make sure YYID is used. */ return YYID (yyresult); } #line 5214 "Gmsh.y" int PrintListOfDouble(char *format, List_T *list, char *buffer) { // if format does not contain formatting characters, dump the list (useful for // quick debugging of lists) int numFormats = 0; for(unsigned int i = 0; i < strlen(format); i++) if(format[i] == '%') numFormats++; if(!numFormats){ strcpy(buffer, format); for(int i = 0; i < List_Nbr(list); i++){ double d; List_Read(list, i, &d); char tmp[256]; sprintf(tmp, " [%d]%g", i, d); strcat(buffer, tmp); } return 0; } char tmp1[256], tmp2[256]; int j = 0, k = 0; buffer[j] = '\0'; while(j < (int)strlen(format) && format[j] != '%') j++; strncpy(buffer, format, j); buffer[j] = '\0'; for(int i = 0; i < List_Nbr(list); i++){ k = j; j++; if(j < (int)strlen(format)){ if(format[j] == '%'){ strcat(buffer, "%"); j++; } while(j < (int)strlen(format) && format[j] != '%') j++; if(k != j){ strncpy(tmp1, &(format[k]), j-k); tmp1[j-k] = '\0'; sprintf(tmp2, tmp1, *(double*)List_Pointer(list, i)); strcat(buffer, tmp2); } } else return List_Nbr(list) - i; } if(j != (int)strlen(format)) return -1; return 0; } 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)); } fullMatrix<double> mat(M, N); 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); mat(i, j) = val; } } for(int i = 0; i < List_Nbr(list); i++) List_Delete(*(List_T**)List_Pointer(list, i)); List_Delete(list); return mat; } void yyerror(const char *s) { Msg::Error("'%s', line %d : %s (%s)", gmsh_yyname.c_str(), gmsh_yylineno - 1, s, gmsh_yytext); gmsh_yyerrorstate++; } void yymsg(int level, const char *fmt, ...) { va_list args; char tmp[1024]; va_start(args, fmt); vsprintf(tmp, fmt, args); va_end(args); 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); }