1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>esys.modellib.input Package — esys.escript 5.6 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">esys.escript 5.6 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-esys.modellib.input">
<span id="esys-modellib-input-package"></span><h1>esys.modellib.input Package<a class="headerlink" href="#module-esys.modellib.input" title="Permalink to this headline">¶</a></h1>
<ul class="simple">
<li></li>
</ul>
<div class="section" id="classes">
<h2>Classes<a class="headerlink" href="#classes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference internal" href="#esys.modellib.input.GaussianProfile" title="esys.modellib.input.GaussianProfile"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GaussianProfile</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.InterpolateOverBox" title="esys.modellib.input.InterpolateOverBox"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InterpolateOverBox</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.InterpolatedTimeProfile" title="esys.modellib.input.InterpolatedTimeProfile"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InterpolatedTimeProfile</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.LinearCombination" title="esys.modellib.input.LinearCombination"><code class="xref py py-obj docutils literal notranslate"><span class="pre">LinearCombination</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.LinearPDE" title="esys.modellib.input.LinearPDE"><code class="xref py py-obj docutils literal notranslate"><span class="pre">LinearPDE</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.MergeConstraints" title="esys.modellib.input.MergeConstraints"><code class="xref py py-obj docutils literal notranslate"><span class="pre">MergeConstraints</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.Model" title="esys.modellib.input.Model"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Model</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.ParameterSet" title="esys.modellib.input.ParameterSet"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ParameterSet</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.ScalarDistributionFromTags" title="esys.modellib.input.ScalarDistributionFromTags"><code class="xref py py-obj docutils literal notranslate"><span class="pre">ScalarDistributionFromTags</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.Sequencer" title="esys.modellib.input.Sequencer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Sequencer</span></code></a></li>
<li><a class="reference internal" href="#esys.modellib.input.SmoothScalarDistributionFromTags" title="esys.modellib.input.SmoothScalarDistributionFromTags"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SmoothScalarDistributionFromTags</span></code></a></li>
</ul>
<dl class="class">
<dt id="esys.modellib.input.GaussianProfile">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">GaussianProfile</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>Generates a Gaussian profile at center x_c, width width and height A
over a domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable domain - domain</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable x_c - center of the Gaussian profile (default [0.,0.,0.])</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable A - (in) height of the profile. A maybe a vector. (default 1.)</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable width - (in) width of the profile (default 0.1)</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable r - (in) radius of the circle (default = 0)</td>
</tr>
</tbody>
</table>
<p>In the case that the spatial dimension is two, The third component of
x_c is dropped.</p>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.GaussianProfile.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.out" title="Permalink to this definition">¶</a></dt>
<dd><p>Generate the Gaussian profile</p>
<p>Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.GaussianProfile.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.GaussianProfile.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.InterpolateOverBox">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">InterpolateOverBox</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>Returns values at each time. The values are defined through given values
at time node. For two dimensional domains back values are ignored.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable domain - domain</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_left_bottom_front - (in) value at left,bottom,front corner</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_right_bottom_front - (in) value at right, bottom, front corner</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_left_top_front - (in) value at left,top,front corner</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_right_top_front - (in) value at right,top,front corner</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_left_bottom_back - (in) value at left,bottom,back corner</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_right_bottom_back - (in) value at right,bottom,back corner</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_left_top_back - (in) value at left,top,back corner</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable value_right_top_back - (in) value at right,top,back corner</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.InterpolateOverBox.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.out" title="Permalink to this definition">¶</a></dt>
<dd><p>values at domain locations by bilinear interpolation of the given values.</p>
<p>Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolateOverBox.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolateOverBox.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.InterpolatedTimeProfile">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">InterpolatedTimeProfile</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>Returns values at each time. The values are defined through given
values at time node.</p>
<p>value[i] defines the value at time nodes[i]. Between nodes linear
interpolation is used.</p>
<p>For time t<nodes[0], value[0] is used and for t>nodes[l], values[l]
is used where l=len(nodes)-1.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable t - (in) current time</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">Instance variable node - (in) list of time nodes</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Instance variable values - (in) list of values at time nodes</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.InterpolatedTimeProfile.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.out" title="Permalink to this definition">¶</a></dt>
<dd><p>current value</p>
<p>Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.InterpolatedTimeProfile.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.InterpolatedTimeProfile.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.LinearCombination">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">LinearCombination</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>Returns a linear combination of the f0*v0+f1*v1+f2*v2+f3*v3+f4*v4</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple">
<li><strong>f0</strong> – numerical object or None, default=None (in)</li>
<li><strong>v0</strong> – numerical object or None, default=None (in)</li>
<li><strong>f1</strong> – numerical object or None, default=None (in)</li>
<li><strong>v1</strong> – numerical object or None, default=None (in)</li>
<li><strong>f2</strong> – numerical object or None, default=None (in)</li>
<li><strong>v2</strong> – numerical object or None, default=None (in)</li>
<li><strong>f3</strong> – numerical object or None, default=None (in)</li>
<li><strong>v3</strong> – numerical object or None, default=None (in)</li>
<li><strong>f4</strong> – numerical object or None, default=None (in)</li>
<li><strong>v4</strong> – numerical object or None, default=None (in)</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.LinearCombination.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.out" title="Permalink to this definition">¶</a></dt>
<dd><p>returns f0*v0+f1*v1+f2*v2+f3*v3+f4*v4.
Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearCombination.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearCombination.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.LinearPDE">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">LinearPDE</code><span class="sig-paren">(</span><em>domain</em>, <em>numEquations=None</em>, <em>numSolutions=None</em>, <em>isComplex=False</em>, <em>debug=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.linearPDEs.LinearProblem</span></code></p>
<p>This class is used to define a general linear, steady, second order PDE
for an unknown function <em>u</em> on a given domain defined through a
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Domain</span></code> object.</p>
<p>For a single PDE having a solution with a single component the linear PDE
is defined in the following form:</p>
<p><em>-(grad(A[j,l]+A_reduced[j,l])*grad(u)[l]+(B[j]+B_reduced[j])u)[j]+(C[l]+C_reduced[l])*grad(u)[l]+(D+D_reduced)=-grad(X+X_reduced)[j,j]+(Y+Y_reduced)</em></p>
<p>where <em>grad(F)</em> denotes the spatial derivative of <em>F</em>. Einstein’s
summation convention, ie. summation over indexes appearing twice in a term
of a sum performed, is used.
The coefficients <em>A</em>, <em>B</em>, <em>C</em>, <em>D</em>, <em>X</em> and <em>Y</em> have to be specified
through <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> objects in <code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code> and
the coefficients <em>A_reduced</em>, <em>B_reduced</em>, <em>C_reduced</em>, <em>D_reduced</em>,
<em>X_reduced</em> and <em>Y_reduced</em> have to be specified through
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> objects in <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>.
It is also allowed to use objects that can be converted into such
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> objects. <em>A</em> and <em>A_reduced</em> are rank two, <em>B</em>,
<em>C</em>, <em>X</em>, <em>B_reduced</em>, <em>C_reduced</em> and <em>X_reduced</em> are rank one and
<em>D</em>, <em>D_reduced</em>, <em>Y</em> and <em>Y_reduced</em> are scalar.</p>
<p>The following natural boundary conditions are considered:</p>
<p><em>n[j]*((A[i,j]+A_reduced[i,j])*grad(u)[l]+(B+B_reduced)[j]*u)+(d+d_reduced)*u=n[j]*(X[j]+X_reduced[j])+y</em></p>
<p>where <em>n</em> is the outer normal field. Notice that the coefficients <em>A</em>,
<em>A_reduced</em>, <em>B</em>, <em>B_reduced</em>, <em>X</em> and <em>X_reduced</em> are defined in the
PDE. The coefficients <em>d</em> and <em>y</em> are each a scalar in
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnBoundary</span></code> and the coefficients
<em>d_reduced</em> and <em>y_reduced</em> are each a scalar in
<code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnBoundary</span></code>.</p>
<p>Constraints for the solution prescribe the value of the solution at certain
locations in the domain. They have the form</p>
<p><em>u=r</em> where <em>q>0</em></p>
<p><em>r</em> and <em>q</em> are each scalar where <em>q</em> is the characteristic function
defining where the constraint is applied. The constraints override any
other condition set by the PDE or the boundary condition.</p>
<p>The PDE is symmetrical if</p>
<p><em>A[i,j]=A[j,i]</em> and <em>B[j]=C[j]</em> and <em>A_reduced[i,j]=A_reduced[j,i]</em>
and <em>B_reduced[j]=C_reduced[j]</em></p>
<p>For a system of PDEs and a solution with several components the PDE has the
form</p>
<p><em>-grad((A[i,j,k,l]+A_reduced[i,j,k,l])*grad(u[k])[l]+(B[i,j,k]+B_reduced[i,j,k])*u[k])[j]+(C[i,k,l]+C_reduced[i,k,l])*grad(u[k])[l]+(D[i,k]+D_reduced[i,k]*u[k] =-grad(X[i,j]+X_reduced[i,j])[j]+Y[i]+Y_reduced[i]</em></p>
<p><em>A</em> and <em>A_reduced</em> are of rank four, <em>B</em>, <em>B_reduced</em>, <em>C</em> and
<em>C_reduced</em> are each of rank three, <em>D</em>, <em>D_reduced</em>, <em>X_reduced</em> and
<em>X</em> are each of rank two and <em>Y</em> and <em>Y_reduced</em> are of rank one.
The natural boundary conditions take the form:</p>
<p><em>n[j]*((A[i,j,k,l]+A_reduced[i,j,k,l])*grad(u[k])[l]+(B[i,j,k]+B_reduced[i,j,k])*u[k])+(d[i,k]+d_reduced[i,k])*u[k]=n[j]*(X[i,j]+X_reduced[i,j])+y[i]+y_reduced[i]</em></p>
<p>The coefficient <em>d</em> is of rank two and <em>y</em> is of rank one both in
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnBoundary</span></code>. The coefficients
<em>d_reduced</em> is of rank two and <em>y_reduced</em> is of rank one both in
<code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnBoundary</span></code>.</p>
<p>Constraints take the form</p>
<p><em>u[i]=r[i]</em> where <em>q[i]>0</em></p>
<p><em>r</em> and <em>q</em> are each rank one. Notice that at some locations not
necessarily all components must have a constraint.</p>
<p>The system of PDEs is symmetrical if</p>
<blockquote>
<div><ul class="simple">
<li><em>A[i,j,k,l]=A[k,l,i,j]</em></li>
<li><em>A_reduced[i,j,k,l]=A_reduced[k,l,i,j]</em></li>
<li><em>B[i,j,k]=C[k,i,j]</em></li>
<li><em>B_reduced[i,j,k]=C_reduced[k,i,j]</em></li>
<li><em>D[i,k]=D[i,k]</em></li>
<li><em>D_reduced[i,k]=D_reduced[i,k]</em></li>
<li><em>d[i,k]=d[k,i]</em></li>
<li><em>d_reduced[i,k]=d_reduced[k,i]</em></li>
</ul>
</div></blockquote>
<p><a class="reference internal" href="#esys.modellib.input.LinearPDE" title="esys.modellib.input.LinearPDE"><code class="xref py py-obj docutils literal notranslate"><span class="pre">LinearPDE</span></code></a> also supports solution discontinuities over a contact region
in the domain. To specify the conditions across the discontinuity we are
using the generalised flux <em>J</em> which, in the case of a system of PDEs
and several components of the solution, is defined as</p>
<p><em>J[i,j]=(A[i,j,k,l]+A_reduced[[i,j,k,l])*grad(u[k])[l]+(B[i,j,k]+B_reduced[i,j,k])*u[k]-X[i,j]-X_reduced[i,j]</em></p>
<p>For the case of single solution component and single PDE <em>J</em> is defined as</p>
<p><em>J[j]=(A[i,j]+A_reduced[i,j])*grad(u)[j]+(B[i]+B_reduced[i])*u-X[i]-X_reduced[i]</em></p>
<p>In the context of discontinuities <em>n</em> denotes the normal on the
discontinuity pointing from side 0 towards side 1 calculated from
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace.getNormal</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactZero</span></code>.
For a system of PDEs the contact condition takes the form</p>
<p><em>n[j]*J0[i,j]=n[j]*J1[i,j]=(y_contact[i]+y_contact_reduced[i])- (d_contact[i,k]+d_contact_reduced[i,k])*jump(u)[k]</em></p>
<p>where <em>J0</em> and <em>J1</em> are the fluxes on side 0 and side 1 of the
discontinuity, respectively. <em>jump(u)</em>, which is the difference of the
solution at side 1 and at side 0, denotes the jump of <em>u</em> across
discontinuity along the normal calculated by <code class="xref py py-obj docutils literal notranslate"><span class="pre">jump</span></code>.
The coefficient <em>d_contact</em> is of rank two and <em>y_contact</em> is of rank one
both in <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactZero</span></code> or
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactOne</span></code>.
The coefficient <em>d_contact_reduced</em> is of rank two and <em>y_contact_reduced</em>
is of rank one both in <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactZero</span></code>
or <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactOne</span></code>.
In case of a single PDE and a single component solution the contact
condition takes the form</p>
<p><em>n[j]*J0_{j}=n[j]*J1_{j}=(y_contact+y_contact_reduced)-(d_contact+y_contact_reduced)*jump(u)</em></p>
<p>In this case the coefficient <em>d_contact</em> and <em>y_contact</em> are each scalar
both in <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactZero</span></code> or
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactOne</span></code> and the coefficient
<em>d_contact_reduced</em> and <em>y_contact_reduced</em> are each scalar both in
<code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactZero</span></code> or
<code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactOne</span></code>.</p>
<p>Typical usage:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">p</span> <span class="o">=</span> <span class="n">LinearPDE</span><span class="p">(</span><span class="n">dom</span><span class="p">)</span>
<span class="n">p</span><span class="o">.</span><span class="n">setValue</span><span class="p">(</span><span class="n">A</span><span class="o">=</span><span class="n">kronecker</span><span class="p">(</span><span class="n">dom</span><span class="p">),</span> <span class="n">D</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">Y</span><span class="o">=</span><span class="mf">0.5</span><span class="p">)</span>
<span class="n">u</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="n">getSolution</span><span class="p">()</span>
</pre></div>
</div>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>domain</em>, <em>numEquations=None</em>, <em>numSolutions=None</em>, <em>isComplex=False</em>, <em>debug=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Initializes a new linear PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>domain</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Domain</span></code>) – domain of the PDE</li>
<li><strong>numEquations</strong> – number of equations. If <code class="docutils literal notranslate"><span class="pre">None</span></code> the number of
equations is extracted from the PDE coefficients.</li>
<li><strong>numSolutions</strong> – number of solution components. If <code class="docutils literal notranslate"><span class="pre">None</span></code> the number
of solution components is extracted from the PDE
coefficients.</li>
<li><strong>debug</strong> – if True debug information is printed</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.addPDEToLumpedSystem">
<code class="descname">addPDEToLumpedSystem</code><span class="sig-paren">(</span><em>operator</em>, <em>a</em>, <em>b</em>, <em>c</em>, <em>hrz_lumping</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.addPDEToLumpedSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>adds a PDE to the lumped system, results depend on domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>mat</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">OperatorAdapter</span></code>) – </li>
<li><strong>rhs</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>a</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>b</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>c</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>hrz_lumping</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code>) – </li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.addPDEToRHS">
<code class="descname">addPDEToRHS</code><span class="sig-paren">(</span><em>righthandside</em>, <em>X</em>, <em>Y</em>, <em>y</em>, <em>y_contact</em>, <em>y_dirac</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.addPDEToRHS" title="Permalink to this definition">¶</a></dt>
<dd><p>adds a PDE to the right hand side, results depend on domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>mat</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">OperatorAdapter</span></code>) – </li>
<li><strong>righthandside</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>X</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>Y</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y_contact</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y_dirac</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.addPDEToSystem">
<code class="descname">addPDEToSystem</code><span class="sig-paren">(</span><em>operator</em>, <em>righthandside</em>, <em>A</em>, <em>B</em>, <em>C</em>, <em>D</em>, <em>X</em>, <em>Y</em>, <em>d</em>, <em>y</em>, <em>d_contact</em>, <em>y_contact</em>, <em>d_dirac</em>, <em>y_dirac</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.addPDEToSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>adds a PDE to the system, results depend on domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>mat</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">OperatorAdapter</span></code>) – </li>
<li><strong>rhs</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>A</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>B</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>C</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>D</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>X</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>Y</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>d</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>d_contact</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y_contact</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>d_dirac</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>y_dirac</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.addToRHS">
<code class="descname">addToRHS</code><span class="sig-paren">(</span><em>rhs</em>, <em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.addToRHS" title="Permalink to this definition">¶</a></dt>
<dd><p>adds a PDE to the right hand side, results depend on domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>mat</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">OperatorAdapter</span></code>) – </li>
<li><strong>righthandside</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>data</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code>) – </li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.addToSystem">
<code class="descname">addToSystem</code><span class="sig-paren">(</span><em>op</em>, <em>rhs</em>, <em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.addToSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>adds a PDE to the system, results depend on domain</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>mat</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">OperatorAdapter</span></code>) – </li>
<li><strong>rhs</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>) – </li>
<li><strong>data</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code>) – </li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.alteredCoefficient">
<code class="descname">alteredCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.alteredCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Announces that coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code> has been changed.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – name of the coefficient affected</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if <code class="docutils literal notranslate"><span class="pre">name</span></code> is not a coefficient of the PDE</td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">if <code class="docutils literal notranslate"><span class="pre">name</span></code> is q or r, the method will not trigger a rebuild of the
system as constraints are applied to the solved system.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.checkReciprocalSymmetry">
<code class="descname">checkReciprocalSymmetry</code><span class="sig-paren">(</span><em>name0</em>, <em>name1</em>, <em>verbose=True</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.checkReciprocalSymmetry" title="Permalink to this definition">¶</a></dt>
<dd><p>Tests two coefficients for reciprocal symmetry.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>name0</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>) – name of the first coefficient</li>
<li><strong>name1</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>) – name of the second coefficient</li>
<li><strong>verbose</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if set to True or not present a report on coefficients
which break the symmetry is printed</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">True if coefficients <code class="docutils literal notranslate"><span class="pre">name0</span></code> and <code class="docutils literal notranslate"><span class="pre">name1</span></code> are reciprocally
symmetric.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.checkSymmetricTensor">
<code class="descname">checkSymmetricTensor</code><span class="sig-paren">(</span><em>name</em>, <em>verbose=True</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.checkSymmetricTensor" title="Permalink to this definition">¶</a></dt>
<dd><p>Tests a coefficient for symmetry.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">str</span></code>) – name of the coefficient</li>
<li><strong>verbose</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if set to True or not present a report on coefficients
which break the symmetry is printed.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">True if coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code> is symmetric</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.checkSymmetry">
<code class="descname">checkSymmetry</code><span class="sig-paren">(</span><em>verbose=True</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.checkSymmetry" title="Permalink to this definition">¶</a></dt>
<dd><p>Tests the PDE for symmetry.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>verbose</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if set to True or not present a report on coefficients
which break the symmetry is printed.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True if the PDE is symmetric</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">This is a very expensive operation. It should be used for
degugging only! The symmetry flag is not altered.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.createCoefficient">
<code class="descname">createCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.createCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object corresponding to coefficient
<code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code> initialized to 0</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if <code class="docutils literal notranslate"><span class="pre">name</span></code> is not a coefficient of the PDE</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.createOperator">
<code class="descname">createOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.createOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an instance of a new operator.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.createRightHandSide">
<code class="descname">createRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.createRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an instance of a new right hand side.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.createSolution">
<code class="descname">createSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.createSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an instance of a new solution.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getCoefficient">
<code class="descname">getCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the value of the coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – name of the coefficient requested</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the value of the coefficient</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if <code class="docutils literal notranslate"><span class="pre">name</span></code> is not a coefficient of the PDE</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getCurrentOperator">
<code class="descname">getCurrentOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getCurrentOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the operator in its current state.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getCurrentRightHandSide">
<code class="descname">getCurrentRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getCurrentRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the right hand side in its current state.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getCurrentSolution">
<code class="descname">getCurrentSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getCurrentSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the solution in its current state.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getDim">
<code class="descname">getDim</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getDim" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the spatial dimension of the PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the spatial dimension of the PDE domain</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">int</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getDomain">
<code class="descname">getDomain</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getDomain" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the domain of the PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the domain of the PDE</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Domain</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getDomainStatus">
<code class="descname">getDomainStatus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getDomainStatus" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the status indicator of the domain</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getFlux">
<code class="descname">getFlux</code><span class="sig-paren">(</span><em>u=None</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getFlux" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the flux <em>J</em> for a given <em>u</em>.</p>
<p><em>J[i,j]=(A[i,j,k,l]+A_reduced[A[i,j,k,l]]*grad(u[k])[l]+(B[i,j,k]+B_reduced[i,j,k])u[k]-X[i,j]-X_reduced[i,j]</em></p>
<p>or</p>
<p><em>J[j]=(A[i,j]+A_reduced[i,j])*grad(u)[l]+(B[j]+B_reduced[j])u-X[j]-X_reduced[j]</em></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>u</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> or None) – argument in the flux. If u is not present or equals <code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code> the
current solution is used.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">flux</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getFunctionSpaceForCoefficient">
<code class="descname">getFunctionSpaceForCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getFunctionSpaceForCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code> to be used for
coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – name of the coefficient enquired</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the function space to be used for coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if <code class="docutils literal notranslate"><span class="pre">name</span></code> is not a coefficient of the PDE</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getFunctionSpaceForEquation">
<code class="descname">getFunctionSpaceForEquation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getFunctionSpaceForEquation" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code> used to discretize
the equation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">representation space of equation</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getFunctionSpaceForSolution">
<code class="descname">getFunctionSpaceForSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getFunctionSpaceForSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code> used to represent
the solution.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">representation space of solution</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionSpace</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getNumEquations">
<code class="descname">getNumEquations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getNumEquations" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the number of equations.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the number of equations</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">int</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.UndefinedPDEError" title="esys.escript.linearPDEs.UndefinedPDEError"><strong>UndefinedPDEError</strong></a> – if the number of equations is not specified yet</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getNumSolutions">
<code class="descname">getNumSolutions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getNumSolutions" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the number of unknowns.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the number of unknowns</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">int</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.UndefinedPDEError" title="esys.escript.linearPDEs.UndefinedPDEError"><strong>UndefinedPDEError</strong></a> – if the number of unknowns is not specified yet</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getOperator">
<code class="descname">getOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the operator of the linear problem.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the operator of the problem</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getOperatorType">
<code class="descname">getOperatorType</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getOperatorType" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the current system type.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getRequiredOperatorType">
<code class="descname">getRequiredOperatorType</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getRequiredOperatorType" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the system type which needs to be used by the current set up.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getResidual">
<code class="descname">getResidual</code><span class="sig-paren">(</span><em>u=None</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getResidual" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the residual of u or the current solution if u is not present.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>u</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> or None) – argument in the residual calculation. It must be representable
in <code class="xref py py-obj docutils literal notranslate"><span class="pre">self.getFunctionSpaceForSolution()</span></code>. If u is not present
or equals <code class="docutils literal notranslate"><span class="pre">None</span></code> the current solution is used.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">residual of u</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getRightHandSide">
<code class="descname">getRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the right hand side of the linear problem.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the right hand side of the problem</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getShapeOfCoefficient">
<code class="descname">getShapeOfCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getShapeOfCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the shape of the coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – name of the coefficient enquired</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the shape of the coefficient <code class="docutils literal notranslate"><span class="pre">name</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">tuple</span></code> of <code class="docutils literal notranslate"><span class="pre">int</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if <code class="docutils literal notranslate"><span class="pre">name</span></code> is not a coefficient of the PDE</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getSolution">
<code class="descname">getSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the solution of the PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the solution</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getSolverOptions">
<code class="descname">getSolverOptions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getSolverOptions" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the solver options</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">SolverOptions</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getSystem">
<code class="descname">getSystem</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the operator and right hand side of the PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the discrete version of the PDE</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">tuple</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">Operator</span></code> and
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.getSystemStatus">
<code class="descname">getSystemStatus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.getSystemStatus" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the domain status used to build the current system</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.hasCoefficient">
<code class="descname">hasCoefficient</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.hasCoefficient" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if <code class="docutils literal notranslate"><span class="pre">name</span></code> is the name of a coefficient.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – name of the coefficient enquired</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True if <code class="docutils literal notranslate"><span class="pre">name</span></code> is the name of a coefficient of the general PDE,
False otherwise</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.initializeSystem">
<code class="descname">initializeSystem</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.initializeSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>Resets the system clearing the operator, right hand side and solution.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.insertConstraint">
<code class="descname">insertConstraint</code><span class="sig-paren">(</span><em>rhs_only=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.insertConstraint" title="Permalink to this definition">¶</a></dt>
<dd><p>Applies the constraints defined by q and r to the PDE.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>rhs_only</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if True only the right hand side is altered by the
constraint</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.introduceCoefficients">
<code class="descname">introduceCoefficients</code><span class="sig-paren">(</span><em>**coeff</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.introduceCoefficients" title="Permalink to this definition">¶</a></dt>
<dd><p>Introduces new coefficients into the problem.</p>
<p>Use:</p>
<p>p.introduceCoefficients(A=PDECoef(…), B=PDECoef(…))</p>
<p>to introduce the coefficients <em>A</em> and <em>B</em>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.invalidateOperator">
<code class="descname">invalidateOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.invalidateOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicates the operator has to be rebuilt next time it is used.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.invalidateRightHandSide">
<code class="descname">invalidateRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.invalidateRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicates the right hand side has to be rebuilt next time it is used.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.invalidateSolution">
<code class="descname">invalidateSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.invalidateSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicates the PDE has to be resolved if the solution is requested.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.invalidateSystem">
<code class="descname">invalidateSystem</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.invalidateSystem" title="Permalink to this definition">¶</a></dt>
<dd><p>Announces that everything has to be rebuilt.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isComplex">
<code class="descname">isComplex</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isComplex" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns true if this is a complex-valued LinearProblem, false if
real-valued.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isHermitian">
<code class="descname">isHermitian</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isHermitian" title="Permalink to this definition">¶</a></dt>
<dd><p>Checks if the pde is indicated to be Hermitian.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if a Hermitian PDE is indicated, False otherwise</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">the method is equivalent to use getSolverOptions().isHermitian()</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isOperatorValid">
<code class="descname">isOperatorValid</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isOperatorValid" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if the operator is still valid.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isRightHandSideValid">
<code class="descname">isRightHandSideValid</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isRightHandSideValid" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if the operator is still valid.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isSolutionValid">
<code class="descname">isSolutionValid</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isSolutionValid" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if the solution is still valid.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isSymmetric">
<code class="descname">isSymmetric</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isSymmetric" title="Permalink to this definition">¶</a></dt>
<dd><p>Checks if symmetry is indicated.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if a symmetric PDE is indicated, False otherwise</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">the method is equivalent to use getSolverOptions().isSymmetric()</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isSystemValid">
<code class="descname">isSystemValid</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isSystemValid" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if the system (including solution) is still vaild.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.isUsingLumping">
<code class="descname">isUsingLumping</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.isUsingLumping" title="Permalink to this definition">¶</a></dt>
<dd><p>Checks if matrix lumping is the current solver method.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if the current solver method is lumping</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.preservePreconditioner">
<code class="descname">preservePreconditioner</code><span class="sig-paren">(</span><em>preserve=True</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.preservePreconditioner" title="Permalink to this definition">¶</a></dt>
<dd><p>Notifies the PDE that the preconditioner should not be reset when
making changes to the operator.</p>
<p>Building the preconditioner data can be quite expensive (e.g. for
multigrid methods) so if it is known that changes to the operator are
going to be minor calling this method can speed up successive PDE
solves.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">Not all operator types support this.</td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>preserve</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if True, preconditioner will be preserved, otherwise
it will be reset when making changes to the operator,
which is the default behaviour.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.reduceEquationOrder">
<code class="descname">reduceEquationOrder</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.reduceEquationOrder" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the status of order reduction for the equation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if reduced interpolation order is used for the
representation of the equation, False otherwise</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.reduceSolutionOrder">
<code class="descname">reduceSolutionOrder</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.reduceSolutionOrder" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the status of order reduction for the solution.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if reduced interpolation order is used for the
representation of the solution, False otherwise</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.resetAllCoefficients">
<code class="descname">resetAllCoefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.resetAllCoefficients" title="Permalink to this definition">¶</a></dt>
<dd><p>Resets all coefficients to their default values.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.resetOperator">
<code class="descname">resetOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.resetOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Makes sure that the operator is instantiated and returns it initialized
with zeros.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.resetRightHandSide">
<code class="descname">resetRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.resetRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the right hand side to zero.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.resetRightHandSideCoefficients">
<code class="descname">resetRightHandSideCoefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.resetRightHandSideCoefficients" title="Permalink to this definition">¶</a></dt>
<dd><p>Resets all coefficients defining the right hand side</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.resetSolution">
<code class="descname">resetSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.resetSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the solution to zero.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setDebug">
<code class="descname">setDebug</code><span class="sig-paren">(</span><em>flag</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setDebug" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches debug output on if <code class="docutils literal notranslate"><span class="pre">flag</span></code> is True otherwise it is switched off.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – desired debug status</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setDebugOff">
<code class="descname">setDebugOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setDebugOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches debug output off.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setDebugOn">
<code class="descname">setDebugOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setDebugOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches debug output on.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setHermitian">
<code class="descname">setHermitian</code><span class="sig-paren">(</span><em>flag=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setHermitian" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the Hermitian flag to <code class="docutils literal notranslate"><span class="pre">flag</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – If True, the Hermitian flag is set otherwise reset.</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">The method overwrites the Hermitian flag set by the solver options</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setHermitianOff">
<code class="descname">setHermitianOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setHermitianOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Clears the Hermitian flag.
:note: The method overwrites the Hermitian flag set by the solver options</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setHermitianOn">
<code class="descname">setHermitianOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setHermitianOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the Hermitian flag.
:note: The method overwrites the Hermitian flag set by the solver options</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForEquationOff">
<code class="descname">setReducedOrderForEquationOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForEquationOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order off for equation representation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForEquationOn">
<code class="descname">setReducedOrderForEquationOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForEquationOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order on for equation representation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForEquationTo">
<code class="descname">setReducedOrderForEquationTo</code><span class="sig-paren">(</span><em>flag=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForEquationTo" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets order reduction state for equation representation according to flag.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if flag is True, the order reduction is switched on for
equation representation, otherwise or if flag is not present
order reduction is switched off</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForSolutionOff">
<code class="descname">setReducedOrderForSolutionOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForSolutionOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order off for solution representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForSolutionOn">
<code class="descname">setReducedOrderForSolutionOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForSolutionOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order on for solution representation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderForSolutionTo">
<code class="descname">setReducedOrderForSolutionTo</code><span class="sig-paren">(</span><em>flag=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderForSolutionTo" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets order reduction state for solution representation according to flag.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if flag is True, the order reduction is switched on for
solution representation, otherwise or if flag is not present
order reduction is switched off</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderOff">
<code class="descname">setReducedOrderOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order off for solution and equation representation</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderOn">
<code class="descname">setReducedOrderOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Switches reduced order on for solution and equation representation.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setReducedOrderTo">
<code class="descname">setReducedOrderTo</code><span class="sig-paren">(</span><em>flag=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setReducedOrderTo" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets order reduction state for both solution and equation representation
according to flag.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – if True, the order reduction is switched on for both solution
and equation representation, otherwise or if flag is not
present order reduction is switched off</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><strong>RuntimeError</strong> – if order reduction is altered after a coefficient has
been set</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSolution">
<code class="descname">setSolution</code><span class="sig-paren">(</span><em>u</em>, <em>validate=True</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the solution assuming that makes the system valid with the tolrance
defined by the solver options</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSolverOptions">
<code class="descname">setSolverOptions</code><span class="sig-paren">(</span><em>options=None</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSolverOptions" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the solver options.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>options</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">SolverOptions</span></code> or <code class="docutils literal notranslate"><span class="pre">None</span></code>) – the new solver options. If equal <code class="docutils literal notranslate"><span class="pre">None</span></code>, the solver options are set to the default.</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">The symmetry flag of options is overwritten by the symmetry flag of the <code class="xref py py-obj docutils literal notranslate"><span class="pre">LinearProblem</span></code>.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSymmetry">
<code class="descname">setSymmetry</code><span class="sig-paren">(</span><em>flag=False</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSymmetry" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the symmetry flag to <code class="docutils literal notranslate"><span class="pre">flag</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>flag</strong> (<code class="docutils literal notranslate"><span class="pre">bool</span></code>) – If True, the symmetry flag is set otherwise reset.</td>
</tr>
<tr class="field-even field"><th class="field-name">Note:</th><td class="field-body">The method overwrites the symmetry flag set by the solver options</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSymmetryOff">
<code class="descname">setSymmetryOff</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSymmetryOff" title="Permalink to this definition">¶</a></dt>
<dd><p>Clears the symmetry flag.
:note: The method overwrites the symmetry flag set by the solver options</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSymmetryOn">
<code class="descname">setSymmetryOn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSymmetryOn" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the symmetry flag.
:note: The method overwrites the symmetry flag set by the solver options</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setSystemStatus">
<code class="descname">setSystemStatus</code><span class="sig-paren">(</span><em>status=None</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setSystemStatus" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the system status to <code class="docutils literal notranslate"><span class="pre">status</span></code> if <code class="docutils literal notranslate"><span class="pre">status</span></code> is not present the
current status of the domain is used.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.setValue">
<code class="descname">setValue</code><span class="sig-paren">(</span><em>**coefficients</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.setValue" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets new values to coefficients.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>coefficients</strong> – new values assigned to coefficients</li>
<li><strong>A</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">A</span></code></li>
<li><strong>A_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">A_reduced</span></code></li>
<li><strong>B</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">B</span></code></li>
<li><strong>B_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">B_reduced</span></code></li>
<li><strong>C</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">C</span></code></li>
<li><strong>C_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">C_reduced</span></code></li>
<li><strong>D</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">D</span></code></li>
<li><strong>D_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">D_reduced</span></code></li>
<li><strong>X</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">X</span></code></li>
<li><strong>X_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">X_reduced</span></code></li>
<li><strong>Y</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Function</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">Y</span></code></li>
<li><strong>Y_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunction</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">Y_reduced</span></code></li>
<li><strong>d</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnBoundary</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">d</span></code></li>
<li><strong>d_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnBoundary</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">d_reduced</span></code></li>
<li><strong>y</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnBoundary</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">y</span></code></li>
<li><strong>d_contact</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactOne</span></code>
or <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactZero</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">d_contact</span></code></li>
<li><strong>d_contact_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactOne</span></code>
or <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactZero</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">d_contact_reduced</span></code></li>
<li><strong>y_contact</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactOne</span></code>
or <code class="xref py py-obj docutils literal notranslate"><span class="pre">FunctionOnContactZero</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">y_contact</span></code></li>
<li><strong>y_contact_reduced</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code>
object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactOne</span></code>
or <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedFunctionOnContactZero</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">y_contact_reduced</span></code></li>
<li><strong>d_dirac</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">DiracDeltaFunctions</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">d_dirac</span></code></li>
<li><strong>y_dirac</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on <code class="xref py py-obj docutils literal notranslate"><span class="pre">DiracDeltaFunctions</span></code>) – value for coefficient <code class="docutils literal notranslate"><span class="pre">y_dirac</span></code></li>
<li><strong>r</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Solution</span></code> or <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedSolution</span></code>
depending on whether reduced order is used for the solution) – values prescribed to the solution at the locations of
constraints</li>
<li><strong>q</strong> (any type that can be cast to a <code class="xref py py-obj docutils literal notranslate"><span class="pre">Data</span></code> object on
<code class="xref py py-obj docutils literal notranslate"><span class="pre">Solution</span></code> or <code class="xref py py-obj docutils literal notranslate"><span class="pre">ReducedSolution</span></code>
depending on whether reduced order is used for the
representation of the equation) – mask for location of constraints</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><p class="first last"><a class="reference internal" href="esys.escript.linearPDEs.html#esys.escript.linearPDEs.IllegalCoefficient" title="esys.escript.linearPDEs.IllegalCoefficient"><strong>IllegalCoefficient</strong></a> – if an unknown coefficient keyword is used</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.shouldPreservePreconditioner">
<code class="descname">shouldPreservePreconditioner</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.shouldPreservePreconditioner" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns true if the preconditioner / factorisation should be kept even
when resetting the operator.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">bool</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>text</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>Prints the text message if debug mode is switched on.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>text</strong> (<code class="docutils literal notranslate"><span class="pre">string</span></code>) – message to be printed</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.validOperator">
<code class="descname">validOperator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.validOperator" title="Permalink to this definition">¶</a></dt>
<dd><p>Marks the operator as valid.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.validRightHandSide">
<code class="descname">validRightHandSide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.validRightHandSide" title="Permalink to this definition">¶</a></dt>
<dd><p>Marks the right hand side as valid.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.LinearPDE.validSolution">
<code class="descname">validSolution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.LinearPDE.validSolution" title="Permalink to this definition">¶</a></dt>
<dd><p>Marks the solution as valid.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.MergeConstraints">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">MergeConstraints</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>Returns a linear combination of the f0*v0+f1*v1+f2*v2+f3*v3+f4*v4</p>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.MergeConstraints.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.location_of_constraint">
<code class="descname">location_of_constraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.location_of_constraint" title="Permalink to this definition">¶</a></dt>
<dd><p>return the values used to constrain a solution</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the mask marking the locations of the constraints</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Scalar</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.value_of_constraint">
<code class="descname">value_of_constraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.value_of_constraint" title="Permalink to this definition">¶</a></dt>
<dd><p>return the values used to constrain a solution</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">values to be used at the locations of the constraints. If
<code class="docutils literal notranslate"><span class="pre">value</span></code> is not given <code class="docutils literal notranslate"><span class="pre">None</span></code> is rerturned.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Scalar</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.MergeConstraints.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.MergeConstraints.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.Model">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">Model</code><span class="sig-paren">(</span><em>parameters=[]</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>A Model object represents a process marching over time until a
finalizing condition is fulfilled. At each time step an iterative
process can be performed and the time step size can be controlled. A
Model has the following work flow:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">doInitialization</span><span class="p">()</span>
<span class="k">while</span> <span class="ow">not</span> <span class="n">terminateInitialIteration</span><span class="p">():</span> <span class="n">doInitialStep</span><span class="p">()</span>
<span class="n">doInitialPostprocessing</span><span class="p">()</span>
<span class="k">while</span> <span class="ow">not</span> <span class="n">finalize</span><span class="p">():</span>
<span class="n">dt</span><span class="o">=</span><span class="n">getSafeTimeStepSize</span><span class="p">(</span><span class="n">dt</span><span class="p">)</span>
<span class="n">doStepPreprocessing</span><span class="p">(</span><span class="n">dt</span><span class="p">)</span>
<span class="k">while</span> <span class="ow">not</span> <span class="n">terminateIteration</span><span class="p">():</span> <span class="n">doStep</span><span class="p">(</span><span class="n">dt</span><span class="p">)</span>
<span class="n">doStepPostprocessing</span><span class="p">(</span><span class="n">dt</span><span class="p">)</span>
<span class="n">doFinalization</span><span class="p">()</span>
</pre></div>
</div>
<p>where <code class="docutils literal notranslate"><span class="pre">doInitialization</span></code>, <code class="docutils literal notranslate"><span class="pre">finalize</span></code>, <code class="docutils literal notranslate"><span class="pre">getSafeTimeStepSize</span></code>,
<code class="docutils literal notranslate"><span class="pre">doStepPreprocessing</span></code>, <code class="docutils literal notranslate"><span class="pre">terminateIteration</span></code>, <code class="docutils literal notranslate"><span class="pre">doStepPostprocessing</span></code>,
<code class="docutils literal notranslate"><span class="pre">doFinalization</span></code> are methods of the particular instance of a Model. The
default implementations of these methods have to be overwritten by the
subclass implementing a Model.</p>
<dl class="method">
<dt id="esys.modellib.input.Model.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>parameters=[]</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a model.</p>
<p>Just calls the parent constructor.</p>
</dd></dl>
<dl class="attribute">
<dt id="esys.modellib.input.Model.UNDEF_DT">
<code class="descname">UNDEF_DT</code><em class="property"> = 1e+300</em><a class="headerlink" href="#esys.modellib.input.Model.UNDEF_DT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doFinalization">
<code class="descname">doFinalization</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doFinalization" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalizes the time stepping.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doInitialPostprocessing">
<code class="descname">doInitialPostprocessing</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doInitialPostprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalises the initialization iteration process. This method is not
called in case of a restart.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doInitialStep">
<code class="descname">doInitialStep</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doInitialStep" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs an iteration step in the initialization phase. This method
is not called in case of a restart.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doInitialization">
<code class="descname">doInitialization</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doInitialization" title="Permalink to this definition">¶</a></dt>
<dd><p>Initializes the time stepping scheme. This method is not called in
case of a restart.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doStep">
<code class="descname">doStep</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doStep" title="Permalink to this definition">¶</a></dt>
<dd><p>Executes an iteration step at a time step.</p>
<p><code class="docutils literal notranslate"><span class="pre">dt</span></code> is the currently used time step size.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doStepPostprocessing">
<code class="descname">doStepPostprocessing</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doStepPostprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalises the time step.</p>
<p>dt is the currently used time step size.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.doStepPreprocessing">
<code class="descname">doStepPreprocessing</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.doStepPreprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets up a time step of step size dt.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.finalize">
<code class="descname">finalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.finalize" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns False if the time stepping is finalized.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.Model.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.getSafeTimeStepSize">
<code class="descname">getSafeTimeStepSize</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.getSafeTimeStepSize" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a time step size which can be safely used.</p>
<p><code class="docutils literal notranslate"><span class="pre">dt</span></code> gives the previously used step size.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets up the model.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.terminateInitialIteration">
<code class="descname">terminateInitialIteration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.terminateInitialIteration" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if iteration at the inital phase is terminated.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.terminateIteration">
<code class="descname">terminateIteration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.terminateIteration" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if iteration on a time step is terminated.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Model.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Model.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.ParameterSet">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">ParameterSet</code><span class="sig-paren">(</span><em>parameters=[]</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.LinkableObject</span></code></p>
<p>A class which allows to emphasize attributes to be written and read to XML.</p>
<p>Leaves of an ESySParameters object can be:</p>
<blockquote>
<div><ul class="simple">
<li>a real number</li>
<li>an integer number</li>
<li>a string</li>
<li>a boolean value</li>
<li>a ParameterSet object</li>
<li>a Simulation object</li>
<li>a Model object</li>
<li>a numpy object</li>
<li>a list of booleans</li>
<li>any other object (not considered by writeESySXML and writeXML)</li>
</ul>
</div></blockquote>
<p>Example for how to create an ESySParameters object:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">p11</span><span class="o">=</span><span class="n">ParameterSet</span><span class="p">(</span><span class="n">gamma1</span><span class="o">=</span><span class="mf">1.</span><span class="p">,</span><span class="n">gamma2</span><span class="o">=</span><span class="mf">2.</span><span class="p">,</span><span class="n">gamma3</span><span class="o">=</span><span class="mf">3.</span><span class="p">)</span>
<span class="n">p1</span><span class="o">=</span><span class="n">ParameterSet</span><span class="p">(</span><span class="n">dim</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span><span class="n">tol_v</span><span class="o">=</span><span class="mf">0.001</span><span class="p">,</span><span class="n">output_file</span><span class="o">=</span><span class="s2">"/tmp/u.</span><span class="si">%3.3d</span><span class="s2">.dx"</span><span class="p">,</span><span class="n">runFlag</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span><span class="n">parm11</span><span class="o">=</span><span class="n">p11</span><span class="p">)</span>
<span class="n">parm</span><span class="o">=</span><span class="n">ParameterSet</span><span class="p">(</span><span class="n">parm1</span><span class="o">=</span><span class="n">p1</span><span class="p">,</span><span class="n">parm2</span><span class="o">=</span><span class="n">ParameterSet</span><span class="p">(</span><span class="n">alpha</span><span class="o">=</span><span class="n">Link</span><span class="p">(</span><span class="n">p11</span><span class="p">,</span><span class="s2">"gamma1"</span><span class="p">)))</span>
</pre></div>
</div>
<p>This can be accessed as:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">gamma</span><span class="o">=</span><span class="mf">0.</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">dim</span><span class="o">=</span><span class="mi">2</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">tol_v</span><span class="o">=</span><span class="mf">0.001</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">output_file</span><span class="o">=</span><span class="s2">"/tmp/u.</span><span class="si">%3.3d</span><span class="s2">.dx"</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">runFlag</span><span class="o">=</span><span class="kc">True</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">parm11</span><span class="o">.</span><span class="n">gamma1</span><span class="o">=</span><span class="mf">1.</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">parm11</span><span class="o">.</span><span class="n">gamma2</span><span class="o">=</span><span class="mf">2.</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">parm11</span><span class="o">.</span><span class="n">gamma3</span><span class="o">=</span><span class="mf">3.</span>
<span class="n">parm</span><span class="o">.</span><span class="n">parm2</span><span class="o">.</span><span class="n">alpha</span><span class="o">=</span><span class="mf">1.</span> <span class="p">(</span><span class="n">value</span> <span class="n">of</span> <span class="n">parm</span><span class="o">.</span><span class="n">parm1</span><span class="o">.</span><span class="n">parm11</span><span class="o">.</span><span class="n">gamma1</span><span class="p">)</span>
</pre></div>
</div>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>parameters=[]</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.ParameterSet.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ParameterSet.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ParameterSet.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.ScalarDistributionFromTags">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">ScalarDistributionFromTags</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>creates a scalar distribution on a domain from tags, If tag_map is given
the tags can be given a names and tag_map is used to map it into domain tags.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple">
<li><a class="reference internal" href="esys.modellib.geometry.html#esys.modellib.geometry.DomainReader.domain" title="esys.modellib.geometry.DomainReader.domain"><strong>domain</strong></a> – domain</li>
<li><strong>default</strong> – default value</li>
<li><strong>tag0</strong> – tag 0</li>
<li><strong>value0</strong> – value for tag 0</li>
<li><strong>tag1</strong> – tag 1</li>
<li><strong>value1</strong> – value for tag 1</li>
<li><strong>tag2</strong> – tag 2</li>
<li><strong>value2</strong> – value for tag 2</li>
<li><strong>tag3</strong> – tag 3</li>
<li><strong>value3</strong> – value for tag 3</li>
<li><strong>tag4</strong> – tag 4</li>
<li><strong>value4</strong> – value for tag 4</li>
<li><strong>tag5</strong> – tag 5</li>
<li><strong>value5</strong> – value for tag 5</li>
<li><strong>tag6</strong> – tag 6</li>
<li><strong>value6</strong> – value for tag 6</li>
<li><strong>tag7</strong> – tag 7</li>
<li><strong>value7</strong> – value for tag 7</li>
<li><strong>tag8</strong> – tag 8</li>
<li><strong>value8</strong> – value for tag 8</li>
<li><strong>tag9</strong> – tag 9</li>
<li><strong>value9</strong> – value for tag 9</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.ScalarDistributionFromTags.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.out" title="Permalink to this definition">¶</a></dt>
<dd><p>returns a <a class="reference internal" href="esys.escript.html#esys.escript.Data" title="esys.escript.Data"><code class="xref py py-obj docutils literal notranslate"><span class="pre">esys.escript.Data</span></code></a> object
Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.ScalarDistributionFromTags.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.ScalarDistributionFromTags.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.Sequencer">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">Sequencer</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.Model</span></code></p>
<p>Runs through time until t_end is reached.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple">
<li><strong>t_end</strong> – model is terminated when t_end is passed, default 1 (in).</li>
<li><strong>dt_max</strong> – maximum time step size, default <a class="reference internal" href="#esys.modellib.input.Model.UNDEF_DT" title="esys.modellib.input.Model.UNDEF_DT"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Model.UNDEF_DT</span></code></a> (in)</li>
<li><strong>t</strong> – current time stamp (in/out). By default it is initialized with zero.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.__init__" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="esys.modellib.input.Sequencer.UNDEF_DT">
<code class="descname">UNDEF_DT</code><em class="property"> = 1e+300</em><a class="headerlink" href="#esys.modellib.input.Sequencer.UNDEF_DT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doFinalization">
<code class="descname">doFinalization</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doFinalization" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalizes the time stepping.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doInitialPostprocessing">
<code class="descname">doInitialPostprocessing</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doInitialPostprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalises the initialization iteration process. This method is not
called in case of a restart.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doInitialStep">
<code class="descname">doInitialStep</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doInitialStep" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs an iteration step in the initialization phase. This method
is not called in case of a restart.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doInitialization">
<code class="descname">doInitialization</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doInitialization" title="Permalink to this definition">¶</a></dt>
<dd><p>initialize time integration</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doStep">
<code class="descname">doStep</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doStep" title="Permalink to this definition">¶</a></dt>
<dd><p>Executes an iteration step at a time step.</p>
<p><code class="docutils literal notranslate"><span class="pre">dt</span></code> is the currently used time step size.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doStepPostprocessing">
<code class="descname">doStepPostprocessing</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doStepPostprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalises the time step.</p>
<p>dt is the currently used time step size.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.doStepPreprocessing">
<code class="descname">doStepPreprocessing</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.doStepPreprocessing" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets up a time step of step size dt.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.finalize">
<code class="descname">finalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.finalize" title="Permalink to this definition">¶</a></dt>
<dd><p>returns true when <code class="xref py py-obj docutils literal notranslate"><span class="pre">t</span></code> has reached <code class="xref py py-obj docutils literal notranslate"><span class="pre">t_end</span></code></p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.Sequencer.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.getSafeTimeStepSize">
<code class="descname">getSafeTimeStepSize</code><span class="sig-paren">(</span><em>dt</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.getSafeTimeStepSize" title="Permalink to this definition">¶</a></dt>
<dd><p>returns <code class="xref py py-obj docutils literal notranslate"><span class="pre">dt_max</span></code></p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets up the model.</p>
<p>This function may be overwritten.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.terminateInitialIteration">
<code class="descname">terminateInitialIteration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.terminateInitialIteration" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if iteration at the inital phase is terminated.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.terminateIteration">
<code class="descname">terminateIteration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.terminateIteration" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if iteration on a time step is terminated.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.Sequencer.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.Sequencer.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags">
<em class="property">class </em><code class="descclassname">esys.modellib.input.</code><code class="descname">SmoothScalarDistributionFromTags</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">esys.escriptcore.modelframe.ParameterSet</span></code></p>
<p>creates a smooth scalar distribution on a domain from region tags</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Variables:</th><td class="field-body"><ul class="first last simple">
<li><a class="reference internal" href="esys.modellib.geometry.html#esys.modellib.geometry.DomainReader.domain" title="esys.modellib.geometry.DomainReader.domain"><strong>domain</strong></a> – domain</li>
<li><strong>default</strong> – default value</li>
<li><strong>tag0</strong> – tag 0</li>
<li><strong>value0</strong> – value for tag 0</li>
<li><strong>tag1</strong> – tag 1</li>
<li><strong>value1</strong> – value for tag 1</li>
<li><strong>tag2</strong> – tag 2</li>
<li><strong>value2</strong> – value for tag 2</li>
<li><strong>tag3</strong> – tag 3</li>
<li><strong>value3</strong> – value for tag 3</li>
<li><strong>tag4</strong> – tag 4</li>
<li><strong>value4</strong> – value for tag 4</li>
<li><strong>tag5</strong> – tag 5</li>
<li><strong>value5</strong> – value for tag 5</li>
<li><strong>tag6</strong> – tag 6</li>
<li><strong>value6</strong> – value for tag 6</li>
<li><strong>tag7</strong> – tag 7</li>
<li><strong>value7</strong> – value for tag 7</li>
<li><strong>tag8</strong> – tag 8</li>
<li><strong>value8</strong> – value for tag 8</li>
<li><strong>tag9</strong> – tag 9</li>
<li><strong>value9</strong> – value for tag 9</li>
</ul>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.__init__">
<code class="descname">__init__</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a ParameterSet with given parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.checkLinkTargets">
<code class="descname">checkLinkTargets</code><span class="sig-paren">(</span><em>models</em>, <em>hash</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.checkLinkTargets" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a set of tuples (“<self>(<name>)”, <target model>) if the
parameter <name> is linked to model <target model> but <target model>
is not in the list of models. If a parameter is linked to another
parameter set which is not in the hash list the parameter set is
checked for its models. hash gives the call history.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.declareParameter">
<code class="descname">declareParameter</code><span class="sig-paren">(</span><em>**parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.declareParameter" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares one or more new parameters and their initial value.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.declareParameters">
<code class="descname">declareParameters</code><span class="sig-paren">(</span><em>parameters</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.declareParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Declares a set of parameters. parameters can be a list, a dictionary
or a ParameterSet.</p>
</dd></dl>
<dl class="classmethod">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.fromDom">
<em class="property">classmethod </em><code class="descname">fromDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.fromDom" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.getAttributeObject">
<code class="descname">getAttributeObject</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.getAttributeObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the object stored for attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.hasAttribute">
<code class="descname">hasAttribute</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.hasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns True if self has attribute <code class="docutils literal notranslate"><span class="pre">name</span></code>.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.out">
<code class="descname">out</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.out" title="Permalink to this definition">¶</a></dt>
<dd><p>returns a <a class="reference internal" href="esys.escript.html#esys.escript.Data" title="esys.escript.Data"><code class="xref py py-obj docutils literal notranslate"><span class="pre">esys.escript.Data</span></code></a> object
Link against this method to get the output of this model.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.releaseParameters">
<code class="descname">releaseParameters</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.releaseParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Removes parameter name from the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.showParameters">
<code class="descname">showParameters</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.showParameters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a description of the parameters.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.toDom">
<code class="descname">toDom</code><span class="sig-paren">(</span><em>esysxml</em>, <em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.toDom" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal notranslate"><span class="pre">toDom</span></code> method of Model class.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.trace">
<code class="descname">trace</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.trace" title="Permalink to this definition">¶</a></dt>
<dd><p>If debugging is on, prints the message, otherwise does nothing.</p>
</dd></dl>
<dl class="method">
<dt id="esys.modellib.input.SmoothScalarDistributionFromTags.writeXML">
<code class="descname">writeXML</code><span class="sig-paren">(</span><em>ostream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'></em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.SmoothScalarDistributionFromTags.writeXML" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes the object as an XML object into an output stream.</p>
</dd></dl>
</dd></dl>
</div>
<div class="section" id="functions">
<h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="esys.modellib.input.exp">
<code class="descclassname">esys.modellib.input.</code><code class="descname">exp</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.exp" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns <em>e</em> to the power of argument <code class="docutils literal notranslate"><span class="pre">arg</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>.) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code> depending
on the type of arg</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>TypeError</strong> – if the type of the argument is not expected</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="esys.modellib.input.inf">
<code class="descclassname">esys.modellib.input.</code><code class="descname">inf</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.inf" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the minimum value over all data points.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">minimum value of <code class="docutils literal notranslate"><span class="pre">arg</span></code> over all components and all data points</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><strong>TypeError</strong> – if type of <code class="docutils literal notranslate"><span class="pre">arg</span></code> cannot be processed</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="esys.modellib.input.length">
<code class="descclassname">esys.modellib.input.</code><code class="descname">length</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.length" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the length (Euclidean norm) of argument <code class="docutils literal notranslate"><span class="pre">arg</span></code> at each data point.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code> depending on the type of <code class="docutils literal notranslate"><span class="pre">arg</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="esys.modellib.input.sup">
<code class="descclassname">esys.modellib.input.</code><code class="descname">sup</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.sup" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the maximum value over all data points.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">maximum value of <code class="docutils literal notranslate"><span class="pre">arg</span></code> over all components and all data points</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code></td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><strong>TypeError</strong> – if type of <code class="docutils literal notranslate"><span class="pre">arg</span></code> cannot be processed</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="esys.modellib.input.whereNegative">
<code class="descclassname">esys.modellib.input.</code><code class="descname">whereNegative</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.whereNegative" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns mask of negative values of argument <code class="docutils literal notranslate"><span class="pre">arg</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code> depending
on the type of <code class="docutils literal notranslate"><span class="pre">arg</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>TypeError</strong> – if the type of the argument is not expected</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="esys.modellib.input.wherePositive">
<code class="descclassname">esys.modellib.input.</code><code class="descname">wherePositive</code><span class="sig-paren">(</span><em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#esys.modellib.input.wherePositive" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns mask of positive values of argument <code class="docutils literal notranslate"><span class="pre">arg</span></code>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> (<code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code>.) – argument</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><code class="docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">escript.Data</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">Symbol</span></code>, <code class="docutils literal notranslate"><span class="pre">numpy.ndarray</span></code> depending
on the type of <code class="docutils literal notranslate"><span class="pre">arg</span></code></td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>TypeError</strong> – if the type of the argument is not expected</td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
<div class="section" id="others">
<h2>Others<a class="headerlink" href="#others" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>log</li>
</ul>
</div>
<div class="section" id="packages">
<h2>Packages<a class="headerlink" href="#packages" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">esys.modellib.input Package</a><ul>
<li><a class="reference internal" href="#classes">Classes</a></li>
<li><a class="reference internal" href="#functions">Functions</a></li>
<li><a class="reference internal" href="#others">Others</a></li>
<li><a class="reference internal" href="#packages">Packages</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">esys.escript 5.6 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2012-2014, Author.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.4.
</div>
</body>
</html>
|