/* A Bison parser, made by GNU Bison 2.4.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010 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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. 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.4.3" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 0 /* Push parsers. */ #define YYPUSH 0 /* Pull parsers. */ #define YYPULL 1 /* 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 /* Copy the first part of user declarations. */ /* Line 189 of yacc.c */ #line 1 "Gmsh.y" // Gmsh - Copyright (C) 1997-2012 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. #include <string.h> #include <stdarg.h> #include <time.h> #include "GmshConfig.h" #include "GmshMessage.h" #include "fullMatrix.h" #include "MallocUtils.h" #include "ListUtils.h" #include "TreeUtils.h" #include "StringUtils.h" #include "Numeric.h" #include "Context.h" #include "GModel.h" #include "Geo.h" #include "GeoInterpolation.h" #include "Options.h" #include "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" #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; }; /* Line 189 of yacc.c */ #line 172 "Gmsh.tab.cpp" /* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 0 #endif /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE # undef YYERROR_VERBOSE # define YYERROR_VERBOSE 1 #else # define YYERROR_VERBOSE 0 #endif /* Enabling the token table. */ #ifndef YYTOKEN_TABLE # define YYTOKEN_TABLE 0 #endif /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { tDOUBLE = 258, tSTRING = 259, tBIGSTR = 260, tEND = 261, tAFFECT = 262, 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, tSprintf = 293, tStrCat = 294, tStrPrefix = 295, tStrRelative = 296, tStrFind = 297, tBoundingBox = 298, tDraw = 299, tToday = 300, tSyncModel = 301, tCreateTopology = 302, tCreateTopologyNoHoles = 303, tDistanceFunction = 304, tDefineConstant = 305, tPoint = 306, tCircle = 307, tEllipse = 308, tLine = 309, tSphere = 310, tPolarSphere = 311, tSurface = 312, tSpline = 313, tVolume = 314, tCharacteristic = 315, tLength = 316, tParametric = 317, tElliptic = 318, tRefineMesh = 319, tPlane = 320, tRuled = 321, tTransfinite = 322, tComplex = 323, tPhysical = 324, tCompound = 325, tPeriodic = 326, tUsing = 327, tPlugin = 328, tDegenerated = 329, tRotate = 330, tTranslate = 331, tSymmetry = 332, tDilate = 333, tExtrude = 334, tLevelset = 335, tRecombine = 336, tSmoother = 337, tSplit = 338, tDelete = 339, tCoherence = 340, tIntersect = 341, tMeshAlgorithm = 342, tLayers = 343, tHole = 344, tAlias = 345, tAliasWithOptions = 346, tQuadTriDbl = 347, tQuadTriSngl = 348, tRecombLaterals = 349, tTransfQuadTri = 350, tText2D = 351, tText3D = 352, tInterpolationScheme = 353, tTime = 354, tCombine = 355, tBSpline = 356, tBezier = 357, tNurbs = 358, tNurbsOrder = 359, tNurbsKnots = 360, tColor = 361, tColorTable = 362, tFor = 363, tIn = 364, tEndFor = 365, tIf = 366, tEndIf = 367, tExit = 368, tAbort = 369, tField = 370, tReturn = 371, tCall = 372, tFunction = 373, tShow = 374, tHide = 375, tGetValue = 376, tGetEnv = 377, tGetString = 378, tHomology = 379, tCohomology = 380, tGMSH_MAJOR_VERSION = 381, tGMSH_MINOR_VERSION = 382, tGMSH_PATCH_VERSION = 383, tAFFECTDIVIDE = 384, tAFFECTTIMES = 385, tAFFECTMINUS = 386, tAFFECTPLUS = 387, tOR = 388, tAND = 389, tNOTEQUAL = 390, tEQUAL = 391, tGREATEROREQUAL = 392, tLESSOREQUAL = 393, UNARYPREC = 394, tMINUSMINUS = 395, tPLUSPLUS = 396 }; #endif #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { /* Line 214 of yacc.c */ #line 92 "Gmsh.y" char *c; int i; unsigned int u; double d; double v[5]; Shape s; List_T *l; /* Line 214 of yacc.c */ #line 361 "Gmsh.tab.cpp" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif /* Copy the second part of user declarations. */ /* Line 264 of yacc.c */ #line 373 "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 yyi) #else static int YYID (yyi) int yyi; #endif { return yyi; } #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_alloc; YYSTYPE yyvs_alloc; }; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* 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_alloc, Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ Stack = &yyptr->Stack_alloc; \ 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 7722 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 162 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 89 /* YYNRULES -- Number of rules. */ #define YYNRULES 431 /* YYNRULES -- Number of states. */ #define YYNSTATES 1491 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 396 #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, 147, 2, 157, 2, 146, 2, 2, 152, 153, 144, 142, 158, 143, 156, 145, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 138, 2, 139, 133, 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, 154, 2, 155, 151, 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, 159, 2, 160, 161, 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, 134, 135, 136, 137, 140, 141, 148, 149, 150 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ static const yytype_uint16 yyprhs[] = { 0, 0, 3, 5, 8, 9, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 51, 57, 63, 71, 79, 87, 97, 104, 111, 118, 119, 122, 125, 128, 131, 134, 136, 140, 142, 146, 147, 148, 159, 161, 165, 166, 180, 182, 186, 187, 203, 212, 227, 228, 235, 237, 239, 241, 243, 245, 247, 249, 255, 260, 267, 275, 285, 289, 296, 301, 308, 318, 325, 335, 341, 350, 359, 371, 378, 388, 394, 402, 412, 422, 434, 442, 452, 462, 463, 465, 466, 470, 476, 477, 487, 493, 494, 504, 508, 514, 515, 518, 522, 528, 532, 534, 536, 537, 543, 544, 547, 555, 556, 566, 573, 581, 586, 594, 603, 612, 620, 628, 640, 649, 658, 659, 669, 678, 688, 692, 697, 708, 716, 724, 733, 742, 755, 756, 766, 775, 783, 792, 793, 803, 809, 821, 827, 837, 847, 852, 862, 872, 874, 876, 877, 880, 887, 894, 901, 908, 917, 928, 943, 960, 973, 982, 991, 998, 1013, 1018, 1025, 1032, 1036, 1041, 1047, 1051, 1055, 1060, 1065, 1069, 1077, 1085, 1089, 1097, 1101, 1104, 1107, 1110, 1113, 1129, 1132, 1135, 1138, 1141, 1148, 1157, 1166, 1177, 1179, 1182, 1184, 1188, 1193, 1195, 1201, 1213, 1227, 1228, 1236, 1237, 1251, 1252, 1268, 1269, 1276, 1285, 1294, 1303, 1316, 1329, 1342, 1357, 1372, 1387, 1388, 1401, 1402, 1415, 1416, 1429, 1430, 1447, 1448, 1465, 1466, 1483, 1484, 1503, 1504, 1523, 1524, 1543, 1545, 1548, 1554, 1562, 1572, 1575, 1578, 1582, 1585, 1589, 1599, 1606, 1607, 1611, 1612, 1614, 1615, 1618, 1619, 1622, 1630, 1637, 1646, 1652, 1656, 1664, 1670, 1677, 1684, 1697, 1708, 1719, 1730, 1741, 1744, 1748, 1755, 1757, 1759, 1762, 1768, 1776, 1787, 1789, 1793, 1796, 1799, 1802, 1806, 1810, 1814, 1818, 1822, 1826, 1830, 1834, 1838, 1842, 1846, 1850, 1854, 1858, 1864, 1869, 1874, 1879, 1884, 1889, 1894, 1899, 1904, 1909, 1914, 1921, 1926, 1931, 1936, 1941, 1946, 1951, 1958, 1965, 1972, 1977, 1982, 1987, 1992, 1997, 2002, 2007, 2012, 2017, 2022, 2027, 2034, 2039, 2044, 2049, 2054, 2059, 2064, 2071, 2078, 2085, 2090, 2092, 2094, 2096, 2098, 2100, 2102, 2104, 2106, 2112, 2117, 2122, 2125, 2131, 2135, 2142, 2147, 2155, 2162, 2169, 2171, 2174, 2177, 2181, 2185, 2197, 2207, 2215, 2223, 2225, 2229, 2231, 2233, 2236, 2240, 2245, 2251, 2253, 2255, 2258, 2262, 2266, 2272, 2277, 2280, 2283, 2286, 2289, 2295, 2301, 2307, 2313, 2315, 2317, 2321, 2326, 2333, 2335, 2337, 2341, 2345, 2355, 2363, 2365, 2371, 2375, 2382, 2384, 2388, 2390, 2392, 2396, 2403, 2405, 2407, 2412, 2419, 2426, 2431, 2436, 2441 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { 163, 0, -1, 164, -1, 1, 6, -1, -1, 164, 165, -1, 168, -1, 167, -1, 186, -1, 197, -1, 202, -1, 206, -1, 207, -1, 208, -1, 211, -1, 231, -1, 232, -1, 233, -1, 234, -1, 210, -1, 209, -1, 205, -1, 236, -1, 139, -1, 139, 139, -1, 36, 152, 5, 153, 6, -1, 37, 152, 5, 153, 6, -1, 36, 152, 5, 153, 166, 249, 6, -1, 36, 152, 5, 158, 245, 153, 6, -1, 37, 152, 5, 158, 245, 153, 6, -1, 36, 152, 5, 158, 245, 153, 166, 249, 6, -1, 4, 5, 159, 169, 160, 6, -1, 90, 4, 154, 237, 155, 6, -1, 91, 4, 154, 237, 155, 6, -1, -1, 169, 172, -1, 169, 176, -1, 169, 179, -1, 169, 181, -1, 169, 182, -1, 237, -1, 170, 158, 237, -1, 237, -1, 171, 158, 237, -1, -1, -1, 4, 173, 152, 170, 153, 174, 159, 171, 160, 6, -1, 249, -1, 175, 158, 249, -1, -1, 96, 152, 237, 158, 237, 158, 237, 153, 177, 159, 175, 160, 6, -1, 249, -1, 178, 158, 249, -1, -1, 97, 152, 237, 158, 237, 158, 237, 158, 237, 153, 180, 159, 178, 160, 6, -1, 98, 159, 241, 160, 159, 241, 160, 6, -1, 98, 159, 241, 160, 159, 241, 160, 159, 241, 160, 159, 241, 160, 6, -1, -1, 99, 183, 159, 171, 160, 6, -1, 7, -1, 132, -1, 131, -1, 130, -1, 129, -1, 150, -1, 149, -1, 50, 154, 188, 155, 6, -1, 4, 184, 242, 6, -1, 4, 154, 155, 184, 242, 6, -1, 4, 154, 237, 155, 184, 237, 6, -1, 4, 154, 159, 245, 160, 155, 184, 242, 6, -1, 4, 185, 6, -1, 4, 154, 237, 155, 185, 6, -1, 4, 7, 250, 6, -1, 4, 156, 4, 7, 250, 6, -1, 4, 154, 237, 155, 156, 4, 7, 250, 6, -1, 4, 156, 4, 184, 237, 6, -1, 4, 154, 237, 155, 156, 4, 184, 237, 6, -1, 4, 156, 4, 185, 6, -1, 4, 154, 237, 155, 156, 4, 185, 6, -1, 4, 156, 106, 156, 4, 7, 246, 6, -1, 4, 154, 237, 155, 156, 106, 156, 4, 7, 246, 6, -1, 4, 156, 107, 7, 247, 6, -1, 4, 154, 237, 155, 156, 107, 7, 247, 6, -1, 4, 115, 7, 237, 6, -1, 115, 154, 237, 155, 7, 4, 6, -1, 115, 154, 237, 155, 156, 4, 7, 237, 6, -1, 115, 154, 237, 155, 156, 4, 7, 250, 6, -1, 115, 154, 237, 155, 156, 4, 7, 159, 245, 160, 6, -1, 115, 154, 237, 155, 156, 4, 6, -1, 73, 152, 4, 153, 156, 4, 7, 237, 6, -1, 73, 152, 4, 153, 156, 4, 7, 250, 6, -1, -1, 158, -1, -1, 188, 187, 4, -1, 188, 187, 4, 7, 237, -1, -1, 188, 187, 4, 7, 159, 237, 189, 192, 160, -1, 188, 187, 4, 7, 250, -1, -1, 188, 187, 4, 7, 159, 250, 190, 192, 160, -1, 237, 7, 250, -1, 191, 158, 237, 7, 250, -1, -1, 192, 193, -1, 158, 4, 242, -1, 158, 4, 159, 191, 160, -1, 158, 4, 5, -1, 237, -1, 250, -1, -1, 109, 55, 159, 237, 160, -1, -1, 65, 239, -1, 51, 152, 237, 153, 7, 239, 6, -1, -1, 69, 51, 198, 152, 194, 153, 7, 242, 6, -1, 60, 61, 242, 7, 237, 6, -1, 54, 152, 237, 153, 7, 242, 6, -1, 74, 54, 242, 6, -1, 58, 152, 237, 153, 7, 242, 6, -1, 52, 152, 237, 153, 7, 242, 196, 6, -1, 53, 152, 237, 153, 7, 242, 196, 6, -1, 101, 152, 237, 153, 7, 242, 6, -1, 102, 152, 237, 153, 7, 242, 6, -1, 103, 152, 237, 153, 7, 242, 105, 242, 104, 237, 6, -1, 54, 4, 152, 237, 153, 7, 242, 6, -1, 70, 54, 152, 237, 153, 7, 242, 6, -1, -1, 69, 54, 199, 152, 194, 153, 7, 242, 6, -1, 65, 57, 152, 237, 153, 7, 242, 6, -1, 66, 57, 152, 237, 153, 7, 242, 195, 6, -1, 12, 13, 6, -1, 13, 57, 237, 6, -1, 62, 57, 152, 237, 153, 7, 5, 5, 5, 6, -1, 55, 152, 237, 153, 7, 242, 6, -1, 56, 152, 237, 153, 7, 242, 6, -1, 57, 4, 152, 237, 153, 7, 242, 6, -1, 70, 57, 152, 237, 153, 7, 242, 6, -1, 70, 57, 152, 237, 153, 7, 242, 4, 159, 241, 160, 6, -1, -1, 69, 57, 200, 152, 194, 153, 7, 242, 6, -1, 68, 59, 152, 237, 153, 7, 242, 6, -1, 59, 152, 237, 153, 7, 242, 6, -1, 70, 59, 152, 237, 153, 7, 242, 6, -1, -1, 69, 59, 201, 152, 194, 153, 7, 242, 6, -1, 76, 239, 159, 203, 160, -1, 75, 159, 239, 158, 239, 158, 237, 160, 159, 203, 160, -1, 77, 239, 159, 203, 160, -1, 78, 159, 239, 158, 237, 160, 159, 203, 160, -1, 78, 159, 239, 158, 239, 160, 159, 203, 160, -1, 4, 159, 203, 160, -1, 86, 54, 159, 245, 160, 57, 159, 237, 160, -1, 83, 54, 152, 237, 153, 159, 245, 160, 6, -1, 204, -1, 202, -1, -1, 204, 197, -1, 204, 51, 159, 245, 160, 6, -1, 204, 54, 159, 245, 160, 6, -1, 204, 57, 159, 245, 160, 6, -1, 204, 59, 159, 245, 160, 6, -1, 80, 65, 152, 237, 153, 7, 242, 6, -1, 80, 51, 152, 237, 153, 7, 159, 241, 160, 6, -1, 80, 65, 152, 237, 153, 7, 159, 239, 158, 239, 158, 245, 160, 6, -1, 80, 65, 152, 237, 153, 7, 159, 239, 158, 239, 158, 239, 158, 245, 160, 6, -1, 80, 55, 152, 237, 153, 7, 159, 239, 158, 245, 160, 6, -1, 80, 4, 152, 237, 153, 7, 242, 6, -1, 80, 4, 152, 237, 153, 7, 5, 6, -1, 80, 4, 159, 237, 160, 6, -1, 80, 4, 152, 237, 153, 7, 159, 239, 158, 239, 158, 245, 160, 6, -1, 84, 159, 204, 160, -1, 84, 115, 154, 237, 155, 6, -1, 84, 4, 154, 237, 155, 6, -1, 84, 4, 6, -1, 84, 4, 4, 6, -1, 106, 246, 159, 204, 160, -1, 119, 5, 6, -1, 120, 5, 6, -1, 119, 159, 204, 160, -1, 120, 159, 204, 160, -1, 4, 250, 6, -1, 4, 4, 154, 237, 155, 249, 6, -1, 4, 4, 4, 154, 237, 155, 6, -1, 4, 237, 6, -1, 73, 152, 4, 153, 156, 4, 6, -1, 100, 4, 6, -1, 113, 6, -1, 114, 6, -1, 46, 6, -1, 43, 6, -1, 43, 159, 237, 158, 237, 158, 237, 158, 237, 158, 237, 158, 237, 160, 6, -1, 44, 6, -1, 47, 6, -1, 48, 6, -1, 64, 6, -1, 108, 152, 237, 8, 237, 153, -1, 108, 152, 237, 8, 237, 8, 237, 153, -1, 108, 4, 109, 159, 237, 8, 237, 160, -1, 108, 4, 109, 159, 237, 8, 237, 8, 237, 160, -1, 110, -1, 118, 4, -1, 116, -1, 117, 4, 6, -1, 111, 152, 237, 153, -1, 112, -1, 79, 239, 159, 204, 160, -1, 79, 159, 239, 158, 239, 158, 237, 160, 159, 204, 160, -1, 79, 159, 239, 158, 239, 158, 239, 158, 237, 160, 159, 204, 160, -1, -1, 79, 239, 159, 204, 212, 225, 160, -1, -1, 79, 159, 239, 158, 239, 158, 237, 160, 159, 204, 213, 225, 160, -1, -1, 79, 159, 239, 158, 239, 158, 239, 158, 237, 160, 159, 204, 214, 225, 160, -1, -1, 79, 159, 204, 215, 225, 160, -1, 79, 51, 159, 237, 158, 239, 160, 6, -1, 79, 54, 159, 237, 158, 239, 160, 6, -1, 79, 57, 159, 237, 158, 239, 160, 6, -1, 79, 51, 159, 237, 158, 239, 158, 239, 158, 237, 160, 6, -1, 79, 54, 159, 237, 158, 239, 158, 239, 158, 237, 160, 6, -1, 79, 57, 159, 237, 158, 239, 158, 239, 158, 237, 160, 6, -1, 79, 51, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 6, -1, 79, 54, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 6, -1, 79, 57, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 6, -1, -1, 79, 51, 159, 237, 158, 239, 160, 216, 159, 225, 160, 6, -1, -1, 79, 54, 159, 237, 158, 239, 160, 217, 159, 225, 160, 6, -1, -1, 79, 57, 159, 237, 158, 239, 160, 218, 159, 225, 160, 6, -1, -1, 79, 51, 159, 237, 158, 239, 158, 239, 158, 237, 160, 219, 159, 225, 160, 6, -1, -1, 79, 54, 159, 237, 158, 239, 158, 239, 158, 237, 160, 220, 159, 225, 160, 6, -1, -1, 79, 57, 159, 237, 158, 239, 158, 239, 158, 237, 160, 221, 159, 225, 160, 6, -1, -1, 79, 51, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 222, 159, 225, 160, 6, -1, -1, 79, 54, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 223, 159, 225, 160, 6, -1, -1, 79, 57, 159, 237, 158, 239, 158, 239, 158, 239, 158, 237, 160, 224, 159, 225, 160, 6, -1, 226, -1, 225, 226, -1, 88, 159, 237, 160, 6, -1, 88, 159, 242, 158, 242, 160, 6, -1, 88, 159, 242, 158, 242, 158, 242, 160, 6, -1, 81, 6, -1, 92, 6, -1, 92, 94, 6, -1, 93, 6, -1, 93, 94, 6, -1, 89, 152, 237, 153, 7, 242, 72, 237, 6, -1, 72, 4, 154, 237, 155, 6, -1, -1, 72, 4, 237, -1, -1, 4, -1, -1, 7, 242, -1, -1, 7, 237, -1, 67, 54, 243, 7, 237, 227, 6, -1, 67, 57, 243, 229, 228, 6, -1, 63, 57, 159, 237, 160, 7, 242, 6, -1, 67, 59, 243, 229, 6, -1, 95, 243, 6, -1, 87, 57, 159, 245, 160, 237, 6, -1, 81, 57, 243, 230, 6, -1, 82, 57, 242, 7, 237, 6, -1, 71, 54, 242, 7, 242, 6, -1, 71, 57, 237, 159, 245, 160, 7, 237, 159, 245, 160, 6, -1, 51, 159, 245, 160, 109, 57, 159, 237, 160, 6, -1, 54, 159, 245, 160, 109, 57, 159, 237, 160, 6, -1, 54, 159, 245, 160, 109, 59, 159, 237, 160, 6, -1, 57, 159, 245, 160, 109, 59, 159, 237, 160, 6, -1, 85, 6, -1, 85, 4, 6, -1, 85, 51, 159, 245, 160, 6, -1, 124, -1, 125, -1, 235, 6, -1, 235, 159, 242, 160, 6, -1, 235, 159, 242, 158, 242, 160, 6, -1, 235, 152, 242, 153, 159, 242, 158, 242, 160, 6, -1, 238, -1, 152, 237, 153, -1, 143, 237, -1, 142, 237, -1, 147, 237, -1, 237, 143, 237, -1, 237, 142, 237, -1, 237, 144, 237, -1, 237, 145, 237, -1, 237, 146, 237, -1, 237, 151, 237, -1, 237, 138, 237, -1, 237, 139, 237, -1, 237, 141, 237, -1, 237, 140, 237, -1, 237, 137, 237, -1, 237, 136, 237, -1, 237, 135, 237, -1, 237, 134, 237, -1, 237, 133, 237, 8, 237, -1, 14, 152, 237, 153, -1, 15, 152, 237, 153, -1, 16, 152, 237, 153, -1, 17, 152, 237, 153, -1, 18, 152, 237, 153, -1, 19, 152, 237, 153, -1, 20, 152, 237, 153, -1, 21, 152, 237, 153, -1, 22, 152, 237, 153, -1, 24, 152, 237, 153, -1, 25, 152, 237, 158, 237, 153, -1, 26, 152, 237, 153, -1, 27, 152, 237, 153, -1, 28, 152, 237, 153, -1, 29, 152, 237, 153, -1, 30, 152, 237, 153, -1, 31, 152, 237, 153, -1, 32, 152, 237, 158, 237, 153, -1, 33, 152, 237, 158, 237, 153, -1, 34, 152, 237, 158, 237, 153, -1, 23, 152, 237, 153, -1, 14, 154, 237, 155, -1, 15, 154, 237, 155, -1, 16, 154, 237, 155, -1, 17, 154, 237, 155, -1, 18, 154, 237, 155, -1, 19, 154, 237, 155, -1, 20, 154, 237, 155, -1, 21, 154, 237, 155, -1, 22, 154, 237, 155, -1, 24, 154, 237, 155, -1, 25, 154, 237, 158, 237, 155, -1, 26, 154, 237, 155, -1, 27, 154, 237, 155, -1, 28, 154, 237, 155, -1, 29, 154, 237, 155, -1, 30, 154, 237, 155, -1, 31, 154, 237, 155, -1, 32, 154, 237, 158, 237, 155, -1, 33, 154, 237, 158, 237, 155, -1, 34, 154, 237, 158, 237, 155, -1, 23, 154, 237, 155, -1, 3, -1, 9, -1, 10, -1, 11, -1, 126, -1, 127, -1, 128, -1, 4, -1, 4, 161, 159, 237, 160, -1, 4, 154, 237, 155, -1, 157, 4, 154, 155, -1, 4, 185, -1, 4, 154, 237, 155, 185, -1, 4, 156, 4, -1, 4, 154, 237, 155, 156, 4, -1, 4, 156, 4, 185, -1, 4, 154, 237, 155, 156, 4, 185, -1, 121, 152, 249, 158, 237, 153, -1, 42, 152, 249, 158, 249, 153, -1, 240, -1, 143, 239, -1, 142, 239, -1, 239, 143, 239, -1, 239, 142, 239, -1, 159, 237, 158, 237, 158, 237, 158, 237, 158, 237, 160, -1, 159, 237, 158, 237, 158, 237, 158, 237, 160, -1, 159, 237, 158, 237, 158, 237, 160, -1, 152, 237, 158, 237, 158, 237, 153, -1, 242, -1, 241, 158, 242, -1, 237, -1, 244, -1, 159, 160, -1, 159, 245, 160, -1, 143, 159, 245, 160, -1, 237, 144, 159, 245, 160, -1, 242, -1, 5, -1, 143, 244, -1, 237, 144, 244, -1, 237, 8, 237, -1, 237, 8, 237, 8, 237, -1, 51, 159, 237, 160, -1, 51, 5, -1, 54, 5, -1, 57, 5, -1, 59, 5, -1, 69, 51, 159, 245, 160, -1, 69, 54, 159, 245, 160, -1, 69, 57, 159, 245, 160, -1, 69, 59, 159, 245, 160, -1, 202, -1, 211, -1, 4, 154, 155, -1, 35, 154, 4, 155, -1, 4, 154, 159, 245, 160, 155, -1, 237, -1, 244, -1, 245, 158, 237, -1, 245, 158, 244, -1, 159, 237, 158, 237, 158, 237, 158, 237, 160, -1, 159, 237, 158, 237, 158, 237, 160, -1, 4, -1, 4, 156, 106, 156, 4, -1, 159, 248, 160, -1, 4, 154, 237, 155, 156, 107, -1, 246, -1, 248, 158, 246, -1, 250, -1, 4, -1, 4, 156, 4, -1, 4, 154, 237, 155, 156, 4, -1, 5, -1, 45, -1, 122, 152, 249, 153, -1, 123, 152, 249, 158, 249, 153, -1, 39, 152, 249, 158, 249, 153, -1, 40, 152, 249, 153, -1, 41, 152, 249, 153, -1, 38, 152, 249, 153, -1, 38, 152, 249, 158, 245, 153, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { 0, 163, 163, 164, 169, 171, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 195, 199, 206, 211, 216, 230, 243, 256, 284, 298, 309, 324, 329, 330, 331, 332, 333, 337, 339, 344, 346, 352, 456, 351, 474, 481, 492, 491, 509, 516, 527, 526, 543, 560, 583, 582, 596, 597, 598, 599, 600, 604, 605, 611, 613, 676, 706, 739, 785, 800, 816, 825, 831, 840, 858, 876, 885, 897, 902, 910, 930, 953, 964, 972, 994, 1017, 1043, 1064, 1076, 1090, 1090, 1092, 1094, 1105, 1117, 1116, 1128, 1140, 1139, 1154, 1160, 1167, 1168, 1172, 1183, 1198, 1211, 1215, 1226, 1229, 1242, 1245, 1255, 1279, 1278, 1298, 1320, 1338, 1359, 1377, 1407, 1437, 1455, 1473, 1499, 1517, 1536, 1535, 1558, 1576, 1615, 1621, 1627, 1634, 1659, 1684, 1701, 1718, 1750, 1749, 1773, 1791, 1808, 1825, 1824, 1850, 1855, 1860, 1865, 1870, 1875, 1898, 1904, 1915, 1916, 1921, 1924, 1928, 1951, 1974, 1997, 2025, 2046, 2069, 2090, 2112, 2132, 2244, 2263, 2301, 2410, 2419, 2425, 2440, 2468, 2485, 2499, 2505, 2511, 2520, 2534, 2579, 2596, 2611, 2630, 2642, 2666, 2670, 2675, 2682, 2688, 2693, 2699, 2703, 2707, 2717, 2734, 2751, 2772, 2793, 2828, 2836, 2842, 2849, 2853, 2862, 2870, 2878, 2887, 2886, 2900, 2899, 2913, 2912, 2926, 2925, 2938, 2945, 2952, 2959, 2966, 2973, 2980, 2987, 2994, 3002, 3001, 3014, 3013, 3026, 3025, 3038, 3037, 3050, 3049, 3062, 3061, 3074, 3073, 3086, 3085, 3098, 3097, 3113, 3116, 3122, 3131, 3151, 3174, 3178, 3182, 3186, 3190, 3194, 3213, 3226, 3229, 3245, 3248, 3261, 3264, 3270, 3273, 3280, 3336, 3406, 3411, 3478, 3514, 3523, 3566, 3591, 3618, 3662, 3685, 3708, 3711, 3720, 3724, 3734, 3769, 3770, 3774, 3779, 3790, 3807, 3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843, 3850, 3851, 3852, 3853, 3854, 3855, 3856, 3857, 3858, 3859, 3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896, 3897, 3898, 3899, 3900, 3901, 3902, 3903, 3912, 3913, 3914, 3915, 3916, 3917, 3918, 3922, 3942, 3961, 3979, 3991, 4008, 4029, 4034, 4039, 4049, 4059, 4064, 4076, 4080, 4084, 4088, 4092, 4099, 4103, 4107, 4111, 4118, 4123, 4130, 4135, 4139, 4144, 4148, 4156, 4167, 4171, 4183, 4191, 4199, 4206, 4217, 4237, 4241, 4245, 4249, 4253, 4271, 4289, 4307, 4325, 4335, 4345, 4357, 4369, 4390, 4395, 4399, 4403, 4415, 4419, 4431, 4438, 4448, 4452, 4467, 4472, 4479, 4483, 4496, 4504, 4515, 4519, 4527, 4535, 4543, 4551, 4565, 4579, 4583 }; #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", "tSprintf", "tStrCat", "tStrPrefix", "tStrRelative", "tStrFind", "tBoundingBox", "tDraw", "tToday", "tSyncModel", "tCreateTopology", "tCreateTopologyNoHoles", "tDistanceFunction", "tDefineConstant", "tPoint", "tCircle", "tEllipse", "tLine", "tSphere", "tPolarSphere", "tSurface", "tSpline", "tVolume", "tCharacteristic", "tLength", "tParametric", "tElliptic", "tRefineMesh", "tPlane", "tRuled", "tTransfinite", "tComplex", "tPhysical", "tCompound", "tPeriodic", "tUsing", "tPlugin", "tDegenerated", "tRotate", "tTranslate", "tSymmetry", "tDilate", "tExtrude", "tLevelset", "tRecombine", "tSmoother", "tSplit", "tDelete", "tCoherence", "tIntersect", "tMeshAlgorithm", "tLayers", "tHole", "tAlias", "tAliasWithOptions", "tQuadTriDbl", "tQuadTriSngl", "tRecombLaterals", "tTransfQuadTri", "tText2D", "tText3D", "tInterpolationScheme", "tTime", "tCombine", "tBSpline", "tBezier", "tNurbs", "tNurbsOrder", "tNurbsKnots", "tColor", "tColorTable", "tFor", "tIn", "tEndFor", "tIf", "tEndIf", "tExit", "tAbort", "tField", "tReturn", "tCall", "tFunction", "tShow", "tHide", "tGetValue", "tGetEnv", "tGetString", "tHomology", "tCohomology", "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", "Enumeration", "FloatParameterOptions", "FloatParameterOption", "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", "Transfinite", "Periodic", "Embedding", "Coherence", "HomologyCommand", "Homology", "FExpr", "FExpr_Single", "VExpr", "VExpr_Single", "RecursiveListOfListOfDouble", "ListOfDouble", "ListOfDoubleOrAll", "FExpr_Multi", "RecursiveListOfDouble", "ColorExpr", "ListOfColor", "RecursiveListOfColor", "StringExprVar", "StringExpr", 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, 63, 388, 389, 390, 391, 60, 62, 392, 393, 43, 45, 42, 47, 37, 33, 394, 395, 396, 94, 40, 41, 91, 93, 46, 35, 44, 123, 125, 126 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint8 yyr1[] = { 0, 162, 163, 163, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 166, 166, 167, 167, 167, 167, 167, 167, 168, 168, 168, 169, 169, 169, 169, 169, 169, 170, 170, 171, 171, 173, 174, 172, 175, 175, 177, 176, 178, 178, 180, 179, 181, 181, 183, 182, 184, 184, 184, 184, 184, 185, 185, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 187, 187, 188, 188, 188, 189, 188, 188, 190, 188, 191, 191, 192, 192, 193, 193, 193, 194, 194, 195, 195, 196, 196, 197, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 199, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 200, 197, 197, 197, 197, 201, 197, 202, 202, 202, 202, 202, 202, 202, 202, 203, 203, 204, 204, 204, 204, 204, 204, 205, 205, 205, 205, 205, 205, 205, 205, 205, 206, 206, 206, 206, 206, 207, 208, 208, 208, 208, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 211, 211, 211, 212, 211, 213, 211, 214, 211, 215, 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, 216, 211, 217, 211, 218, 211, 219, 211, 220, 211, 221, 211, 222, 211, 223, 211, 224, 211, 225, 225, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 227, 227, 228, 228, 229, 229, 230, 230, 231, 231, 231, 231, 231, 231, 231, 231, 232, 232, 233, 233, 233, 233, 234, 234, 234, 235, 235, 236, 236, 236, 236, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 239, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 242, 242, 242, 242, 242, 242, 243, 243, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 245, 245, 245, 245, 246, 246, 246, 246, 247, 247, 248, 248, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 250 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { 0, 2, 1, 2, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 5, 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, 4, 6, 7, 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, 3, 5, 0, 2, 3, 5, 3, 1, 1, 0, 5, 0, 2, 7, 0, 9, 6, 7, 4, 7, 8, 8, 7, 7, 11, 8, 8, 0, 9, 8, 9, 3, 4, 10, 7, 7, 8, 8, 12, 0, 9, 8, 7, 8, 0, 9, 5, 11, 5, 9, 9, 4, 9, 9, 1, 1, 0, 2, 6, 6, 6, 6, 8, 10, 14, 16, 12, 8, 8, 6, 14, 4, 6, 6, 3, 4, 5, 3, 3, 4, 4, 3, 7, 7, 3, 7, 3, 2, 2, 2, 2, 15, 2, 2, 2, 2, 6, 8, 8, 10, 1, 2, 1, 3, 4, 1, 5, 11, 13, 0, 7, 0, 13, 0, 15, 0, 6, 8, 8, 8, 12, 12, 12, 14, 14, 14, 0, 12, 0, 12, 0, 12, 0, 16, 0, 16, 0, 16, 0, 18, 0, 18, 0, 18, 1, 2, 5, 7, 9, 2, 2, 3, 2, 3, 9, 6, 0, 3, 0, 1, 0, 2, 0, 2, 7, 6, 8, 5, 3, 7, 5, 6, 6, 12, 10, 10, 10, 10, 2, 3, 6, 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, 5, 4, 4, 2, 5, 3, 6, 4, 7, 6, 6, 1, 2, 2, 3, 3, 11, 9, 7, 7, 1, 3, 1, 1, 2, 3, 4, 5, 1, 1, 2, 3, 3, 5, 4, 2, 2, 2, 2, 5, 5, 5, 5, 1, 1, 3, 4, 6, 1, 1, 3, 3, 9, 7, 1, 5, 3, 6, 1, 3, 1, 1, 3, 6, 1, 1, 4, 6, 6, 4, 4, 4, 6 }; /* YYDEFACT[STATE-NAME] -- Default 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, 202, 0, 207, 0, 0, 0, 204, 0, 0, 0, 0, 283, 284, 5, 7, 6, 8, 9, 10, 21, 11, 12, 13, 20, 19, 14, 15, 16, 17, 18, 0, 22, 351, 358, 423, 59, 352, 353, 354, 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, 424, 0, 0, 0, 0, 355, 356, 357, 63, 62, 61, 60, 0, 0, 0, 65, 64, 0, 0, 0, 0, 158, 0, 0, 0, 289, 0, 0, 0, 0, 0, 192, 0, 194, 191, 195, 196, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 0, 0, 116, 129, 141, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 370, 0, 0, 0, 0, 0, 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 158, 0, 280, 0, 0, 0, 0, 0, 358, 388, 0, 0, 0, 0, 0, 0, 0, 0, 402, 403, 381, 387, 0, 382, 0, 0, 0, 0, 413, 0, 0, 0, 0, 0, 189, 190, 0, 0, 203, 0, 158, 0, 158, 285, 0, 0, 0, 0, 0, 0, 362, 34, 423, 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, 358, 292, 291, 293, 0, 0, 0, 0, 0, 0, 0, 0, 0, 157, 0, 156, 0, 71, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 133, 0, 0, 0, 0, 92, 0, 0, 407, 408, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 262, 262, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 372, 371, 0, 0, 0, 0, 158, 158, 0, 0, 0, 0, 0, 0, 0, 217, 0, 158, 0, 0, 0, 0, 0, 264, 0, 0, 0, 176, 0, 0, 0, 281, 0, 0, 0, 0, 0, 0, 0, 394, 0, 395, 396, 397, 0, 0, 0, 0, 0, 291, 389, 383, 0, 0, 0, 270, 188, 0, 0, 0, 0, 0, 158, 0, 0, 0, 0, 205, 179, 0, 180, 0, 0, 0, 0, 0, 364, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 420, 0, 419, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 59, 0, 0, 0, 59, 0, 0, 0, 0, 0, 153, 0, 0, 0, 0, 159, 67, 0, 307, 306, 305, 304, 300, 301, 303, 302, 295, 294, 296, 297, 298, 299, 134, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 374, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 177, 0, 0, 173, 0, 0, 0, 0, 0, 404, 0, 0, 0, 0, 0, 0, 0, 0, 0, 384, 391, 0, 296, 390, 0, 0, 0, 0, 0, 0, 0, 0, 206, 0, 181, 182, 0, 0, 0, 0, 360, 366, 0, 44, 0, 0, 0, 57, 0, 35, 36, 37, 38, 39, 309, 330, 310, 331, 311, 332, 312, 333, 313, 334, 314, 335, 315, 336, 316, 337, 317, 338, 329, 350, 318, 339, 0, 0, 320, 341, 321, 342, 322, 343, 323, 344, 324, 345, 325, 346, 0, 0, 0, 0, 0, 0, 0, 0, 430, 0, 0, 428, 429, 0, 84, 0, 425, 0, 0, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 361, 0, 0, 0, 0, 0, 25, 23, 0, 0, 26, 0, 0, 66, 95, 0, 409, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 258, 263, 261, 0, 269, 0, 0, 109, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 148, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, 0, 208, 0, 0, 0, 0, 0, 0, 265, 272, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 360, 405, 393, 0, 0, 0, 0, 385, 0, 0, 0, 0, 0, 0, 0, 178, 0, 0, 0, 0, 0, 0, 286, 0, 0, 363, 0, 359, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 421, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, 0, 72, 74, 76, 0, 0, 417, 0, 82, 0, 0, 0, 0, 308, 24, 0, 0, 0, 0, 0, 0, 0, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 252, 0, 254, 0, 218, 247, 0, 0, 0, 171, 0, 0, 0, 273, 0, 175, 174, 282, 0, 0, 32, 33, 0, 398, 399, 400, 401, 392, 386, 0, 0, 0, 414, 0, 0, 0, 198, 0, 0, 0, 0, 185, 365, 184, 0, 0, 0, 0, 379, 0, 319, 340, 326, 347, 327, 348, 328, 349, 0, 431, 427, 369, 368, 426, 0, 59, 0, 0, 0, 0, 69, 0, 0, 0, 415, 0, 0, 0, 0, 27, 28, 0, 29, 0, 0, 96, 99, 115, 0, 0, 0, 0, 0, 119, 0, 0, 136, 137, 0, 0, 121, 144, 0, 0, 0, 111, 0, 266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, 158, 158, 0, 228, 0, 230, 0, 232, 0, 381, 0, 0, 253, 255, 0, 0, 212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 271, 406, 124, 125, 0, 0, 0, 0, 85, 89, 0, 0, 287, 367, 0, 40, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 79, 0, 0, 80, 0, 418, 160, 161, 162, 163, 0, 0, 97, 100, 0, 114, 122, 123, 127, 0, 0, 138, 0, 0, 268, 131, 0, 0, 259, 143, 0, 0, 0, 0, 128, 0, 139, 145, 0, 0, 0, 0, 378, 0, 377, 0, 0, 0, 219, 0, 0, 220, 0, 0, 221, 0, 0, 0, 0, 0, 0, 0, 170, 0, 0, 169, 0, 0, 0, 164, 0, 0, 0, 0, 412, 0, 200, 199, 0, 0, 0, 0, 45, 0, 0, 0, 380, 0, 0, 0, 422, 70, 75, 77, 0, 83, 0, 30, 0, 104, 104, 0, 0, 0, 0, 0, 0, 132, 117, 130, 142, 147, 0, 0, 90, 91, 158, 0, 151, 152, 0, 0, 0, 0, 0, 0, 0, 248, 0, 0, 158, 0, 0, 0, 0, 0, 155, 154, 0, 0, 0, 0, 86, 87, 0, 0, 41, 0, 0, 0, 43, 58, 0, 416, 0, 0, 0, 276, 277, 278, 279, 135, 0, 0, 0, 0, 0, 376, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 213, 0, 0, 165, 0, 0, 0, 411, 201, 0, 288, 0, 0, 0, 0, 81, 0, 0, 98, 105, 101, 0, 0, 0, 149, 0, 234, 0, 0, 236, 0, 0, 238, 0, 0, 0, 249, 0, 209, 0, 158, 0, 0, 0, 126, 88, 0, 49, 0, 55, 0, 0, 0, 112, 140, 275, 375, 222, 0, 0, 229, 223, 0, 0, 231, 224, 0, 0, 233, 0, 0, 0, 215, 0, 168, 0, 0, 0, 0, 0, 0, 0, 108, 0, 106, 0, 240, 0, 242, 0, 244, 250, 256, 214, 210, 0, 0, 0, 0, 46, 0, 53, 0, 0, 0, 407, 0, 225, 0, 0, 226, 0, 0, 227, 0, 0, 172, 0, 166, 0, 47, 0, 0, 193, 0, 107, 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 0, 0, 0, 102, 235, 0, 237, 0, 239, 0, 167, 48, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 56, 103, 241, 243, 245, 52, 54 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { -1, 2, 3, 74, 768, 75, 76, 482, 1132, 1138, 689, 879, 1289, 1444, 690, 1403, 1475, 691, 1446, 692, 693, 883, 148, 271, 77, 579, 366, 1243, 1244, 1429, 1299, 1344, 801, 1171, 1060, 554, 392, 393, 394, 395, 239, 340, 341, 80, 81, 82, 83, 84, 85, 240, 833, 1364, 1420, 628, 1193, 1196, 1199, 1383, 1387, 1391, 1433, 1436, 1439, 829, 830, 945, 798, 602, 637, 87, 88, 89, 90, 91, 92, 241, 151, 405, 204, 1017, 1018, 243, 244, 456, 251, 759, 912, 527, 528 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -1112 static const yytype_int16 yypact[] = { 4033, 42, 71, 4118, -1112, -1112, 2063, 13, -15, -63, -33, 29, 213, 219, 232, 317, -139, 104, 63, 101, 19, 175, 185, 18, 246, 252, 49, 351, 372, 426, 376, 387, 482, 395, 211, 604, 265, 305, 424, 326, 55, 55, 327, 267, 325, 420, 432, 448, 16, 35, 484, 449, 540, 543, 2220, 544, 414, 418, 431, 20, 5, -1112, 435, -1112, 578, 582, 437, -1112, 618, 619, 26, 27, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, 2, -1112, -1112, -1, 433, 423, -1112, -1112, -1112, -24, -8, 117, 221, 227, 247, 289, 318, 345, 355, 375, 413, 476, 485, 508, 524, 530, 551, 567, 570, 571, 461, 462, 488, 491, 492, -1112, 644, 504, 512, 513, -1112, -1112, -1112, -1112, -1112, -1112, -1112, 3798, 3798, 3798, -1112, -1112, 3798, 1986, 8, 668, 57, 2673, 665, 673, -1112, 679, 680, 3798, 721, 736, -1112, 3798, -1112, -1112, -1112, -1112, -1112, 3798, 3613, 3798, 3798, 598, 3798, 3613, 3798, 3798, 605, 3613, 3798, 3798, 2673, 636, 595, -1112, 640, 641, 2220, 2220, 2220, 645, -1112, -1112, -1112, -1112, 677, 694, 695, 2673, 3798, 754, 2673, 55, 55, 55, 3798, 3798, 78, -1112, 84, 55, 692, 699, 702, 3579, 183, 212, 715, 722, 730, 2220, 2673, 734, 48, 744, -1112, 884, -1112, 732, 740, 743, 761, 769, 630, -1112, 770, 28, 922, 923, 944, 346, 2824, 1905, -1112, -1112, 3708, -1112, 948, -1112, 955, 3798, 3798, 3798, 750, 3798, 776, 841, 3798, 3798, -1112, -1112, 3798, 956, -1112, 959, -1112, 970, -1112, -1112, 2673, 2673, 829, 3798, 976, 825, -1112, -1112, -1112, 981, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 329, 329, 329, 329, 329, 3798, 329, 329, 329, 714, 840, 840, 840, 6437, 74, 3613, 5678, 80, 844, 990, 850, 852, -1112, 872, 4194, 1034, -1112, -1112, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 3798, -1112, -1112, 698, -137, -124, 4976, 173, 6458, 3613, 3727, -1112, 550, 6479, 6500, 3798, 6521, 580, 6542, 6563, 3798, 606, 6584, 6605, 1043, 3798, 3798, 3798, 3798, 1047, 1058, 1058, 3798, 917, 939, 940, 941, 3798, 3798, 3798, 1066, 4896, 942, 1088, -73, -1112, -1112, 5002, 5028, 55, 55, 57, 57, -65, 3798, 3798, 3798, 3579, 3579, 3798, 4194, -19, -1112, 3798, 3798, 3798, 3798, 3798, 1089, 1090, 3798, 1097, -1112, 3798, 3798, 1180, -1112, 3613, 3613, 3613, 3798, 3798, 3355, 1049, -1112, 3798, -1112, -1112, -1112, 945, 946, 947, 950, 3613, 840, -1112, -1112, 609, 3798, 2975, -1112, -1112, 6626, 6647, 6668, 1001, 5054, -1112, 952, 3825, 6689, 5701, -1112, -1112, 1335, -1112, 1580, 960, 610, 3798, 5724, 9, 3798, 6, -1112, 6710, 5747, 6731, 5770, 6752, 5793, 6773, 5816, 6794, 5839, 6815, 5862, 6836, 5885, 6857, 5908, 6878, 5931, 6899, 5954, 6920, 5977, 5080, 5106, 6941, 6000, 6962, 6023, 6983, 6046, 7004, 6069, 7025, 6092, 7046, 6115, 5132, 5158, 5184, 5210, 5236, 5262, 627, -93, -1112, 958, 961, 964, 962, 1036, 963, 966, 965, 3798, -1112, -1112, 2673, 642, 209, 423, 3798, 1118, 1121, 21, 982, -1112, 294, 24, 23, 306, -1112, -1112, 3847, 1520, 1370, 1433, 1433, 864, 864, 864, 864, 602, 602, 840, 840, 840, 840, -1112, 11, 3613, 1125, 3613, 3798, 1130, -1112, 1136, 1134, 3613, 3613, 1033, 1137, 1139, 7067, 1141, 1041, 1145, 1147, 7088, 1050, 1148, 1149, 3798, 7109, 4224, 7130, 7151, 3798, 2673, 1154, 1156, 7172, 3758, 3758, 3758, 3758, 7193, 7214, 7235, 2673, 3613, 1004, -1112, 55, 3798, 3798, -1112, -1112, 1003, 1006, 3579, 5288, 5314, 5340, 4950, 399, 55, 1783, 7256, 4252, 7277, 7298, 7319, 3798, 1161, 3798, 7340, -1112, 6138, 6161, -1112, 643, 662, 667, 6184, 6207, -1112, 3613, 6230, 1013, 4280, 3613, 3613, 3613, 3613, 670, -1112, 3866, 3613, 840, -1112, 1176, 1177, 1183, 1035, 3798, 2097, 3798, 3798, -1112, 36, -1112, -1112, 1037, 2673, 1188, 6253, 68, -1112, 4308, -1112, 1045, 1052, 1039, -1112, 1189, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, 3798, 3798, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, 3798, 3798, 3798, 3798, 3798, 3798, 3798, 1195, -1112, 3613, 329, -1112, -1112, 329, -1112, 3798, -1112, 329, 1196, 1054, 15, 3798, 1201, 1204, 1288, -1112, 1194, 1057, 20, 1206, -1112, 3613, 3613, 3613, 3613, 3798, -1112, 1074, 329, -70, -1112, 43, 5366, -1112, 1207, 55, 3727, -1112, 1159, 2673, 2673, 1211, 2673, 826, 2673, 2673, 1212, 1162, 2673, 2673, 1592, 1215, 1216, 1217, 1219, 3922, -1112, -1112, 1221, -1112, 1222, 1075, 7571, -1112, 1091, 1094, 1098, 1234, 1236, 1245, 1247, 729, 1252, 89, 5392, 5418, -1112, -1112, 4336, -86, 55, 55, 55, 1253, 1254, 1099, 1109, 31, 32, -13, -1112, 174, -1112, 399, 1256, 1261, 1262, 1263, 1264, 7571, -1112, 2476, 1113, 1267, 1268, 1269, 1220, 3798, 1272, 1273, 737, 237, -1112, -1112, 749, 752, 756, 781, -1112, 3798, 782, 2673, 2673, 2673, 1280, 5444, -1112, 3885, 556, 1281, 1282, 2673, 1108, -1112, 1285, 1283, -1112, 1286, -1112, 1143, 3798, 3798, 2673, 1129, -1112, 7361, 6276, 7382, 6299, 7403, 6322, 7424, 6345, 6368, -1112, 70, 1140, 1146, 7445, 1150, -1112, 74, 110, 1142, 1293, 2495, -1112, -1112, -1112, 20, 3798, -1112, 786, -1112, 787, 795, 810, 813, 7571, -1112, 1295, 12, 1296, 3798, 1460, 52, 1151, 1240, 1240, 2673, 1300, 1152, 1153, 1301, 1303, 2673, 1155, 1307, 1310, -1112, 1313, 2673, 2673, 2673, 1316, 1315, -1112, 2673, 1317, 1318, 1319, 1321, 2673, 2673, 2673, -1112, 1322, 354, 3798, 3798, 3798, 1164, 1172, -76, -42, -31, 1178, -1112, 2673, 3798, -1112, 1327, -1112, 1329, -1112, -1112, 3579, 412, 2371, -1112, 1179, 1182, 3126, -1112, 3613, -1112, -1112, -1112, 1184, 2636, -1112, -1112, 1181, -1112, -1112, -1112, -1112, 7571, -1112, 1331, 1333, 1237, -1112, 3798, 3798, 3798, -1112, 1338, 411, 1187, 1340, -1112, 9, -1112, 3798, 5470, 5496, 817, -1112, 3798, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, 1193, -1112, -1112, -1112, -1112, -1112, 2673, 423, 3798, 1345, 1348, 21, -1112, 1349, 6391, 20, -1112, 1351, 1352, 1353, 1355, -1112, -1112, 329, -1112, 5522, 3758, 7571, -1112, -1112, 3798, 55, 1356, 1357, 1359, -1112, 3798, 3798, -1112, -1112, 1363, 3798, -1112, -1112, 1373, 1369, 1374, 1270, 3798, -1112, 1375, 2673, 2673, 2673, 2673, 1376, 975, 1377, 3798, -1112, 3758, 4364, 7466, 4140, 57, 57, 55, 1378, 55, 1379, 55, 1390, 3798, 380, 1241, 7487, -1112, -1112, 4392, 220, -1112, 1392, 1747, 1396, 2673, 55, 1747, 1401, 838, 3798, -1112, -1112, -1112, -1112, 2673, 4168, 417, 7508, -1112, -1112, 3428, 2673, -1112, -1112, 114, 7571, 3798, 3798, 2673, 1249, 858, 7571, 1350, 1404, 1405, 2778, -1112, 1406, 1408, -1112, 1259, -1112, -1112, -1112, -1112, -1112, 1410, 3798, 7571, -1112, 4420, 91, -1112, -1112, -1112, 4448, 4476, -1112, 4504, 1407, -1112, -1112, 1362, 1412, 7571, -1112, 1429, 1434, 1435, 1436, -1112, 1284, -1112, -1112, 4923, 2797, 1438, 1287, -1112, 3798, -1112, 1294, 1297, 249, -1112, 1299, 332, -1112, 1302, 340, -1112, 1308, 6414, 1447, 2673, 1448, 1309, 3798, -1112, 3277, 353, -1112, 861, 391, 452, -1112, 1450, 4532, 1358, 3798, -1112, 3798, -1112, -1112, 3613, 2938, 1454, 1306, -1112, 3798, 5548, 5574, -1112, 2673, 3798, 1467, -1112, -1112, -1112, -1112, 20, -1112, 1389, -1112, 5600, -1112, -1112, 1497, 1498, 1512, 1513, 1514, 1365, -1112, -1112, -1112, -1112, -1112, 2673, 3613, -1112, -1112, 57, 4196, -1112, -1112, 3579, 399, 3579, 399, 3579, 399, 1516, -1112, 862, 2673, -1112, 4560, 55, 1519, 3613, 55, -1112, -1112, 3798, 4588, 4616, 865, -1112, -1112, 1521, 1367, 7571, 3798, 3798, 866, 7571, -1112, 1522, -1112, 3798, 870, 875, -1112, -1112, -1112, -1112, -1112, 3798, 883, 886, 1383, 3798, -1112, 4644, 454, 497, 4672, 466, 557, 4700, 475, 663, -1112, 2673, 1527, 1462, 2256, 1380, 477, -1112, 887, 483, 3080, -1112, -1112, 1530, -1112, 3798, 7529, 5626, 30, -1112, 5652, 1533, -1112, -1112, -1112, 4728, 1532, 1538, -1112, 4756, 1540, 3798, 1541, 1542, 3798, 1543, 1544, 3798, 1545, 1394, -1112, 3798, -1112, 399, -1112, 3613, 1546, 3277, -1112, -1112, 891, -1112, 3798, -1112, 2673, 3798, 2522, -1112, -1112, -1112, -1112, -1112, 1398, 4784, -1112, -1112, 1399, 4812, -1112, -1112, 1400, 4840, -1112, 1549, 3099, 706, 2407, 900, -1112, 489, 901, 1555, 1403, 7550, 910, 4868, -1112, 1905, -1112, 399, 1557, 399, 1558, 399, 1559, -1112, -1112, -1112, -1112, 399, 1561, 3613, 1562, -1112, 329, -1112, 1421, 1563, 920, 3383, 788, -1112, 1426, 812, -1112, 1430, 845, -1112, 1431, 871, -1112, 921, -1112, 925, -1112, 1432, 2673, -1112, 3798, -1112, 423, 1588, 399, 1590, 399, 1591, 399, -1112, 1593, 329, 1594, 329, 929, 3402, -1112, -1112, 897, -1112, 983, -1112, 1046, -1112, -1112, -1112, 930, -1112, 1595, 423, 1598, 1599, 1600, 329, 1602, -1112, -1112, -1112, -1112, -1112, -1112, -1112 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { -1112, -1112, -1112, -1112, 688, -1112, -1112, -1112, -1112, 274, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -320, 1, -1112, -1112, -1112, -1112, -1112, -1112, 367, -1112, -509, -1112, 685, 1611, -1112, -1112, -1112, -1112, 37, -405, -208, -1112, -1112, -1112, -1112, -1112, -1112, 1612, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -737, -575, -1112, -1112, 1228, -1112, -1112, -1112, -1112, -1112, -1112, -1112, -2, -1112, 51, -1112, -1111, 588, -121, 338, 275, -728, 581, -1112, -274, -6 }; /* 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 -5 static const yytype_int16 yytable[] = { 152, 1210, 419, 267, 150, 621, 622, 149, 264, 252, 683, 540, 334, 434, 544, 163, 572, 766, 1050, 902, 219, 573, 173, 168, 249, 757, 153, 173, 168, 574, 911, 260, 262, 443, 575, 157, 1374, 970, 972, 222, 79, 223, 154, 869, 529, 530, 531, 532, 4, 534, 535, 536, 430, 473, 431, 475, 408, 409, 1057, 823, 738, 338, 388, 389, 390, 739, 408, 409, 824, 408, 409, 5, 526, 273, 962, 825, 826, 408, 409, 827, 828, 539, 1094, 921, 1095, 616, 224, 543, 582, 155, 274, 203, 205, 623, 211, 427, 977, 804, 805, 806, 408, 409, 684, 685, 686, 687, 121, 122, 123, 124, 177, 408, 409, 126, 335, 336, 1096, 1035, 1097, 156, 1293, 903, 904, 408, 409, 971, 973, 1098, 275, 1099, 276, 220, 39, 40, 41, 42, 327, 328, 329, 629, 47, 330, 333, 50, 277, 1307, 278, 974, 141, 142, 767, 767, 362, 268, 265, 269, 365, 253, 141, 142, 270, 266, 367, 369, 372, 373, 688, 375, 369, 377, 378, 169, 369, 381, 382, 221, 169, 174, 170, 250, 758, 1041, 763, 762, 339, 261, 263, 444, 158, 1375, 129, 130, 870, 400, 408, 409, 922, 199, 200, 406, 407, 582, 432, 134, 135, 136, 137, 201, 407, 134, 135, 136, 137, 630, 202, 166, 539, 141, 142, 159, 408, 409, 751, 1029, 875, 160, 408, 409, 582, 141, 142, 408, 409, 408, 409, 453, 369, 410, 161, 134, 135, 136, 137, 411, 461, 462, 463, 958, 465, 403, 404, 468, 469, 167, 975, 470, 164, 412, 669, 141, 142, 420, 187, 165, 1405, 188, 479, 1226, 189, 279, 190, 280, 1227, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 1149, 408, 409, 207, 194, 533, 208, 195, 162, 209, 408, 409, 171, 577, 212, 369, 578, 976, 526, 273, 545, 1463, 172, 134, 135, 136, 137, 421, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 141, 142, 1087, 1088, 408, 409, 422, 750, 453, 121, 122, 123, 124, 423, 586, 281, 126, 282, 213, 591, 1205, 283, 214, 284, 596, 597, 598, 599, 141, 142, 457, 604, 215, 408, 409, 875, 609, 610, 611, 448, 175, 285, 449, 286, 975, 450, 176, 451, 877, 1264, 178, 199, 200, 624, 625, 626, 327, 328, 627, 1127, 1128, 201, 631, 632, 633, 634, 635, 1219, 210, 639, 273, 179, 641, 642, 180, 181, 369, 369, 369, 647, 648, 651, 371, 287, 653, 288, 182, 376, 164, 339, 339, 380, 369, 129, 130, 761, 186, 660, 662, 196, 176, 619, 620, 121, 122, 123, 124, 764, 896, 404, 126, 897, 289, 823, 290, 899, 408, 409, 679, 216, 197, 682, 824, 681, 408, 409, 823, 198, 206, 825, 826, 217, 1266, 827, 828, 824, 920, 408, 409, 291, 1268, 292, 825, 826, 218, 370, 827, 828, 226, 293, 370, 294, 1296, 1276, 370, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 458, 357, 358, 295, 1314, 296, 1317, 359, 1320, 408, 409, 651, 183, 753, 225, 184, 1201, 185, 754, 752, 227, 129, 130, 228, 245, 1278, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1005, 297, 246, 298, 359, 823, 247, 369, 1108, 369, 772, 454, 370, 1220, 824, 662, 776, 1034, 1036, 248, 255, 825, 826, 254, 256, 827, 828, 257, 272, 790, 408, 409, 408, 409, 795, 803, 803, 803, 803, 802, 802, 802, 802, 541, 408, 409, 1279, 369, 1352, 317, 318, 814, 815, 408, 409, 408, 409, 818, 258, 259, 1355, 408, 409, 1396, 299, 823, 300, 408, 409, 1358, 839, 1366, 841, 301, 824, 302, 319, 1368, 242, 320, 321, 825, 826, 1422, 369, 827, 828, 322, 369, 369, 369, 369, 323, 1353, 191, 369, 303, 192, 304, 193, 324, 325, 865, 813, 867, 868, 370, 343, 337, 1431, 819, 1434, 305, 1437, 306, 344, 831, 876, 307, 1440, 308, 360, 361, 1189, 1190, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 309, 571, 310, 454, 359, 582, 1006, 583, 644, 645, 646, 885, 886, 1467, 1356, 1469, 311, 1471, 312, 313, 315, 314, 316, 363, 658, 887, 888, 889, 890, 891, 892, 893, 823, 342, 369, 582, 975, 588, 364, 975, 898, 824, 975, 356, 357, 358, 905, 374, 825, 826, 359, 385, 827, 828, 379, 401, 369, 369, 369, 369, 918, 582, 383, 592, 582, 677, 659, 678, 242, 242, 242, 370, 370, 370, 1154, 823, 141, 142, 736, 399, 737, 441, 402, 269, 824, 384, 147, 370, 270, 386, 387, 825, 826, 663, 391, 827, 828, 582, 582, 749, 845, 242, 428, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 582, 975, 846, 1359, 359, 582, 925, 847, 582, 396, 858, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 989, 397, 398, 769, 359, 771, 413, 876, 476, 477, 1309, 975, 997, 414, 975, 823, 415, 975, 141, 142, 975, 1418, 424, 537, 824, 269, 963, 964, 965, 425, 270, 825, 826, 1015, 1016, 827, 828, 426, 931, 823, 932, 429, 582, 811, 956, 435, 436, 975, 824, 975, 582, 975, 992, 433, 437, 825, 826, 438, 1037, 827, 828, 464, 582, 1042, 993, 582, 370, 994, 370, 582, 439, 995, 823, 1056, 663, 777, 1053, 1055, 440, 442, 850, 824, 445, 446, 854, 855, 856, 857, 825, 826, 466, 860, 827, 828, 582, 582, 996, 998, 823, 1043, 582, 1044, 1045, 1452, 447, 467, 370, 824, 582, 459, 1046, 1089, 1090, 1091, 825, 826, 460, 471, 827, 828, 472, 1101, 1103, 582, 823, 1047, 582, 1454, 1048, 1106, 1136, 474, 1137, 824, 1179, 480, 1180, 369, 478, 481, 825, 826, 483, 370, 827, 828, 359, 370, 370, 370, 370, 582, 547, 1214, 370, 546, 1123, 1124, 1125, 548, 1456, 354, 355, 356, 357, 358, 147, 1133, 1131, 895, 359, 1232, 1139, 1233, 1136, 1322, 1277, 1323, 582, 1136, 1334, 1339, 1107, 1342, 1142, 1343, 1458, 549, 1342, 1143, 1345, 914, 915, 916, 917, 555, 1136, 744, 1347, 582, 582, 1348, 1367, 1157, 1232, 595, 1402, 1156, 652, 600, 823, 1158, 1479, 582, 582, 1421, 1423, 1163, 1164, 824, 601, 1325, 1166, 1136, 605, 1427, 825, 826, 612, 1172, 827, 828, 370, 1449, 582, 1450, 1459, 1184, 1460, 1182, 1461, 1183, 1136, 1482, 1477, 1483, 606, 607, 608, 615, 614, 636, 638, 1200, 370, 370, 370, 370, 640, 654, 655, 656, 667, 369, 657, 1159, 670, 369, 676, 741, 1215, 740, 742, 823, 746, 743, 745, 1224, 747, 755, 756, 1223, 824, 748, 339, 339, 770, 1228, 1229, 825, 826, 773, 760, 827, 828, 774, 775, 778, 1480, 779, 1191, 780, 1194, 782, 1197, 783, 1445, 784, 1242, 785, 788, 789, 1397, 797, 787, 812, 1208, 799, 816, 1211, 1212, 817, 840, 852, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 861, 862, 1261, 1473, 359, 1476, 796, 863, 864, 7, 8, 873, 884, 871, 880, 882, 894, 810, 909, 900, 1275, 881, 453, 1481, 906, 1489, 901, 907, 910, 913, 919, 924, 1283, 926, 1284, 929, 935, 369, 936, 940, 941, 942, 1290, 943, 946, 948, 947, 1294, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 952, 27, 953, 949, 30, 31, 950, 33, 34, 35, 951, 954, 955, 38, 369, 957, 966, 968, 1116, 967, 969, 1312, 978, 1315, 872, 1318, 979, 1010, 980, 981, 982, 984, 985, 986, 987, 369, 988, 990, 991, 1331, 56, 57, 58, 1002, 1007, 1008, 1012, 1019, 1337, 1338, 1011, 1013, 1030, 908, 1014, 1341, 339, 1038, 1031, 1039, 1049, 1052, 1033, 1346, 1059, 1063, 1066, 1350, 1067, 1058, 1064, 1065, 1070, 1069, 1313, 1071, 1316, 1072, 1319, 1076, 1077, 370, 1092, 1079, 1080, 1081, 1327, 1082, 1086, 1330, 1093, 1100, 1104, 1139, 1105, 1119, 1120, 1112, 1121, 643, 1113, 1122, 1117, 1126, 1129, 1130, 7, 8, 1140, 1384, 1144, 1145, 1388, 1234, 1147, 1392, 1150, 1151, 1152, 1395, 1153, 1160, 1161, 369, 1162, 369, 927, 928, 1165, 930, 1404, 933, 934, 1406, 1168, 937, 938, 1167, 1170, 1169, 1173, 1178, 1181, 1192, 1195, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 1198, 27, 1206, 1202, 30, 31, 1209, 33, 34, 35, 1430, 1213, 1231, 38, 1235, 1236, 1249, 1238, 1239, 1240, 1241, 1250, 1251, 1400, 369, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1252, 56, 57, 58, 359, 1253, 1254, 1255, 1256, 1259, 1465, 1260, 1464, 370, 999, 1000, 1001, 370, 1271, 1262, 1273, 1280, 1263, 1265, 1009, 1287, 1267, 1282, 93, 326, 273, 1288, 1269, 1274, 97, 98, 99, 1485, 1295, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 674, 1297, 1285, 121, 122, 123, 124, 125, 1301, 1302, 126, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1062, 1303, 1304, 1305, 359, 1321, 1068, 1306, 1328, 1336, 1335, 1340, 1073, 1074, 1075, 1308, 1361, 1362, 1078, 1370, 1377, 1379, 1365, 1083, 1084, 1085, 1349, 1380, 454, 1382, 1385, 1386, 1389, 1390, 1393, 1399, 1329, 1394, 1416, 1102, 1410, 1412, 1414, 370, 1424, 1425, 1432, 1435, 1438, 1111, 1441, 1443, 1448, 1115, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1447, 128, 129, 130, 359, 1453, 131, 132, 133, 1455, 1457, 1462, 7, 8, 1466, 370, 1468, 1470, 939, 1472, 1474, 1484, 138, 139, 1486, 1487, 1488, 140, 1490, 1051, 1371, 1300, 143, 1061, 78, 86, 370, 146, 603, 1054, 1146, 0, 1141, 0, 0, 0, 0, 0, 0, 0, 0, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 1398, 27, 1401, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1174, 1175, 1176, 1177, 359, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 57, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1442, 0, 0, 0, 0, 0, 0, 370, 0, 370, 0, 0, 0, 1216, 0, 0, 0, 0, 0, 0, 1225, 0, 0, 0, 0, 0, 0, 1230, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 675, 0, 0, 359, 0, 0, 370, 0, 0, 0, 93, 229, 0, 0, 0, 0, 97, 98, 99, 0, 370, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 1272, 0, 0, 0, 0, 7, 8, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 0, 27, 0, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 0, 0, 0, 1324, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 56, 57, 58, 0, 0, 416, 1207, 0, 0, 0, 140, 0, 0, 0, 0, 418, 0, 0, 0, 0, 146, 0, 202, 455, 93, 229, 1360, 0, 0, 0, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 832, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 1409, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 93, 326, 50, 0, 0, 0, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 0, 0, 0, 0, 0, 128, 0, 125, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 368, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 0, 0, 0, 146, 0, 0, 455, 93, 94, 95, 0, 96, 0, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 0, 0, 0, 121, 122, 123, 124, 125, 0, 128, 126, 7, 8, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 0, 331, 0, 146, 0, 332, 0, 0, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 0, 27, 0, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 127, 0, 0, 0, 0, 0, 128, 129, 130, 0, 0, 131, 132, 133, 134, 135, 136, 137, 0, 0, 56, 57, 58, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 141, 142, 0, 143, 0, 144, 0, 145, 146, 0, 147, 93, 229, 230, 0, 0, 0, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 866, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 7, 8, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 0, 27, 0, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 56, 57, 58, 0, 0, 138, 237, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 1109, 146, 0, 238, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 1363, 0, 0, 7, 8, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 0, 27, 0, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 983, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 1040, 0, 0, 0, 0, 0, 0, 56, 57, 58, 0, 0, 138, 237, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 1407, 146, 0, 1110, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 1419, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1118, 128, 0, 0, 359, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 237, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 0, 146, 0, 1408, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 1237, 0, 0, 359, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 1258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 237, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 0, 146, 0, 238, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 1286, 128, 0, 0, 359, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 368, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 0, 146, 0, 452, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 1369, 0, 0, 359, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 1417, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 368, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 0, 146, 0, 661, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 128, 0, 0, 359, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 237, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 229, 0, 146, 0, 1114, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 93, 326, 47, 0, 0, 50, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 1451, 457, 0, 0, 0, 0, 0, 125, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 1478, 0, 0, 0, 0, 0, 0, 0, 0, 0, 416, 1207, 0, 0, 0, 140, 0, 0, 0, 0, 418, 0, 93, 326, 273, 146, 0, 202, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 0, 0, 0, 121, 122, 123, 124, 125, 0, 0, 126, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 0, 649, 0, 146, 0, 650, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 581, 357, 358, 0, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 128, 129, 130, 0, 359, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 93, 326, 0, 146, 0, 1222, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 0, 0, 93, 229, 0, 0, 0, 125, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 231, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 233, 0, 0, 234, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 39, 40, 41, 42, 43, 0, 0, 0, 47, 0, 0, 50, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 457, 0, 0, 0, 0, 416, 417, 0, 0, 0, 140, 0, 0, 0, 0, 418, 0, 0, 128, 457, 146, 0, 202, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 368, 0, 0, 0, 140, 93, 326, 273, 0, 143, 0, 97, 98, 99, 146, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 0, 0, 0, 121, 122, 123, 124, 125, 93, 326, 126, 0, 0, 0, 97, 98, 99, 0, 0, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 671, 0, 0, 0, 0, 0, 0, 125, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 458, 357, 358, 765, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 581, 357, 358, 859, 0, 0, 0, 359, 128, 129, 130, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 1004, 0, 0, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 0, 0, 0, 146, 0, 0, 0, 128, 0, 0, 0, 0, 131, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 139, 0, 0, 0, 140, 0, 0, 0, 0, 143, 0, 0, 0, 0, 146, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 944, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, -4, 1, 0, 359, -4, 0, 0, 0, 0, 0, 0, 0, -4, -4, 0, 0, 0, 0, 0, 0, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, -4, -4, 0, 0, 359, 0, 0, -4, -4, 0, -4, -4, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, 6, -4, -4, 0, 0, 0, -4, 0, 7, 8, 0, -4, -4, -4, -4, 0, 0, -4, 0, -4, 0, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 9, 10, 0, -4, -4, 0, 0, 11, 12, 0, 13, 14, 15, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 0, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 7, 8, 52, 53, 0, 0, 0, 54, 0, 0, 0, 0, 55, 56, 57, 58, 0, 0, 59, 0, 60, 0, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 0, 0, 0, 72, 73, 0, 550, 18, 19, 551, 21, 22, 552, 24, 553, 26, 0, 27, 0, 0, 30, 31, 0, 33, 34, 35, 0, 0, 0, 38, 0, 0, 0, 0, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 56, 57, 58, 1187, 0, 1188, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1217, 0, 1218, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1310, 0, 1311, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 792, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 835, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 853, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 878, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 961, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1185, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1204, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1245, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1246, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1247, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1248, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1281, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1326, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1332, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1333, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1351, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1354, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1357, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1378, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1381, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1411, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1413, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1415, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 0, 1428, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 613, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 0, 1257, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 538, 0, 0, 0, 0, 617, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 576, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 617, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 618, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 668, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 716, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 717, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 730, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 731, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 732, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 733, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 734, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 735, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 820, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 821, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 822, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 923, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 959, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 960, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1003, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1134, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1135, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1155, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1291, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1292, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1298, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1373, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 0, 0, 0, 1376, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 542, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 673, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 680, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 695, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 697, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 699, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 701, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 703, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 705, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 707, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 709, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 711, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 713, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 715, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 719, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 721, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 723, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 725, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 727, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 729, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 843, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 844, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 848, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 849, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 851, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 874, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1021, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1023, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1025, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1027, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1028, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1148, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 0, 0, 1270, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 538, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 580, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 584, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 585, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 587, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 589, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 590, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 593, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 594, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 664, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 665, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 666, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 672, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 694, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 696, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 698, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 700, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 702, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 704, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 706, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 708, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 710, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 712, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 714, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 718, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 720, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 722, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 724, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 726, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 728, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 781, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 786, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 791, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 793, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 794, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 800, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 807, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 808, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 809, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 834, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 836, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 837, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 838, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 842, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1020, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1022, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1024, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1026, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1032, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1186, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1203, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1221, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1372, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359, 0, 1426, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 0, 0, 0, 0, 359 }; static const yytype_int16 yycheck[] = { 6, 1112, 210, 4, 6, 410, 411, 6, 6, 4, 4, 331, 4, 221, 334, 154, 153, 6, 6, 4, 4, 158, 4, 4, 4, 4, 13, 4, 4, 153, 758, 5, 5, 5, 158, 6, 6, 6, 6, 4, 3, 6, 57, 7, 318, 319, 320, 321, 6, 323, 324, 325, 4, 261, 6, 263, 142, 143, 6, 72, 153, 4, 183, 184, 185, 158, 142, 143, 81, 142, 143, 0, 4, 5, 160, 88, 89, 142, 143, 92, 93, 7, 158, 153, 160, 158, 51, 7, 158, 152, 96, 40, 41, 158, 43, 216, 833, 606, 607, 608, 142, 143, 96, 97, 98, 99, 38, 39, 40, 41, 61, 142, 143, 45, 106, 107, 158, 7, 160, 152, 1231, 106, 107, 142, 143, 94, 94, 158, 152, 160, 154, 115, 75, 76, 77, 78, 138, 139, 140, 158, 83, 143, 144, 86, 152, 1256, 154, 160, 149, 150, 139, 139, 154, 154, 152, 156, 158, 152, 149, 150, 161, 159, 164, 165, 166, 167, 160, 169, 170, 171, 172, 152, 174, 175, 176, 159, 152, 159, 159, 159, 159, 909, 159, 159, 147, 159, 159, 159, 159, 159, 122, 123, 156, 195, 142, 143, 153, 142, 143, 201, 202, 158, 154, 129, 130, 131, 132, 152, 210, 129, 130, 131, 132, 421, 159, 152, 7, 149, 150, 6, 142, 143, 542, 153, 156, 6, 142, 143, 158, 149, 150, 142, 143, 142, 143, 237, 238, 159, 6, 129, 130, 131, 132, 159, 246, 247, 248, 158, 250, 198, 199, 253, 254, 152, 829, 257, 152, 206, 466, 149, 150, 210, 51, 159, 1375, 54, 268, 153, 57, 152, 59, 154, 158, 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, 1043, 142, 143, 51, 54, 322, 54, 57, 6, 57, 142, 143, 152, 155, 4, 332, 158, 158, 4, 5, 334, 1447, 152, 129, 130, 131, 132, 159, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 149, 150, 6, 7, 142, 143, 152, 156, 368, 38, 39, 40, 41, 159, 374, 152, 45, 154, 51, 379, 158, 152, 55, 154, 384, 385, 386, 387, 149, 150, 8, 391, 65, 142, 143, 156, 396, 397, 398, 51, 152, 152, 54, 154, 977, 57, 152, 59, 680, 158, 57, 142, 143, 413, 414, 415, 416, 417, 418, 6, 7, 152, 422, 423, 424, 425, 426, 8, 159, 429, 5, 57, 432, 433, 6, 57, 436, 437, 438, 439, 440, 441, 165, 152, 444, 154, 57, 170, 152, 410, 411, 174, 452, 122, 123, 159, 59, 457, 458, 152, 152, 408, 409, 38, 39, 40, 41, 159, 740, 416, 45, 743, 152, 72, 154, 747, 142, 143, 478, 57, 54, 481, 81, 480, 142, 143, 72, 159, 159, 88, 89, 57, 158, 92, 93, 81, 768, 142, 143, 152, 158, 154, 88, 89, 54, 165, 92, 93, 57, 152, 170, 154, 1238, 158, 174, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 152, 1265, 154, 1267, 151, 1269, 142, 143, 537, 54, 543, 54, 57, 160, 59, 544, 542, 4, 122, 123, 4, 4, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 8, 152, 152, 154, 151, 72, 152, 573, 160, 575, 576, 237, 238, 160, 81, 581, 582, 901, 902, 152, 6, 88, 89, 152, 6, 92, 93, 154, 159, 595, 142, 143, 142, 143, 600, 605, 606, 607, 608, 605, 606, 607, 608, 332, 142, 143, 158, 613, 158, 152, 152, 617, 618, 142, 143, 142, 143, 623, 4, 4, 158, 142, 143, 1364, 152, 72, 154, 142, 143, 158, 636, 158, 638, 152, 81, 154, 152, 158, 54, 152, 152, 88, 89, 158, 650, 92, 93, 7, 654, 655, 656, 657, 152, 160, 54, 661, 152, 57, 154, 59, 152, 152, 668, 616, 670, 671, 332, 6, 4, 1410, 623, 1412, 152, 1414, 154, 6, 629, 680, 152, 1420, 154, 6, 6, 1092, 1093, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 152, 6, 154, 368, 151, 158, 153, 160, 436, 437, 438, 716, 717, 1453, 160, 1455, 152, 1457, 154, 152, 152, 154, 154, 5, 452, 730, 731, 732, 733, 734, 735, 736, 72, 148, 739, 158, 1314, 160, 5, 1317, 745, 81, 1320, 144, 145, 146, 751, 152, 88, 89, 151, 159, 92, 93, 152, 4, 761, 762, 763, 764, 765, 158, 177, 160, 158, 158, 160, 160, 183, 184, 185, 436, 437, 438, 1051, 72, 149, 150, 154, 194, 156, 154, 197, 156, 81, 152, 159, 452, 161, 152, 152, 88, 89, 458, 152, 92, 93, 158, 158, 160, 160, 216, 217, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 158, 1396, 160, 160, 151, 158, 775, 160, 158, 152, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 847, 152, 152, 573, 151, 575, 159, 851, 265, 266, 1260, 1431, 859, 159, 1434, 72, 159, 1437, 149, 150, 1440, 160, 152, 154, 81, 156, 820, 821, 822, 152, 161, 88, 89, 880, 881, 92, 93, 152, 57, 72, 59, 152, 158, 613, 160, 6, 159, 1467, 81, 1469, 158, 1471, 160, 154, 159, 88, 89, 159, 902, 92, 93, 156, 158, 910, 160, 158, 573, 160, 575, 158, 154, 160, 72, 924, 581, 582, 923, 924, 154, 154, 650, 81, 5, 5, 654, 655, 656, 657, 88, 89, 159, 661, 92, 93, 158, 158, 160, 160, 72, 158, 158, 160, 160, 160, 5, 109, 613, 81, 158, 6, 160, 958, 959, 960, 88, 89, 6, 6, 92, 93, 6, 968, 969, 158, 72, 160, 158, 160, 160, 976, 158, 6, 160, 81, 4, 4, 6, 984, 154, 159, 88, 89, 6, 650, 92, 93, 151, 654, 655, 656, 657, 158, 7, 160, 661, 156, 1003, 1004, 1005, 154, 160, 142, 143, 144, 145, 146, 159, 1014, 1012, 739, 151, 158, 1019, 160, 158, 158, 160, 160, 158, 158, 160, 160, 976, 158, 1035, 160, 160, 160, 158, 1036, 160, 761, 762, 763, 764, 6, 158, 6, 160, 158, 158, 160, 160, 1054, 158, 7, 160, 1054, 4, 7, 72, 1058, 160, 158, 158, 160, 160, 1064, 1065, 81, 7, 1274, 1069, 158, 152, 160, 88, 89, 7, 1076, 92, 93, 739, 158, 158, 160, 160, 1088, 158, 1086, 160, 1088, 158, 158, 160, 160, 152, 152, 152, 6, 153, 7, 7, 1100, 761, 762, 763, 764, 6, 159, 159, 159, 106, 1110, 159, 1059, 159, 1114, 153, 153, 1117, 158, 153, 72, 153, 158, 158, 1128, 158, 6, 4, 1128, 81, 540, 1092, 1093, 6, 1134, 1135, 88, 89, 6, 155, 92, 93, 4, 7, 109, 160, 7, 1094, 7, 1096, 7, 1098, 109, 1425, 7, 1155, 7, 7, 7, 1365, 4, 109, 156, 1110, 6, 160, 1113, 1114, 160, 6, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 7, 7, 1187, 1460, 151, 1462, 601, 7, 156, 12, 13, 6, 6, 159, 152, 159, 4, 612, 7, 6, 1205, 152, 1207, 160, 6, 1482, 155, 6, 154, 6, 139, 7, 1217, 57, 1219, 7, 7, 1222, 59, 7, 7, 7, 1227, 7, 6, 153, 7, 1232, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 7, 62, 7, 153, 65, 66, 153, 68, 69, 70, 153, 7, 6, 74, 1257, 4, 4, 159, 984, 6, 152, 1264, 7, 1266, 677, 1268, 6, 160, 7, 7, 7, 159, 6, 6, 6, 1278, 57, 6, 6, 1282, 101, 102, 103, 4, 4, 4, 4, 159, 1291, 1292, 6, 6, 153, 6, 152, 1298, 1260, 156, 153, 7, 6, 6, 153, 1306, 65, 6, 6, 1310, 6, 159, 159, 159, 6, 159, 1264, 6, 1266, 5, 1268, 4, 6, 984, 159, 7, 7, 7, 1276, 7, 7, 1279, 159, 154, 6, 1336, 6, 155, 6, 159, 6, 160, 159, 105, 159, 6, 158, 6, 12, 13, 156, 1352, 6, 4, 1355, 4, 6, 1358, 6, 6, 6, 1362, 6, 6, 6, 1366, 6, 1368, 779, 780, 6, 782, 1373, 784, 785, 1376, 6, 788, 789, 5, 109, 6, 6, 6, 6, 6, 6, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 6, 62, 6, 158, 65, 66, 6, 68, 69, 70, 1408, 6, 159, 74, 6, 6, 5, 7, 6, 156, 6, 55, 6, 1368, 1422, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 6, 101, 102, 103, 151, 6, 6, 6, 159, 6, 1451, 159, 1449, 1110, 861, 862, 863, 1114, 6, 160, 7, 6, 160, 159, 871, 6, 159, 104, 3, 4, 5, 160, 159, 159, 9, 10, 11, 1478, 6, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 160, 107, 1222, 38, 39, 40, 41, 42, 6, 6, 45, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 929, 6, 6, 6, 151, 6, 935, 159, 6, 159, 6, 6, 941, 942, 943, 1257, 6, 72, 947, 6, 4, 6, 159, 952, 953, 954, 160, 6, 1207, 6, 6, 6, 6, 6, 6, 6, 1278, 160, 6, 968, 159, 159, 159, 1222, 6, 159, 6, 6, 6, 978, 6, 6, 6, 982, 138, 139, 140, 141, 142, 143, 144, 145, 146, 159, 121, 122, 123, 151, 159, 126, 127, 128, 159, 159, 159, 12, 13, 6, 1257, 6, 6, 6, 6, 6, 6, 142, 143, 6, 6, 6, 147, 6, 921, 1336, 1244, 152, 928, 3, 3, 1278, 157, 390, 159, 1039, -1, 1034, -1, -1, -1, -1, -1, -1, -1, -1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 1366, 62, 1368, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 1079, 1080, 1081, 1082, 151, -1, -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1422, -1, -1, -1, -1, -1, -1, 1366, -1, 1368, -1, -1, -1, 1122, -1, -1, -1, -1, -1, -1, 1129, -1, -1, -1, -1, -1, -1, 1136, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 160, -1, -1, 151, -1, -1, 1408, -1, -1, -1, 3, 4, -1, -1, -1, -1, 9, 10, 11, -1, 1422, 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, 42, 1202, -1, -1, -1, -1, 12, 13, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, -1, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, -1, -1, -1, 1273, -1, -1, -1, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, -1, -1, 157, -1, 159, 160, 3, 4, 1322, -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, 160, -1, -1, -1, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, 1377, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 3, 4, 86, -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, 121, -1, 42, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, -1, -1, 157, -1, -1, 160, 3, 4, 5, -1, 7, -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, 38, 39, 40, 41, 42, -1, 121, 45, 12, 13, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, 155, -1, 157, -1, 159, -1, -1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, -1, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, -1, -1, -1, -1, -1, -1, 115, -1, -1, -1, -1, -1, 121, 122, 123, -1, -1, 126, 127, 128, 129, 130, 131, 132, -1, -1, 101, 102, 103, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, 149, 150, -1, 152, -1, 154, -1, 156, 157, -1, 159, 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, 160, -1, -1, -1, -1, 42, -1, -1, -1, -1, -1, 12, 13, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, -1, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, 5, 157, -1, 159, 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, 42, -1, -1, 160, -1, -1, 12, 13, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, -1, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, 6, -1, -1, -1, -1, -1, -1, 101, 102, 103, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, 5, 157, -1, 159, 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, 42, -1, -1, 160, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 6, 121, -1, -1, 151, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, -1, -1, -1, -1, -1, -1, -1, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 6, -1, -1, 151, -1, -1, -1, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 6, 121, -1, -1, 151, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, -1, -1, -1, -1, -1, -1, -1, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 6, -1, -1, 151, -1, -1, -1, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 121, -1, -1, 151, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, 3, 4, 83, -1, -1, 86, 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, 7, 8, -1, -1, -1, -1, -1, 42, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, 7, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, 5, 157, -1, 159, 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, -1, -1, 45, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, 155, -1, 157, -1, 159, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 121, 122, 123, -1, 151, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, 3, 4, -1, 157, -1, 159, 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, 3, 4, -1, -1, -1, 42, 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, 42, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, 54, -1, -1, 57, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, -1, -1, -1, -1, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, -1, -1, 86, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, 8, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, 121, 8, 157, -1, 159, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, 3, 4, 5, -1, 152, -1, 9, 10, 11, 157, -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, 3, 4, 45, -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, 8, -1, -1, -1, -1, -1, -1, 42, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 8, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 8, -1, -1, -1, 151, 121, 122, 123, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, 8, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, -1, -1, 157, -1, -1, -1, 121, -1, -1, -1, -1, 126, 127, 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 142, 143, -1, -1, -1, 147, -1, -1, -1, -1, 152, -1, -1, -1, -1, 157, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 72, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 0, 1, -1, 151, 4, -1, -1, -1, -1, -1, -1, -1, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 36, 37, -1, -1, 151, -1, -1, 43, 44, -1, 46, 47, 48, -1, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, -1, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 4, 90, 91, -1, -1, -1, 95, -1, 12, 13, -1, 100, 101, 102, 103, -1, -1, 106, -1, 108, -1, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 36, 37, -1, 124, 125, -1, -1, 43, 44, -1, 46, 47, 48, -1, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, -1, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 12, 13, 90, 91, -1, -1, -1, 95, -1, -1, -1, -1, 100, 101, 102, 103, -1, -1, 106, -1, 108, -1, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, -1, -1, -1, 124, 125, -1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, -1, 62, -1, -1, 65, 66, -1, 68, 69, 70, -1, -1, -1, 74, -1, -1, -1, -1, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 101, 102, 103, 158, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, -1, 160, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, 159, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, -1, 159, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, -1, -1, -1, 158, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, -1, -1, 155, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151, -1, 153, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, -1, -1, 151 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { 0, 1, 163, 164, 6, 0, 4, 12, 13, 36, 37, 43, 44, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 90, 91, 95, 100, 101, 102, 103, 106, 108, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 124, 125, 165, 167, 168, 186, 197, 202, 205, 206, 207, 208, 209, 210, 211, 231, 232, 233, 234, 235, 236, 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, 45, 115, 121, 122, 123, 126, 127, 128, 129, 130, 131, 132, 142, 143, 147, 149, 150, 152, 154, 156, 157, 159, 184, 185, 237, 238, 250, 13, 57, 152, 152, 6, 159, 6, 6, 6, 6, 154, 152, 159, 152, 152, 4, 152, 159, 152, 152, 4, 159, 152, 152, 61, 57, 57, 6, 57, 57, 54, 57, 59, 59, 51, 54, 57, 59, 54, 57, 59, 54, 57, 152, 54, 159, 142, 143, 152, 159, 239, 240, 239, 159, 51, 54, 57, 159, 239, 4, 51, 55, 65, 57, 57, 54, 4, 115, 159, 4, 6, 51, 54, 57, 4, 4, 4, 5, 35, 51, 54, 57, 59, 69, 143, 159, 202, 211, 237, 242, 243, 244, 4, 152, 152, 152, 4, 159, 246, 4, 152, 152, 6, 6, 154, 4, 4, 5, 159, 5, 159, 6, 152, 159, 4, 154, 156, 161, 185, 159, 5, 250, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 154, 152, 152, 152, 152, 152, 7, 152, 152, 152, 4, 237, 237, 237, 237, 155, 159, 237, 4, 106, 107, 4, 4, 202, 203, 204, 242, 6, 6, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 151, 6, 6, 237, 5, 5, 237, 188, 237, 143, 237, 244, 245, 237, 237, 152, 237, 245, 237, 237, 152, 245, 237, 237, 242, 152, 159, 152, 152, 243, 243, 243, 152, 198, 199, 200, 201, 152, 152, 152, 242, 237, 4, 242, 239, 239, 239, 237, 237, 142, 143, 159, 159, 239, 159, 159, 159, 142, 143, 152, 204, 239, 159, 152, 159, 152, 152, 152, 243, 242, 152, 4, 6, 154, 154, 204, 6, 159, 159, 159, 154, 154, 154, 154, 5, 159, 5, 5, 5, 51, 54, 57, 59, 159, 237, 244, 160, 245, 8, 144, 6, 6, 237, 237, 237, 156, 237, 159, 109, 237, 237, 237, 6, 6, 204, 6, 204, 242, 242, 154, 237, 4, 159, 169, 6, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 4, 249, 250, 249, 249, 249, 249, 237, 249, 249, 249, 154, 153, 7, 184, 245, 155, 7, 184, 185, 156, 7, 154, 160, 51, 54, 57, 59, 197, 6, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 6, 153, 158, 153, 158, 158, 155, 158, 187, 153, 144, 158, 160, 153, 153, 237, 153, 160, 153, 153, 237, 160, 153, 153, 7, 237, 237, 237, 237, 7, 7, 229, 229, 237, 152, 152, 152, 152, 237, 237, 237, 7, 159, 153, 6, 158, 158, 158, 239, 239, 203, 203, 158, 237, 237, 237, 237, 215, 158, 204, 237, 237, 237, 237, 237, 7, 230, 7, 237, 6, 237, 237, 160, 245, 245, 245, 237, 237, 155, 159, 237, 4, 237, 159, 159, 159, 159, 245, 160, 237, 159, 237, 244, 153, 153, 153, 106, 158, 204, 159, 8, 153, 155, 160, 160, 153, 158, 160, 237, 155, 185, 237, 4, 96, 97, 98, 99, 160, 172, 176, 179, 181, 182, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 158, 158, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 153, 155, 158, 158, 158, 158, 158, 158, 154, 156, 153, 158, 158, 153, 153, 158, 6, 158, 153, 158, 242, 160, 156, 184, 185, 250, 237, 6, 4, 4, 159, 247, 155, 159, 159, 159, 159, 8, 6, 139, 166, 245, 6, 245, 237, 6, 4, 7, 237, 244, 109, 7, 7, 153, 7, 109, 7, 7, 153, 109, 7, 7, 237, 153, 160, 153, 153, 237, 242, 4, 228, 6, 153, 194, 237, 250, 194, 194, 194, 153, 153, 153, 242, 245, 156, 239, 237, 237, 160, 160, 237, 239, 158, 158, 158, 72, 81, 88, 89, 92, 93, 225, 226, 239, 160, 212, 153, 160, 153, 153, 153, 237, 6, 237, 153, 155, 155, 160, 160, 160, 155, 155, 245, 155, 155, 160, 245, 245, 245, 245, 160, 8, 245, 7, 7, 7, 156, 237, 160, 237, 237, 7, 156, 159, 242, 6, 155, 156, 185, 249, 160, 173, 152, 152, 159, 183, 6, 237, 237, 237, 237, 237, 237, 237, 237, 237, 4, 245, 249, 249, 237, 249, 6, 155, 4, 106, 107, 237, 6, 6, 6, 7, 154, 246, 248, 6, 245, 245, 245, 245, 237, 139, 249, 153, 153, 158, 7, 239, 57, 242, 242, 7, 242, 57, 59, 242, 242, 7, 59, 242, 242, 6, 7, 7, 7, 7, 72, 227, 6, 7, 153, 153, 153, 153, 7, 7, 7, 6, 160, 4, 158, 158, 158, 160, 160, 239, 239, 239, 4, 6, 159, 152, 6, 94, 6, 94, 160, 226, 158, 225, 7, 6, 7, 7, 7, 6, 159, 6, 6, 6, 57, 237, 6, 6, 160, 160, 160, 160, 160, 237, 160, 242, 242, 242, 4, 158, 8, 8, 153, 4, 4, 242, 160, 6, 4, 6, 152, 237, 237, 241, 242, 159, 153, 155, 153, 155, 153, 155, 153, 155, 155, 153, 153, 153, 153, 153, 184, 7, 184, 185, 156, 7, 6, 246, 237, 158, 160, 160, 160, 160, 160, 6, 6, 166, 6, 237, 159, 237, 250, 6, 159, 65, 196, 196, 242, 6, 159, 159, 6, 6, 242, 159, 6, 6, 5, 242, 242, 242, 4, 6, 242, 7, 7, 7, 7, 242, 242, 242, 7, 6, 7, 237, 237, 237, 159, 159, 158, 160, 158, 160, 158, 160, 154, 237, 242, 237, 6, 6, 237, 239, 160, 5, 159, 242, 159, 159, 159, 242, 245, 159, 6, 155, 6, 6, 105, 237, 237, 237, 6, 6, 7, 158, 6, 185, 170, 237, 158, 158, 158, 160, 171, 237, 156, 242, 250, 237, 6, 4, 247, 6, 155, 246, 6, 6, 6, 6, 249, 158, 237, 250, 237, 239, 6, 6, 6, 237, 237, 6, 237, 5, 6, 6, 109, 195, 237, 6, 242, 242, 242, 242, 6, 4, 6, 6, 237, 237, 250, 160, 153, 158, 160, 203, 203, 239, 6, 216, 239, 6, 217, 239, 6, 218, 237, 160, 158, 153, 160, 158, 6, 143, 239, 6, 241, 239, 239, 6, 160, 237, 242, 158, 160, 8, 160, 153, 159, 237, 250, 242, 153, 158, 237, 237, 242, 159, 158, 160, 4, 6, 6, 6, 7, 6, 156, 6, 237, 189, 190, 160, 160, 160, 160, 5, 55, 6, 6, 6, 6, 6, 159, 159, 6, 6, 159, 237, 160, 160, 158, 159, 158, 159, 158, 159, 155, 6, 242, 7, 159, 237, 158, 160, 158, 158, 6, 160, 104, 237, 237, 245, 6, 6, 160, 174, 237, 158, 158, 241, 237, 6, 246, 107, 158, 192, 192, 6, 6, 6, 6, 6, 159, 241, 245, 203, 158, 160, 237, 239, 225, 237, 239, 225, 237, 239, 225, 6, 158, 160, 242, 204, 160, 239, 6, 245, 239, 237, 160, 160, 160, 6, 159, 237, 237, 160, 6, 237, 158, 160, 193, 160, 237, 160, 160, 160, 237, 160, 158, 160, 160, 158, 160, 160, 158, 160, 242, 6, 72, 160, 213, 159, 158, 160, 158, 6, 6, 171, 153, 158, 6, 159, 158, 4, 160, 6, 6, 160, 6, 219, 237, 6, 6, 220, 237, 6, 6, 221, 237, 6, 160, 237, 225, 204, 245, 6, 239, 245, 160, 177, 237, 241, 237, 5, 159, 242, 159, 160, 159, 160, 159, 160, 6, 6, 160, 160, 214, 160, 158, 160, 6, 159, 153, 160, 160, 191, 237, 225, 6, 222, 225, 6, 223, 225, 6, 224, 225, 6, 245, 6, 175, 249, 180, 159, 6, 158, 160, 7, 160, 159, 160, 159, 160, 159, 160, 160, 158, 160, 159, 241, 237, 250, 6, 225, 6, 225, 6, 225, 6, 249, 6, 178, 249, 160, 7, 160, 160, 160, 158, 160, 6, 250, 6, 6, 6, 249, 6 }; #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) #define YYEOF 0 #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab #define YYERROR goto yyerrorlab /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. However, YYFAIL appears to be in use. Nevertheless, it is formally deprecated in Bison 2.4.2's NEWS entry, where a plan to phase it out is discussed. */ #define YYFAIL goto yyerrlab #if defined YYFAIL /* This is here to suppress warnings from the GCC cpp's -Wunused-macros. Normally we don't worry about that warning, but some users do, and we want to make it easy for users to remove YYFAIL uses, which will produce warnings from Bison 2.5. */ #endif #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ 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 *yybottom, yytype_int16 *yytop) #else static void yy_stack_print (yybottom, yytop) yytype_int16 *yybottom; yytype_int16 *yytop; #endif { YYFPRINTF (stderr, "Stack now"); for (; yybottom <= yytop; yybottom++) { int yybot = *yybottom; YYFPRINTF (stderr, " %d", yybot); } 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++) { YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], &(yyvsp[(yyi + 1) - (yynrhs)]) ); YYFPRINTF (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 lookahead symbol. */ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ int yynerrs; /*-------------------------. | yyparse or yypush_parse. | `-------------------------*/ #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; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* The stacks and their tools: `yyss': related to states. `yyvs': related to semantic values. Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ yytype_int16 yyssa[YYINITDEPTH]; yytype_int16 *yyss; yytype_int16 *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs; YYSTYPE *yyvsp; YYSIZE_T yystacksize; int yyn; int yyresult; /* Lookahead token as an internal (translated) token number. */ int yytoken; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; #if YYERROR_VERBOSE /* Buffer for error messages, and its allocated size. */ char yymsgbuf[128]; char *yymsg = yymsgbuf; YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) /* The number of symbols on the RHS of the reduced rule. Keep to zero when no symbol should be popped. */ int yylen = 0; yytoken = 0; yyss = yyssa; yyvs = yyvsa; yystacksize = YYINITDEPTH; 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_alloc, yyss); YYSTACK_RELOCATE (yyvs_alloc, 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)); if (yystate == YYFINAL) YYACCEPT; goto yybackup; /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. Read a lookahead token if we need one and don't already have one. */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead 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; } /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; /* Shift the lookahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the shifted token. */ 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 1464 of yacc.c */ #line 164 "Gmsh.y" { yyerrok; return 1; ;} break; case 6: /* Line 1464 of yacc.c */ #line 175 "Gmsh.y" { return 1; ;} break; case 7: /* Line 1464 of yacc.c */ #line 176 "Gmsh.y" { return 1; ;} break; case 8: /* Line 1464 of yacc.c */ #line 177 "Gmsh.y" { return 1; ;} break; case 9: /* Line 1464 of yacc.c */ #line 178 "Gmsh.y" { return 1; ;} break; case 10: /* Line 1464 of yacc.c */ #line 179 "Gmsh.y" { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} break; case 11: /* Line 1464 of yacc.c */ #line 180 "Gmsh.y" { return 1; ;} break; case 12: /* Line 1464 of yacc.c */ #line 181 "Gmsh.y" { return 1; ;} break; case 13: /* Line 1464 of yacc.c */ #line 182 "Gmsh.y" { return 1; ;} break; case 14: /* Line 1464 of yacc.c */ #line 183 "Gmsh.y" { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} break; case 15: /* Line 1464 of yacc.c */ #line 184 "Gmsh.y" { return 1; ;} break; case 16: /* Line 1464 of yacc.c */ #line 185 "Gmsh.y" { return 1; ;} break; case 17: /* Line 1464 of yacc.c */ #line 186 "Gmsh.y" { return 1; ;} break; case 18: /* Line 1464 of yacc.c */ #line 187 "Gmsh.y" { return 1; ;} break; case 19: /* Line 1464 of yacc.c */ #line 188 "Gmsh.y" { return 1; ;} break; case 20: /* Line 1464 of yacc.c */ #line 189 "Gmsh.y" { return 1; ;} break; case 21: /* Line 1464 of yacc.c */ #line 190 "Gmsh.y" { return 1; ;} break; case 22: /* Line 1464 of yacc.c */ #line 191 "Gmsh.y" { return 1; ;} break; case 23: /* Line 1464 of yacc.c */ #line 196 "Gmsh.y" { (yyval.c) = (char*)"w"; ;} break; case 24: /* Line 1464 of yacc.c */ #line 200 "Gmsh.y" { (yyval.c) = (char*)"a"; ;} break; case 25: /* Line 1464 of yacc.c */ #line 207 "Gmsh.y" { Msg::Direct((yyvsp[(3) - (5)].c)); Free((yyvsp[(3) - (5)].c)); ;} break; case 26: /* Line 1464 of yacc.c */ #line 212 "Gmsh.y" { Msg::Error((yyvsp[(3) - (5)].c)); Free((yyvsp[(3) - (5)].c)); ;} break; case 27: /* Line 1464 of yacc.c */ #line 217 "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 28: /* Line 1464 of yacc.c */ #line 231 "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 29: /* Line 1464 of yacc.c */ #line 244 "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 30: /* Line 1464 of yacc.c */ #line 257 "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 31: /* Line 1464 of yacc.c */ #line 285 "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 32: /* Line 1464 of yacc.c */ #line 299 "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 33: /* Line 1464 of yacc.c */ #line 310 "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 34: /* Line 1464 of yacc.c */ #line 324 "Gmsh.y" { #if defined(HAVE_POST) ViewData = new PViewDataList(); #endif ;} break; case 40: /* Line 1464 of yacc.c */ #line 338 "Gmsh.y" { ViewCoord.push_back((yyvsp[(1) - (1)].d)); ;} break; case 41: /* Line 1464 of yacc.c */ #line 340 "Gmsh.y" { ViewCoord.push_back((yyvsp[(3) - (3)].d)); ;} break; case 42: /* Line 1464 of yacc.c */ #line 345 "Gmsh.y" { if(ViewValueList) ViewValueList->push_back((yyvsp[(1) - (1)].d)); ;} break; case 43: /* Line 1464 of yacc.c */ #line 347 "Gmsh.y" { if(ViewValueList) ViewValueList->push_back((yyvsp[(3) - (3)].d)); ;} break; case 44: /* Line 1464 of yacc.c */ #line 352 "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 45: /* Line 1464 of yacc.c */ #line 456 "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 46: /* Line 1464 of yacc.c */ #line 466 "Gmsh.y" { #if defined(HAVE_POST) if(ViewValueList) (*ViewNumList)++; #endif ;} break; case 47: /* Line 1464 of yacc.c */ #line 475 "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 48: /* Line 1464 of yacc.c */ #line 482 "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 49: /* Line 1464 of yacc.c */ #line 492 "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 50: /* Line 1464 of yacc.c */ #line 501 "Gmsh.y" { #if defined(HAVE_POST) ViewData->NbT2++; #endif ;} break; case 51: /* Line 1464 of yacc.c */ #line 510 "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 52: /* Line 1464 of yacc.c */ #line 517 "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 53: /* Line 1464 of yacc.c */ #line 527 "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 54: /* Line 1464 of yacc.c */ #line 535 "Gmsh.y" { #if defined(HAVE_POST) ViewData->NbT3++; #endif ;} break; case 55: /* Line 1464 of yacc.c */ #line 545 "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 56: /* Line 1464 of yacc.c */ #line 564 "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 57: /* Line 1464 of yacc.c */ #line 583 "Gmsh.y" { #if defined(HAVE_POST) ViewValueList = &ViewData->Time; #endif ;} break; case 58: /* Line 1464 of yacc.c */ #line 589 "Gmsh.y" { ;} break; case 59: /* Line 1464 of yacc.c */ #line 596 "Gmsh.y" { (yyval.i) = 0; ;} break; case 60: /* Line 1464 of yacc.c */ #line 597 "Gmsh.y" { (yyval.i) = 1; ;} break; case 61: /* Line 1464 of yacc.c */ #line 598 "Gmsh.y" { (yyval.i) = 2; ;} break; case 62: /* Line 1464 of yacc.c */ #line 599 "Gmsh.y" { (yyval.i) = 3; ;} break; case 63: /* Line 1464 of yacc.c */ #line 600 "Gmsh.y" { (yyval.i) = 4; ;} break; case 64: /* Line 1464 of yacc.c */ #line 604 "Gmsh.y" { (yyval.i) = 1; ;} break; case 65: /* Line 1464 of yacc.c */ #line 605 "Gmsh.y" { (yyval.i) = -1; ;} break; case 67: /* Line 1464 of yacc.c */ #line 614 "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 68: /* Line 1464 of yacc.c */ #line 677 "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 69: /* Line 1464 of yacc.c */ #line 707 "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 1464 of yacc.c */ #line 740 "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 1464 of yacc.c */ #line 786 "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 72: /* Line 1464 of yacc.c */ #line 801 "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 73: /* Line 1464 of yacc.c */ #line 817 "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 74: /* Line 1464 of yacc.c */ #line 826 "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 75: /* Line 1464 of yacc.c */ #line 832 "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 76: /* Line 1464 of yacc.c */ #line 841 "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 77: /* Line 1464 of yacc.c */ #line 859 "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 78: /* Line 1464 of yacc.c */ #line 877 "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 79: /* Line 1464 of yacc.c */ #line 886 "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 80: /* Line 1464 of yacc.c */ #line 898 "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 81: /* Line 1464 of yacc.c */ #line 903 "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 82: /* Line 1464 of yacc.c */ #line 911 "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 83: /* Line 1464 of yacc.c */ #line 931 "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 84: /* Line 1464 of yacc.c */ #line 954 "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 85: /* Line 1464 of yacc.c */ #line 965 "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 86: /* Line 1464 of yacc.c */ #line 973 "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 87: /* Line 1464 of yacc.c */ #line 995 "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 88: /* Line 1464 of yacc.c */ #line 1018 "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 89: /* Line 1464 of yacc.c */ #line 1044 "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 90: /* Line 1464 of yacc.c */ #line 1065 "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 91: /* Line 1464 of yacc.c */ #line 1077 "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 95: /* Line 1464 of yacc.c */ #line 1095 "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 96: /* Line 1464 of yacc.c */ #line 1106 "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 97: /* Line 1464 of yacc.c */ #line 1117 "Gmsh.y" { floatOptions.clear(); charOptions.clear(); ;} break; case 98: /* Line 1464 of yacc.c */ #line 1119 "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 99: /* Line 1464 of yacc.c */ #line 1129 "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 100: /* Line 1464 of yacc.c */ #line 1140 "Gmsh.y" { floatOptions.clear(); charOptions.clear(); ;} break; case 101: /* Line 1464 of yacc.c */ #line 1142 "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 102: /* Line 1464 of yacc.c */ #line 1155 "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 103: /* Line 1464 of yacc.c */ #line 1161 "Gmsh.y" { doubleXstring v = {(yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].c)}; List_Add((yyval.l), &v); ;} break; case 106: /* Line 1464 of yacc.c */ #line 1173 "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 107: /* Line 1464 of yacc.c */ #line 1184 "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 108: /* Line 1464 of yacc.c */ #line 1199 "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 109: /* Line 1464 of yacc.c */ #line 1212 "Gmsh.y" { (yyval.i) = (int)(yyvsp[(1) - (1)].d); ;} break; case 110: /* Line 1464 of yacc.c */ #line 1216 "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 111: /* Line 1464 of yacc.c */ #line 1226 "Gmsh.y" { (yyval.l) = 0; ;} break; case 112: /* Line 1464 of yacc.c */ #line 1230 "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 113: /* Line 1464 of yacc.c */ #line 1242 "Gmsh.y" { for(int i = 0; i < 4; i++) (yyval.v)[i] = 0.; ;} break; case 114: /* Line 1464 of yacc.c */ #line 1246 "Gmsh.y" { for(int i = 0; i < 4; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i]; ;} break; case 115: /* Line 1464 of yacc.c */ #line 1256 "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 116: /* Line 1464 of yacc.c */ #line 1279 "Gmsh.y" { curPhysDim = 0; ;} break; case 117: /* Line 1464 of yacc.c */ #line 1283 "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 118: /* Line 1464 of yacc.c */ #line 1299 "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 119: /* Line 1464 of yacc.c */ #line 1321 "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 120: /* Line 1464 of yacc.c */ #line 1339 "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 121: /* Line 1464 of yacc.c */ #line 1360 "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 122: /* Line 1464 of yacc.c */ #line 1378 "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 123: /* Line 1464 of yacc.c */ #line 1408 "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 124: /* Line 1464 of yacc.c */ #line 1438 "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 125: /* Line 1464 of yacc.c */ #line 1456 "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 126: /* Line 1464 of yacc.c */ #line 1474 "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 127: /* Line 1464 of yacc.c */ #line 1500 "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 128: /* Line 1464 of yacc.c */ #line 1518 "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 129: /* Line 1464 of yacc.c */ #line 1536 "Gmsh.y" { curPhysDim = 1; ;} break; case 130: /* Line 1464 of yacc.c */ #line 1540 "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 131: /* Line 1464 of yacc.c */ #line 1559 "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 132: /* Line 1464 of yacc.c */ #line 1577 "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 133: /* Line 1464 of yacc.c */ #line 1616 "Gmsh.y" { myGmshSurface = 0; (yyval.s).Type = 0; (yyval.s).Num = 0; ;} break; case 134: /* Line 1464 of yacc.c */ #line 1622 "Gmsh.y" { myGmshSurface = gmshSurface::getSurface((int)(yyvsp[(3) - (4)].d)); (yyval.s).Type = 0; (yyval.s).Num = 0; ;} break; case 135: /* Line 1464 of yacc.c */ #line 1628 "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 136: /* Line 1464 of yacc.c */ #line 1635 "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 137: /* Line 1464 of yacc.c */ #line 1660 "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 138: /* Line 1464 of yacc.c */ #line 1685 "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 139: /* Line 1464 of yacc.c */ #line 1702 "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)); } 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 140: /* Line 1464 of yacc.c */ #line 1720 "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)); } } 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 141: /* Line 1464 of yacc.c */ #line 1750 "Gmsh.y" { curPhysDim = 2; ;} break; case 142: /* Line 1464 of yacc.c */ #line 1754 "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 143: /* Line 1464 of yacc.c */ #line 1774 "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 144: /* Line 1464 of yacc.c */ #line 1792 "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 145: /* Line 1464 of yacc.c */ #line 1809 "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 146: /* Line 1464 of yacc.c */ #line 1825 "Gmsh.y" { curPhysDim = 3; ;} break; case 147: /* Line 1464 of yacc.c */ #line 1829 "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 148: /* Line 1464 of yacc.c */ #line 1851 "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 149: /* Line 1464 of yacc.c */ #line 1856 "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 150: /* Line 1464 of yacc.c */ #line 1861 "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 151: /* Line 1464 of yacc.c */ #line 1866 "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 152: /* Line 1464 of yacc.c */ #line 1871 "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 153: /* Line 1464 of yacc.c */ #line 1876 "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 154: /* Line 1464 of yacc.c */ #line 1899 "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 155: /* Line 1464 of yacc.c */ #line 1905 "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 156: /* Line 1464 of yacc.c */ #line 1915 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 157: /* Line 1464 of yacc.c */ #line 1916 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 158: /* Line 1464 of yacc.c */ #line 1921 "Gmsh.y" { (yyval.l) = List_Create(3, 3, sizeof(Shape)); ;} break; case 159: /* Line 1464 of yacc.c */ #line 1925 "Gmsh.y" { List_Add((yyval.l), &(yyvsp[(2) - (2)].s)); ;} break; case 160: /* Line 1464 of yacc.c */ #line 1929 "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 161: /* Line 1464 of yacc.c */ #line 1952 "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 162: /* Line 1464 of yacc.c */ #line 1975 "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 163: /* Line 1464 of yacc.c */ #line 1998 "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 164: /* Line 1464 of yacc.c */ #line 2026 "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 165: /* Line 1464 of yacc.c */ #line 2047 "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); } #endif ;} break; case 166: /* Line 1464 of yacc.c */ #line 2071 "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 167: /* Line 1464 of yacc.c */ #line 2092 "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 168: /* Line 1464 of yacc.c */ #line 2113 "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 169: /* Line 1464 of yacc.c */ #line 2133 "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 170: /* Line 1464 of yacc.c */ #line 2245 "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 171: /* Line 1464 of yacc.c */ #line 2264 "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 172: /* Line 1464 of yacc.c */ #line 2303 "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 173: /* Line 1464 of yacc.c */ #line 2411 "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 174: /* Line 1464 of yacc.c */ #line 2420 "Gmsh.y" { #if defined(HAVE_MESH) GModel::current()->getFields()->deleteField((int)(yyvsp[(4) - (6)].d)); #endif ;} break; case 175: /* Line 1464 of yacc.c */ #line 2426 "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 176: /* Line 1464 of yacc.c */ #line 2441 "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 177: /* Line 1464 of yacc.c */ #line 2469 "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 178: /* Line 1464 of yacc.c */ #line 2486 "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)); } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 179: /* Line 1464 of yacc.c */ #line 2500 "Gmsh.y" { for(int i = 0; i < 4; i++) VisibilityShape((yyvsp[(2) - (3)].c), i, 1); Free((yyvsp[(2) - (3)].c)); ;} break; case 180: /* Line 1464 of yacc.c */ #line 2506 "Gmsh.y" { for(int i = 0; i < 4; i++) VisibilityShape((yyvsp[(2) - (3)].c), i, 0); Free((yyvsp[(2) - (3)].c)); ;} break; case 181: /* Line 1464 of yacc.c */ #line 2512 "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); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 182: /* Line 1464 of yacc.c */ #line 2521 "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); } List_Delete((yyvsp[(3) - (4)].l)); ;} break; case 183: /* Line 1464 of yacc.c */ #line 2535 "Gmsh.y" { if(!strcmp((yyvsp[(1) - (3)].c), "Include")){ std::string tmp = FixRelativePath(gmsh_yyname, (yyvsp[(2) - (3)].c)); Msg::StatusBar(2, 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(2, 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 184: /* Line 1464 of yacc.c */ #line 2580 "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 185: /* Line 1464 of yacc.c */ #line 2597 "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 186: /* Line 1464 of yacc.c */ #line 2612 "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 187: /* Line 1464 of yacc.c */ #line 2631 "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 188: /* Line 1464 of yacc.c */ #line 2643 "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 189: /* Line 1464 of yacc.c */ #line 2667 "Gmsh.y" { Msg::Exit(0); ;} break; case 190: /* Line 1464 of yacc.c */ #line 2671 "Gmsh.y" { gmsh_yyerrorstate = 999; // this will be checked when yyparse returns YYABORT; ;} break; case 191: /* Line 1464 of yacc.c */ #line 2676 "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 192: /* Line 1464 of yacc.c */ #line 2683 "Gmsh.y" { CTX::instance()->forcedBBox = 0; GModel::current()->importGEOInternals(); SetBoundingBox(); ;} break; case 193: /* Line 1464 of yacc.c */ #line 2689 "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 194: /* Line 1464 of yacc.c */ #line 2694 "Gmsh.y" { #if defined(HAVE_OPENGL) drawContext::global()->draw(); #endif ;} break; case 195: /* Line 1464 of yacc.c */ #line 2700 "Gmsh.y" { GModel::current()->createTopologyFromMesh(); ;} break; case 196: /* Line 1464 of yacc.c */ #line 2704 "Gmsh.y" { GModel::current()->createTopologyFromMesh(1); ;} break; case 197: /* Line 1464 of yacc.c */ #line 2708 "Gmsh.y" { GModel::current()->importGEOInternals(); GModel::current()->refineMesh(CTX::instance()->mesh.secondOrderLinear); ;} break; case 198: /* Line 1464 of yacc.c */ #line 2718 "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 199: /* Line 1464 of yacc.c */ #line 2735 "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 200: /* Line 1464 of yacc.c */ #line 2752 "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 201: /* Line 1464 of yacc.c */ #line 2773 "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 202: /* Line 1464 of yacc.c */ #line 2794 "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 203: /* Line 1464 of yacc.c */ #line 2829 "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 204: /* Line 1464 of yacc.c */ #line 2837 "Gmsh.y" { if(!FunctionManager::Instance()->leaveFunction (&gmsh_yyin, gmsh_yyname, gmsh_yylineno)) yymsg(0, "Error while exiting function"); ;} break; case 205: /* Line 1464 of yacc.c */ #line 2843 "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 206: /* Line 1464 of yacc.c */ #line 2850 "Gmsh.y" { if(!(yyvsp[(3) - (4)].d)) skip_until("If", "EndIf"); ;} break; case 207: /* Line 1464 of yacc.c */ #line 2854 "Gmsh.y" { ;} break; case 208: /* Line 1464 of yacc.c */ #line 2863 "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 209: /* Line 1464 of yacc.c */ #line 2871 "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 210: /* Line 1464 of yacc.c */ #line 2879 "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 211: /* Line 1464 of yacc.c */ #line 2887 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 212: /* Line 1464 of yacc.c */ #line 2892 "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 213: /* Line 1464 of yacc.c */ #line 2900 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 214: /* Line 1464 of yacc.c */ #line 2905 "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 215: /* Line 1464 of yacc.c */ #line 2913 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 216: /* Line 1464 of yacc.c */ #line 2918 "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 217: /* Line 1464 of yacc.c */ #line 2926 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 218: /* Line 1464 of yacc.c */ #line 2931 "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 219: /* Line 1464 of yacc.c */ #line 2939 "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 220: /* Line 1464 of yacc.c */ #line 2946 "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 221: /* Line 1464 of yacc.c */ #line 2953 "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 222: /* Line 1464 of yacc.c */ #line 2960 "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 223: /* Line 1464 of yacc.c */ #line 2967 "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 224: /* Line 1464 of yacc.c */ #line 2974 "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 225: /* Line 1464 of yacc.c */ #line 2981 "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 226: /* Line 1464 of yacc.c */ #line 2988 "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 227: /* Line 1464 of yacc.c */ #line 2995 "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 228: /* Line 1464 of yacc.c */ #line 3002 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 229: /* Line 1464 of yacc.c */ #line 3007 "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 230: /* Line 1464 of yacc.c */ #line 3014 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 231: /* Line 1464 of yacc.c */ #line 3019 "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 232: /* Line 1464 of yacc.c */ #line 3026 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 233: /* Line 1464 of yacc.c */ #line 3031 "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 234: /* Line 1464 of yacc.c */ #line 3038 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 235: /* Line 1464 of yacc.c */ #line 3043 "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 236: /* Line 1464 of yacc.c */ #line 3050 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 237: /* Line 1464 of yacc.c */ #line 3055 "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 238: /* Line 1464 of yacc.c */ #line 3062 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 239: /* Line 1464 of yacc.c */ #line 3067 "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 240: /* Line 1464 of yacc.c */ #line 3074 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 241: /* Line 1464 of yacc.c */ #line 3079 "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 242: /* Line 1464 of yacc.c */ #line 3086 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 243: /* Line 1464 of yacc.c */ #line 3091 "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 244: /* Line 1464 of yacc.c */ #line 3098 "Gmsh.y" { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; extr.mesh.QuadToTri = NO_QUADTRI; ;} break; case 245: /* Line 1464 of yacc.c */ #line 3103 "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 246: /* Line 1464 of yacc.c */ #line 3114 "Gmsh.y" { ;} break; case 247: /* Line 1464 of yacc.c */ #line 3117 "Gmsh.y" { ;} break; case 248: /* Line 1464 of yacc.c */ #line 3123 "Gmsh.y" { 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 249: /* Line 1464 of yacc.c */ #line 3132 "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 250: /* Line 1464 of yacc.c */ #line 3152 "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 251: /* Line 1464 of yacc.c */ #line 3175 "Gmsh.y" { extr.mesh.Recombine = true; ;} break; case 252: /* Line 1464 of yacc.c */ #line 3179 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_DBL_1; ;} break; case 253: /* Line 1464 of yacc.c */ #line 3183 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_DBL_1_RECOMB; ;} break; case 254: /* Line 1464 of yacc.c */ #line 3187 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_SNGL_1; ;} break; case 255: /* Line 1464 of yacc.c */ #line 3191 "Gmsh.y" { extr.mesh.QuadToTri = QUADTRI_SNGL_1_RECOMB; ;} break; case 256: /* Line 1464 of yacc.c */ #line 3195 "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 257: /* Line 1464 of yacc.c */ #line 3214 "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 258: /* Line 1464 of yacc.c */ #line 3226 "Gmsh.y" { (yyval.v)[0] = (yyval.v)[1] = 1.; ;} break; case 259: /* Line 1464 of yacc.c */ #line 3230 "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 260: /* Line 1464 of yacc.c */ #line 3245 "Gmsh.y" { (yyval.i) = -1; // left ;} break; case 261: /* Line 1464 of yacc.c */ #line 3249 "Gmsh.y" { if(!strcmp((yyvsp[(1) - (1)].c), "Right")) (yyval.i) = 1; else if(!strcmp((yyvsp[(1) - (1)].c), "Left")) (yyval.i) = -1; else // alternated (yyval.i) = 0; Free((yyvsp[(1) - (1)].c)); ;} break; case 262: /* Line 1464 of yacc.c */ #line 3261 "Gmsh.y" { (yyval.l) = List_Create(1, 1, sizeof(double)); ;} break; case 263: /* Line 1464 of yacc.c */ #line 3265 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (2)].l); ;} break; case 264: /* Line 1464 of yacc.c */ #line 3270 "Gmsh.y" { (yyval.i) = 45; ;} break; case 265: /* Line 1464 of yacc.c */ #line 3274 "Gmsh.y" { (yyval.i) = (int)(yyvsp[(2) - (2)].d); ;} break; case 266: /* Line 1464 of yacc.c */ #line 3281 "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 267: /* Line 1464 of yacc.c */ #line 3337 "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 268: /* Line 1464 of yacc.c */ #line 3407 "Gmsh.y" { yymsg(1, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); List_Delete((yyvsp[(7) - (8)].l)); ;} break; case 269: /* Line 1464 of yacc.c */ #line 3412 "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 270: /* Line 1464 of yacc.c */ #line 3479 "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 271: /* Line 1464 of yacc.c */ #line 3515 "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 272: /* Line 1464 of yacc.c */ #line 3524 "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 273: /* Line 1464 of yacc.c */ #line 3567 "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 274: /* Line 1464 of yacc.c */ #line 3592 "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){ c_slave->meshMaster = j_master; } else{ GEdge *ge = GModel::current()->getEdgeByTag(abs(j_slave)); if(ge) ge->setMeshMaster(j_master); else yymsg(0, "Unknown line %d", j_slave); } } } List_Delete((yyvsp[(3) - (6)].l)); List_Delete((yyvsp[(5) - (6)].l)); ;} break; case 275: /* Line 1464 of yacc.c */ #line 3620 "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){ s_slave->meshMaster = j_master; for (int i = 0; i < List_Nbr((yyvsp[(5) - (12)].l)); i++){ double dm, ds; List_Read((yyvsp[(5) - (12)].l), i, &ds); List_Read((yyvsp[(10) - (12)].l), i, &dm); s_slave->edgeCounterparts[(int)ds] = (int)dm; } } else{ GFace *gf = GModel::current()->getFaceByTag(abs(j_slave)); if(gf){ gf->setMeshMaster(j_master); for (int i = 0; i < List_Nbr((yyvsp[(5) - (12)].l)); i++){ double dm, ds; List_Read((yyvsp[(5) - (12)].l), i, &ds); List_Read((yyvsp[(10) - (12)].l), i, &dm); gf->edgeCounterparts[(int)ds] = (int)dm; } } else yymsg(0, "Unknown surface %d", j_slave); } } List_Delete((yyvsp[(5) - (12)].l)); List_Delete((yyvsp[(10) - (12)].l)); ;} break; case 276: /* Line 1464 of yacc.c */ #line 3663 "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 277: /* Line 1464 of yacc.c */ #line 3686 "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 278: /* Line 1464 of yacc.c */ #line 3709 "Gmsh.y" { ;} break; case 279: /* Line 1464 of yacc.c */ #line 3712 "Gmsh.y" { ;} break; case 280: /* Line 1464 of yacc.c */ #line 3721 "Gmsh.y" { ReplaceAllDuplicates(); ;} break; case 281: /* Line 1464 of yacc.c */ #line 3725 "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 282: /* Line 1464 of yacc.c */ #line 3735 "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 283: /* Line 1464 of yacc.c */ #line 3769 "Gmsh.y" { (yyval.c) = (char*)"Homology"; ;} break; case 284: /* Line 1464 of yacc.c */ #line 3770 "Gmsh.y" { (yyval.c) = (char*)"Cohomology"; ;} break; case 285: /* Line 1464 of yacc.c */ #line 3775 "Gmsh.y" { std::vector<int> domain, subdomain, dim; GModel::current()->addHomologyRequest((yyvsp[(1) - (2)].c), domain, subdomain, dim); ;} break; case 286: /* Line 1464 of yacc.c */ #line 3780 "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); } GModel::current()->addHomologyRequest((yyvsp[(1) - (5)].c), domain, subdomain, dim); List_Delete((yyvsp[(3) - (5)].l)); ;} break; case 287: /* Line 1464 of yacc.c */ #line 3791 "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); } GModel::current()->addHomologyRequest((yyvsp[(1) - (7)].c), domain, subdomain, dim); List_Delete((yyvsp[(3) - (7)].l)); List_Delete((yyvsp[(5) - (7)].l)); ;} break; case 288: /* Line 1464 of yacc.c */ #line 3808 "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 289: /* Line 1464 of yacc.c */ #line 3835 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (1)].d); ;} break; case 290: /* Line 1464 of yacc.c */ #line 3836 "Gmsh.y" { (yyval.d) = (yyvsp[(2) - (3)].d); ;} break; case 291: /* Line 1464 of yacc.c */ #line 3837 "Gmsh.y" { (yyval.d) = -(yyvsp[(2) - (2)].d); ;} break; case 292: /* Line 1464 of yacc.c */ #line 3838 "Gmsh.y" { (yyval.d) = (yyvsp[(2) - (2)].d); ;} break; case 293: /* Line 1464 of yacc.c */ #line 3839 "Gmsh.y" { (yyval.d) = !(yyvsp[(2) - (2)].d); ;} break; case 294: /* Line 1464 of yacc.c */ #line 3840 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) - (yyvsp[(3) - (3)].d); ;} break; case 295: /* Line 1464 of yacc.c */ #line 3841 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) + (yyvsp[(3) - (3)].d); ;} break; case 296: /* Line 1464 of yacc.c */ #line 3842 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) * (yyvsp[(3) - (3)].d); ;} break; case 297: /* Line 1464 of yacc.c */ #line 3844 "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 298: /* Line 1464 of yacc.c */ #line 3850 "Gmsh.y" { (yyval.d) = (int)(yyvsp[(1) - (3)].d) % (int)(yyvsp[(3) - (3)].d); ;} break; case 299: /* Line 1464 of yacc.c */ #line 3851 "Gmsh.y" { (yyval.d) = pow((yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); ;} break; case 300: /* Line 1464 of yacc.c */ #line 3852 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d); ;} break; case 301: /* Line 1464 of yacc.c */ #line 3853 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) > (yyvsp[(3) - (3)].d); ;} break; case 302: /* Line 1464 of yacc.c */ #line 3854 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) <= (yyvsp[(3) - (3)].d); ;} break; case 303: /* Line 1464 of yacc.c */ #line 3855 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) >= (yyvsp[(3) - (3)].d); ;} break; case 304: /* Line 1464 of yacc.c */ #line 3856 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) == (yyvsp[(3) - (3)].d); ;} break; case 305: /* Line 1464 of yacc.c */ #line 3857 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) != (yyvsp[(3) - (3)].d); ;} break; case 306: /* Line 1464 of yacc.c */ #line 3858 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) && (yyvsp[(3) - (3)].d); ;} break; case 307: /* Line 1464 of yacc.c */ #line 3859 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (3)].d) || (yyvsp[(3) - (3)].d); ;} break; case 308: /* Line 1464 of yacc.c */ #line 3860 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (5)].d) ? (yyvsp[(3) - (5)].d) : (yyvsp[(5) - (5)].d); ;} break; case 309: /* Line 1464 of yacc.c */ #line 3861 "Gmsh.y" { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} break; case 310: /* Line 1464 of yacc.c */ #line 3862 "Gmsh.y" { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} break; case 311: /* Line 1464 of yacc.c */ #line 3863 "Gmsh.y" { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} break; case 312: /* Line 1464 of yacc.c */ #line 3864 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} break; case 313: /* Line 1464 of yacc.c */ #line 3865 "Gmsh.y" { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} break; case 314: /* Line 1464 of yacc.c */ #line 3866 "Gmsh.y" { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} break; case 315: /* Line 1464 of yacc.c */ #line 3867 "Gmsh.y" { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} break; case 316: /* Line 1464 of yacc.c */ #line 3868 "Gmsh.y" { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} break; case 317: /* Line 1464 of yacc.c */ #line 3869 "Gmsh.y" { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} break; case 318: /* Line 1464 of yacc.c */ #line 3870 "Gmsh.y" { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} break; case 319: /* Line 1464 of yacc.c */ #line 3871 "Gmsh.y" { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} break; case 320: /* Line 1464 of yacc.c */ #line 3872 "Gmsh.y" { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} break; case 321: /* Line 1464 of yacc.c */ #line 3873 "Gmsh.y" { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} break; case 322: /* Line 1464 of yacc.c */ #line 3874 "Gmsh.y" { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} break; case 323: /* Line 1464 of yacc.c */ #line 3875 "Gmsh.y" { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} break; case 324: /* Line 1464 of yacc.c */ #line 3876 "Gmsh.y" { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} break; case 325: /* Line 1464 of yacc.c */ #line 3877 "Gmsh.y" { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} break; case 326: /* Line 1464 of yacc.c */ #line 3878 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 327: /* Line 1464 of yacc.c */ #line 3879 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 328: /* Line 1464 of yacc.c */ #line 3880 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); ;} break; case 329: /* Line 1464 of yacc.c */ #line 3881 "Gmsh.y" { (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; ;} break; case 330: /* Line 1464 of yacc.c */ #line 3883 "Gmsh.y" { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} break; case 331: /* Line 1464 of yacc.c */ #line 3884 "Gmsh.y" { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} break; case 332: /* Line 1464 of yacc.c */ #line 3885 "Gmsh.y" { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} break; case 333: /* Line 1464 of yacc.c */ #line 3886 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} break; case 334: /* Line 1464 of yacc.c */ #line 3887 "Gmsh.y" { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} break; case 335: /* Line 1464 of yacc.c */ #line 3888 "Gmsh.y" { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} break; case 336: /* Line 1464 of yacc.c */ #line 3889 "Gmsh.y" { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} break; case 337: /* Line 1464 of yacc.c */ #line 3890 "Gmsh.y" { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} break; case 338: /* Line 1464 of yacc.c */ #line 3891 "Gmsh.y" { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} break; case 339: /* Line 1464 of yacc.c */ #line 3892 "Gmsh.y" { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} break; case 340: /* Line 1464 of yacc.c */ #line 3893 "Gmsh.y" { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} break; case 341: /* Line 1464 of yacc.c */ #line 3894 "Gmsh.y" { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} break; case 342: /* Line 1464 of yacc.c */ #line 3895 "Gmsh.y" { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} break; case 343: /* Line 1464 of yacc.c */ #line 3896 "Gmsh.y" { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} break; case 344: /* Line 1464 of yacc.c */ #line 3897 "Gmsh.y" { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} break; case 345: /* Line 1464 of yacc.c */ #line 3898 "Gmsh.y" { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} break; case 346: /* Line 1464 of yacc.c */ #line 3899 "Gmsh.y" { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} break; case 347: /* Line 1464 of yacc.c */ #line 3900 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 348: /* Line 1464 of yacc.c */ #line 3901 "Gmsh.y" { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} break; case 349: /* Line 1464 of yacc.c */ #line 3902 "Gmsh.y" { (yyval.d) = sqrt((yyvsp[(3) - (6)].d) * (yyvsp[(3) - (6)].d) + (yyvsp[(5) - (6)].d) * (yyvsp[(5) - (6)].d)); ;} break; case 350: /* Line 1464 of yacc.c */ #line 3903 "Gmsh.y" { (yyval.d) = (yyvsp[(3) - (4)].d) * (double)rand() / (double)RAND_MAX; ;} break; case 351: /* Line 1464 of yacc.c */ #line 3912 "Gmsh.y" { (yyval.d) = (yyvsp[(1) - (1)].d); ;} break; case 352: /* Line 1464 of yacc.c */ #line 3913 "Gmsh.y" { (yyval.d) = 3.141592653589793; ;} break; case 353: /* Line 1464 of yacc.c */ #line 3914 "Gmsh.y" { (yyval.d) = Msg::GetCommRank(); ;} break; case 354: /* Line 1464 of yacc.c */ #line 3915 "Gmsh.y" { (yyval.d) = Msg::GetCommSize(); ;} break; case 355: /* Line 1464 of yacc.c */ #line 3916 "Gmsh.y" { (yyval.d) = GetGmshMajorVersion(); ;} break; case 356: /* Line 1464 of yacc.c */ #line 3917 "Gmsh.y" { (yyval.d) = GetGmshMinorVersion(); ;} break; case 357: /* Line 1464 of yacc.c */ #line 3918 "Gmsh.y" { (yyval.d) = GetGmshPatchVersion(); ;} break; case 358: /* Line 1464 of yacc.c */ #line 3923 "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 359: /* Line 1464 of yacc.c */ #line 3943 "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 360: /* Line 1464 of yacc.c */ #line 3962 "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 361: /* Line 1464 of yacc.c */ #line 3980 "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 362: /* Line 1464 of yacc.c */ #line 3992 "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 363: /* Line 1464 of yacc.c */ #line 4009 "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 364: /* Line 1464 of yacc.c */ #line 4030 "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 365: /* Line 1464 of yacc.c */ #line 4035 "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 366: /* Line 1464 of yacc.c */ #line 4040 "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 367: /* Line 1464 of yacc.c */ #line 4050 "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 368: /* Line 1464 of yacc.c */ #line 4060 "Gmsh.y" { (yyval.d) = Msg::GetValue((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d)); Free((yyvsp[(3) - (6)].c)); ;} break; case 369: /* Line 1464 of yacc.c */ #line 4065 "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 370: /* Line 1464 of yacc.c */ #line 4077 "Gmsh.y" { memcpy((yyval.v), (yyvsp[(1) - (1)].v), 5*sizeof(double)); ;} break; case 371: /* Line 1464 of yacc.c */ #line 4081 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[(2) - (2)].v)[i]; ;} break; case 372: /* Line 1464 of yacc.c */ #line 4085 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i]; ;} break; case 373: /* Line 1464 of yacc.c */ #line 4089 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] - (yyvsp[(3) - (3)].v)[i]; ;} break; case 374: /* Line 1464 of yacc.c */ #line 4093 "Gmsh.y" { for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] + (yyvsp[(3) - (3)].v)[i]; ;} break; case 375: /* Line 1464 of yacc.c */ #line 4100 "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 376: /* Line 1464 of yacc.c */ #line 4104 "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 377: /* Line 1464 of yacc.c */ #line 4108 "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 378: /* Line 1464 of yacc.c */ #line 4112 "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 379: /* Line 1464 of yacc.c */ #line 4119 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(List_T*)); List_Add((yyval.l), &((yyvsp[(1) - (1)].l))); ;} break; case 380: /* Line 1464 of yacc.c */ #line 4124 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].l))); ;} break; case 381: /* Line 1464 of yacc.c */ #line 4131 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); ;} break; case 382: /* Line 1464 of yacc.c */ #line 4136 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 383: /* Line 1464 of yacc.c */ #line 4140 "Gmsh.y" { // creates an empty list (yyval.l) = List_Create(2, 1, sizeof(double)); ;} break; case 384: /* Line 1464 of yacc.c */ #line 4145 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (3)].l); ;} break; case 385: /* Line 1464 of yacc.c */ #line 4149 "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 386: /* Line 1464 of yacc.c */ #line 4157 "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 387: /* Line 1464 of yacc.c */ #line 4168 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 388: /* Line 1464 of yacc.c */ #line 4172 "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 389: /* Line 1464 of yacc.c */ #line 4184 "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 390: /* Line 1464 of yacc.c */ #line 4192 "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 391: /* Line 1464 of yacc.c */ #line 4200 "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 392: /* Line 1464 of yacc.c */ #line 4207 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); if(!(yyvsp[(5) - (5)].d) || ((yyvsp[(1) - (5)].d) < (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) < 0) || ((yyvsp[(1) - (5)].d) > (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) > 0)){ yymsg(0, "Wrong increment in '%g:%g:%g'", (yyvsp[(1) - (5)].d), (yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].d)); List_Add((yyval.l), &((yyvsp[(1) - (5)].d))); } 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 393: /* Line 1464 of yacc.c */ #line 4218 "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 394: /* Line 1464 of yacc.c */ #line 4238 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(0); ;} break; case 395: /* Line 1464 of yacc.c */ #line 4242 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(1); ;} break; case 396: /* Line 1464 of yacc.c */ #line 4246 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(2); ;} break; case 397: /* Line 1464 of yacc.c */ #line 4250 "Gmsh.y" { (yyval.l) = GetAllEntityNumbers(3); ;} break; case 398: /* Line 1464 of yacc.c */ #line 4254 "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); } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 399: /* Line 1464 of yacc.c */ #line 4272 "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); } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 400: /* Line 1464 of yacc.c */ #line 4290 "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); } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 401: /* Line 1464 of yacc.c */ #line 4308 "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); } } } List_Delete((yyvsp[(4) - (5)].l)); ;} break; case 402: /* Line 1464 of yacc.c */ #line 4326 "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 403: /* Line 1464 of yacc.c */ #line 4336 "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 404: /* Line 1464 of yacc.c */ #line 4346 "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 405: /* Line 1464 of yacc.c */ #line 4358 "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 406: /* Line 1464 of yacc.c */ #line 4370 "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 407: /* Line 1464 of yacc.c */ #line 4391 "Gmsh.y" { (yyval.l) = List_Create(2, 1, sizeof(double)); List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); ;} break; case 408: /* Line 1464 of yacc.c */ #line 4396 "Gmsh.y" { (yyval.l) = (yyvsp[(1) - (1)].l); ;} break; case 409: /* Line 1464 of yacc.c */ #line 4400 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].d))); ;} break; case 410: /* Line 1464 of yacc.c */ #line 4404 "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 411: /* Line 1464 of yacc.c */ #line 4416 "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 412: /* Line 1464 of yacc.c */ #line 4420 "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 413: /* Line 1464 of yacc.c */ #line 4432 "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 414: /* Line 1464 of yacc.c */ #line 4439 "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 415: /* Line 1464 of yacc.c */ #line 4449 "Gmsh.y" { (yyval.l) = (yyvsp[(2) - (3)].l); ;} break; case 416: /* Line 1464 of yacc.c */ #line 4453 "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 417: /* Line 1464 of yacc.c */ #line 4468 "Gmsh.y" { (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); List_Add((yyval.l), &((yyvsp[(1) - (1)].u))); ;} break; case 418: /* Line 1464 of yacc.c */ #line 4473 "Gmsh.y" { List_Add((yyval.l), &((yyvsp[(3) - (3)].u))); ;} break; case 419: /* Line 1464 of yacc.c */ #line 4480 "Gmsh.y" { (yyval.c) = (yyvsp[(1) - (1)].c); ;} break; case 420: /* Line 1464 of yacc.c */ #line 4484 "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 421: /* Line 1464 of yacc.c */ #line 4497 "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 422: /* Line 1464 of yacc.c */ #line 4505 "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 423: /* Line 1464 of yacc.c */ #line 4516 "Gmsh.y" { (yyval.c) = (yyvsp[(1) - (1)].c); ;} break; case 424: /* Line 1464 of yacc.c */ #line 4520 "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 425: /* Line 1464 of yacc.c */ #line 4528 "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 426: /* Line 1464 of yacc.c */ #line 4536 "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 427: /* Line 1464 of yacc.c */ #line 4544 "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 428: /* Line 1464 of yacc.c */ #line 4552 "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 429: /* Line 1464 of yacc.c */ #line 4566 "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 430: /* Line 1464 of yacc.c */ #line 4580 "Gmsh.y" { (yyval.c) = (yyvsp[(3) - (4)].c); ;} break; case 431: /* Line 1464 of yacc.c */ #line 4584 "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; /* Line 1464 of yacc.c */ #line 10363 "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 lookahead 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 lookahead 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); } *++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; #if !defined(yyoverflow) || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: if (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 1684 of yacc.c */ #line 4604 "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(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); }