/usr/lib/python2.7/dist-packages/cp4vasp.py is in p4vasp 0.3.30+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_cp4vasp')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_cp4vasp')
_cp4vasp = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_cp4vasp', [dirname(__file__)])
except ImportError:
import _cp4vasp
return _cp4vasp
try:
_mod = imp.load_module('_cp4vasp', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
_cp4vasp = swig_import_helper()
del swig_import_helper
else:
import _cp4vasp
del _swig_python_version_info
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
class ClassInterface:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ClassInterface, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ClassInterface, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_ClassInterface()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.ClassInterface_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_ClassInterface
__del__ = lambda self: None
ClassInterface_swigregister = _cp4vasp.ClassInterface_swigregister
ClassInterface_swigregister(ClassInterface)
def getAtomtypesRecordHash(s):
return _cp4vasp.getAtomtypesRecordHash(s)
getAtomtypesRecordHash = _cp4vasp.getAtomtypesRecordHash
class AtomtypesRecord(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AtomtypesRecord, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, AtomtypesRecord, name)
__repr__ = _swig_repr
def getClassName(self):
return _cp4vasp.AtomtypesRecord_getClassName(self)
def __init__(self):
this = _cp4vasp.new_AtomtypesRecord()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_AtomtypesRecord
__del__ = lambda self: None
__swig_setmethods__["hash"] = _cp4vasp.AtomtypesRecord_hash_set
__swig_getmethods__["hash"] = _cp4vasp.AtomtypesRecord_hash_get
__swig_setmethods__["atomspertype"] = _cp4vasp.AtomtypesRecord_atomspertype_set
__swig_getmethods__["atomspertype"] = _cp4vasp.AtomtypesRecord_atomspertype_get
__swig_setmethods__["mass"] = _cp4vasp.AtomtypesRecord_mass_set
__swig_getmethods__["mass"] = _cp4vasp.AtomtypesRecord_mass_get
__swig_setmethods__["valence"] = _cp4vasp.AtomtypesRecord_valence_set
__swig_getmethods__["valence"] = _cp4vasp.AtomtypesRecord_valence_get
__swig_setmethods__["radius"] = _cp4vasp.AtomtypesRecord_radius_set
__swig_getmethods__["radius"] = _cp4vasp.AtomtypesRecord_radius_get
__swig_setmethods__["covalent"] = _cp4vasp.AtomtypesRecord_covalent_set
__swig_getmethods__["covalent"] = _cp4vasp.AtomtypesRecord_covalent_get
__swig_setmethods__["n"] = _cp4vasp.AtomtypesRecord_n_set
__swig_getmethods__["n"] = _cp4vasp.AtomtypesRecord_n_get
__swig_setmethods__["red"] = _cp4vasp.AtomtypesRecord_red_set
__swig_getmethods__["red"] = _cp4vasp.AtomtypesRecord_red_get
__swig_setmethods__["green"] = _cp4vasp.AtomtypesRecord_green_set
__swig_getmethods__["green"] = _cp4vasp.AtomtypesRecord_green_get
__swig_setmethods__["blue"] = _cp4vasp.AtomtypesRecord_blue_set
__swig_getmethods__["blue"] = _cp4vasp.AtomtypesRecord_blue_get
__swig_setmethods__["hidden"] = _cp4vasp.AtomtypesRecord_hidden_set
__swig_getmethods__["hidden"] = _cp4vasp.AtomtypesRecord_hidden_get
__swig_setmethods__["selected"] = _cp4vasp.AtomtypesRecord_selected_set
__swig_getmethods__["selected"] = _cp4vasp.AtomtypesRecord_selected_get
def getElement(self):
return _cp4vasp.AtomtypesRecord_getElement(self)
def setElement(self, s):
return _cp4vasp.AtomtypesRecord_setElement(self, s)
def getPPType(self):
return _cp4vasp.AtomtypesRecord_getPPType(self)
def getPPSpecie(self):
return _cp4vasp.AtomtypesRecord_getPPSpecie(self)
def getPPVersion(self):
return _cp4vasp.AtomtypesRecord_getPPVersion(self)
def getPseudopotential(self):
return _cp4vasp.AtomtypesRecord_getPseudopotential(self)
def setPPType(self, s):
return _cp4vasp.AtomtypesRecord_setPPType(self, s)
def setPPSpecie(self, s):
return _cp4vasp.AtomtypesRecord_setPPSpecie(self, s)
def setPPVersion(self, s):
return _cp4vasp.AtomtypesRecord_setPPVersion(self, s)
def setPseudopotential(self, s):
return _cp4vasp.AtomtypesRecord_setPseudopotential(self, s)
def clean(self):
return _cp4vasp.AtomtypesRecord_clean(self)
def setAtomtypesRecord(self, a):
return _cp4vasp.AtomtypesRecord_setAtomtypesRecord(self, a)
def clone(self):
return _cp4vasp.AtomtypesRecord_clone(self)
AtomtypesRecord_swigregister = _cp4vasp.AtomtypesRecord_swigregister
AtomtypesRecord_swigregister(AtomtypesRecord)
class AtomInfo(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AtomInfo, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, AtomInfo, name)
__repr__ = _swig_repr
def getClassName(self):
return _cp4vasp.AtomInfo_getClassName(self)
__swig_getmethods__["types"] = _cp4vasp.AtomInfo_types_get
__swig_getmethods__["allocation_step"] = _cp4vasp.AtomInfo_allocation_step_get
def __init__(self, alloc=16):
this = _cp4vasp.new_AtomInfo(alloc)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_AtomInfo
__del__ = lambda self: None
def append(self, r):
return _cp4vasp.AtomInfo_append(self, r)
def realloc(self, alloc):
return _cp4vasp.AtomInfo_realloc(self, alloc)
def allocate(self, n):
return _cp4vasp.AtomInfo_allocate(self, n)
def getRecord(self, i):
return _cp4vasp.AtomInfo_getRecord(self, i)
def setRecord(self, i, value):
return _cp4vasp.AtomInfo_setRecord(self, i, value)
def getRecordForAtom(self, i):
return _cp4vasp.AtomInfo_getRecordForAtom(self, i)
def getRecordForElement(self, x):
return _cp4vasp.AtomInfo_getRecordForElement(self, x)
def getRecordForElementSafe(self, x, i, m):
return _cp4vasp.AtomInfo_getRecordForElementSafe(self, x, i, m)
def speciesIndex(self, j):
return _cp4vasp.AtomInfo_speciesIndex(self, j)
def getNatoms(self):
return _cp4vasp.AtomInfo_getNatoms(self)
def setAtomInfo(self, a):
return _cp4vasp.AtomInfo_setAtomInfo(self, a)
def clean(self):
return _cp4vasp.AtomInfo_clean(self)
def clone(self):
return _cp4vasp.AtomInfo_clone(self)
def delitem(self, i):
return _cp4vasp.AtomInfo_delitem(self, i)
def len(self):
return _cp4vasp.AtomInfo_len(self)
def fillAttributesWithTable(self, table):
return _cp4vasp.AtomInfo_fillAttributesWithTable(self, table)
AtomInfo_swigregister = _cp4vasp.AtomInfo_swigregister
AtomInfo_swigregister(AtomInfo)
def setvec3d(dest, x, y, z):
return _cp4vasp.setvec3d(dest, x, y, z)
setvec3d = _cp4vasp.setvec3d
def deletevec3d(dest):
return _cp4vasp.deletevec3d(dest)
deletevec3d = _cp4vasp.deletevec3d
def createmat3d(a11, a12, a13, a21, a22, a23, a31, a32, a33):
return _cp4vasp.createmat3d(a11, a12, a13, a21, a22, a23, a31, a32, a33)
createmat3d = _cp4vasp.createmat3d
def setmat3d(dest, a11, a12, a13, a21, a22, a23, a31, a32, a33):
return _cp4vasp.setmat3d(dest, a11, a12, a13, a21, a22, a23, a31, a32, a33)
setmat3d = _cp4vasp.setmat3d
def deletemat3d(dest):
return _cp4vasp.deletemat3d(dest)
deletemat3d = _cp4vasp.deletemat3d
def getVecElement3d(dest, i):
return _cp4vasp.getVecElement3d(dest, i)
getVecElement3d = _cp4vasp.getVecElement3d
def setVecElement3d(dest, i, value):
return _cp4vasp.setVecElement3d(dest, i, value)
setVecElement3d = _cp4vasp.setVecElement3d
def getMatVecElement3d(dest, i):
return _cp4vasp.getMatVecElement3d(dest, i)
getMatVecElement3d = _cp4vasp.getMatVecElement3d
def setMatVecElement3d(dest, i, value):
return _cp4vasp.setMatVecElement3d(dest, i, value)
setMatVecElement3d = _cp4vasp.setMatVecElement3d
def getMatElement3d(dest, i, j):
return _cp4vasp.getMatElement3d(dest, i, j)
getMatElement3d = _cp4vasp.getMatElement3d
def setMatElement3d(dest, i, j, value):
return _cp4vasp.setMatElement3d(dest, i, j, value)
setMatElement3d = _cp4vasp.setMatElement3d
def add3d(dest, a):
return _cp4vasp.add3d(dest, a)
add3d = _cp4vasp.add3d
def plus3d(dest, a, b):
return _cp4vasp.plus3d(dest, a, b)
plus3d = _cp4vasp.plus3d
def createplus3d(a, b):
return _cp4vasp.createplus3d(a, b)
createplus3d = _cp4vasp.createplus3d
def createplusmat3d(a, b):
return _cp4vasp.createplusmat3d(a, b)
createplusmat3d = _cp4vasp.createplusmat3d
def sub3d(dest, a):
return _cp4vasp.sub3d(dest, a)
sub3d = _cp4vasp.sub3d
def minus3d(dest, a, b):
return _cp4vasp.minus3d(dest, a, b)
minus3d = _cp4vasp.minus3d
def createminus3d(a, b):
return _cp4vasp.createminus3d(a, b)
createminus3d = _cp4vasp.createminus3d
def createminusmat3d(a, b):
return _cp4vasp.createminusmat3d(a, b)
createminusmat3d = _cp4vasp.createminusmat3d
def neg3d(v):
return _cp4vasp.neg3d(v)
neg3d = _cp4vasp.neg3d
def createneg3d(v):
return _cp4vasp.createneg3d(v)
createneg3d = _cp4vasp.createneg3d
def createnegmat3d(v):
return _cp4vasp.createnegmat3d(v)
createnegmat3d = _cp4vasp.createnegmat3d
def scalmul3d(dest, a):
return _cp4vasp.scalmul3d(dest, a)
scalmul3d = _cp4vasp.scalmul3d
def createscalmultiply3d(v, a):
return _cp4vasp.createscalmultiply3d(v, a)
createscalmultiply3d = _cp4vasp.createscalmultiply3d
def scaldiv3d(dest, a):
return _cp4vasp.scaldiv3d(dest, a)
scaldiv3d = _cp4vasp.scaldiv3d
def createscaldivide3d(dest, a):
return _cp4vasp.createscaldivide3d(dest, a)
createscaldivide3d = _cp4vasp.createscaldivide3d
def copy3d(dest, a):
return _cp4vasp.copy3d(dest, a)
copy3d = _cp4vasp.copy3d
def clone3d(a):
return _cp4vasp.clone3d(a)
clone3d = _cp4vasp.clone3d
def copymat3d(dest, a):
return _cp4vasp.copymat3d(dest, a)
copymat3d = _cp4vasp.copymat3d
def clonemat3d(a):
return _cp4vasp.clonemat3d(a)
clonemat3d = _cp4vasp.clonemat3d
def veclength3d(dest):
return _cp4vasp.veclength3d(dest)
veclength3d = _cp4vasp.veclength3d
def normalize3d(dest):
return _cp4vasp.normalize3d(dest)
normalize3d = _cp4vasp.normalize3d
def scalprod3d(a, b):
return _cp4vasp.scalprod3d(a, b)
scalprod3d = _cp4vasp.scalprod3d
def crossprod3d(dest, a, b):
return _cp4vasp.crossprod3d(dest, a, b)
crossprod3d = _cp4vasp.crossprod3d
def createcrossprod3d(a, b):
return _cp4vasp.createcrossprod3d(a, b)
createcrossprod3d = _cp4vasp.createcrossprod3d
def createmultiplymatscal3d(a, v):
return _cp4vasp.createmultiplymatscal3d(a, v)
createmultiplymatscal3d = _cp4vasp.createmultiplymatscal3d
def createmultiplymatvec3d(a, v):
return _cp4vasp.createmultiplymatvec3d(a, v)
createmultiplymatvec3d = _cp4vasp.createmultiplymatvec3d
def multiplymatvec3d(dest, a, v):
return _cp4vasp.multiplymatvec3d(dest, a, v)
multiplymatvec3d = _cp4vasp.multiplymatvec3d
def mulmatvec3d(a, v):
return _cp4vasp.mulmatvec3d(a, v)
mulmatvec3d = _cp4vasp.mulmatvec3d
def multiplymatmat3d(dest, a, b):
return _cp4vasp.multiplymatmat3d(dest, a, b)
multiplymatmat3d = _cp4vasp.multiplymatmat3d
def createmultiplymatmat3d(a, b):
return _cp4vasp.createmultiplymatmat3d(a, b)
createmultiplymatmat3d = _cp4vasp.createmultiplymatmat3d
def mulmatmat3d(a, b):
return _cp4vasp.mulmatmat3d(a, b)
mulmatmat3d = _cp4vasp.mulmatmat3d
def createrotmat3d(x, y, z):
return _cp4vasp.createrotmat3d(x, y, z)
createrotmat3d = _cp4vasp.createrotmat3d
def createrotmat3da(x, y, z, a):
return _cp4vasp.createrotmat3da(x, y, z, a)
createrotmat3da = _cp4vasp.createrotmat3da
def identitymat3d(dest):
return _cp4vasp.identitymat3d(dest)
identitymat3d = _cp4vasp.identitymat3d
def createidentitymat3d():
return _cp4vasp.createidentitymat3d()
createidentitymat3d = _cp4vasp.createidentitymat3d
def zeromat3d(dest):
return _cp4vasp.zeromat3d(dest)
zeromat3d = _cp4vasp.zeromat3d
def createzeromat3d():
return _cp4vasp.createzeromat3d()
createzeromat3d = _cp4vasp.createzeromat3d
def detmat3d(dest):
return _cp4vasp.detmat3d(dest)
detmat3d = _cp4vasp.detmat3d
def transmat3d(dest):
return _cp4vasp.transmat3d(dest)
transmat3d = _cp4vasp.transmat3d
class FArray1D(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FArray1D, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FArray1D, name)
__repr__ = _swig_repr
def __init__(self, size=0):
this = _cp4vasp.new_FArray1D(size)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def clear(self):
return _cp4vasp.FArray1D_clear(self)
def size(self):
return _cp4vasp.FArray1D_size(self)
def get(self, i):
return _cp4vasp.FArray1D_get(self, i)
def set(self, i, x):
return _cp4vasp.FArray1D_set(self, i, x)
def printrepr(self):
return _cp4vasp.FArray1D_printrepr(self)
def parseString(self, s):
return _cp4vasp.FArray1D_parseString(self, s)
def cloneBuff(self):
return _cp4vasp.FArray1D_cloneBuff(self)
def clone(self):
return _cp4vasp.FArray1D_clone(self)
def getMinimum(self):
return _cp4vasp.FArray1D_getMinimum(self)
def getMaximum(self):
return _cp4vasp.FArray1D_getMaximum(self)
def getAverage(self):
return _cp4vasp.FArray1D_getAverage(self)
def getVariance(self):
return _cp4vasp.FArray1D_getVariance(self)
def getSigma(self):
return _cp4vasp.FArray1D_getSigma(self)
def getClassName(self):
return _cp4vasp.FArray1D_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_FArray1D
__del__ = lambda self: None
FArray1D_swigregister = _cp4vasp.FArray1D_swigregister
FArray1D_swigregister(FArray1D)
class FArray2D(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FArray2D, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FArray2D, name)
__repr__ = _swig_repr
def __init__(self, sizex=0, sizey=0):
this = _cp4vasp.new_FArray2D(sizex, sizey)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getMinimum(self):
return _cp4vasp.FArray2D_getMinimum(self)
def getMaximum(self):
return _cp4vasp.FArray2D_getMaximum(self)
def getAverage(self):
return _cp4vasp.FArray2D_getAverage(self)
def getVariance(self):
return _cp4vasp.FArray2D_getVariance(self)
def getSigma(self):
return _cp4vasp.FArray2D_getSigma(self)
def sizeX(self):
return _cp4vasp.FArray2D_sizeX(self)
def sizeY(self):
return _cp4vasp.FArray2D_sizeY(self)
def clear(self):
return _cp4vasp.FArray2D_clear(self)
def get(self, i, j):
return _cp4vasp.FArray2D_get(self, i, j)
def set(self, i, j, x):
return _cp4vasp.FArray2D_set(self, i, j, x)
def printrepr(self):
return _cp4vasp.FArray2D_printrepr(self)
def parseString(self, i, s):
return _cp4vasp.FArray2D_parseString(self, i, s)
def getArray(self, i):
return _cp4vasp.FArray2D_getArray(self, i)
def cloneBuff(self):
return _cp4vasp.FArray2D_cloneBuff(self)
def clone(self):
return _cp4vasp.FArray2D_clone(self)
def cubicInterpolation(self, n, m):
return _cp4vasp.FArray2D_cubicInterpolation(self, n, m)
def smear(self, sigma, n, m, u, v):
return _cp4vasp.FArray2D_smear(self, sigma, n, m, u, v)
def cloneVector(self, i):
return _cp4vasp.FArray2D_cloneVector(self, i)
def getClassName(self):
return _cp4vasp.FArray2D_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_FArray2D
__del__ = lambda self: None
FArray2D_swigregister = _cp4vasp.FArray2D_swigregister
FArray2D_swigregister(FArray2D)
def createvec3d(*args):
return _cp4vasp.createvec3d(*args)
createvec3d = _cp4vasp.createvec3d
def createFArray1Dsimple(node):
return _cp4vasp.createFArray1Dsimple(node)
createFArray1Dsimple = _cp4vasp.createFArray1Dsimple
def createFArray2Dsimple(elem, tag, minx=0, miny=0):
return _cp4vasp.createFArray2Dsimple(elem, tag, minx, miny)
createFArray2Dsimple = _cp4vasp.createFArray2Dsimple
def createFArray2DsimpleN(node, tag, minx=0, miny=0):
return _cp4vasp.createFArray2DsimpleN(node, tag, minx, miny)
createFArray2DsimpleN = _cp4vasp.createFArray2DsimpleN
def createStructure(elem):
return _cp4vasp.createStructure(elem)
createStructure = _cp4vasp.createStructure
def createStructureN(node):
return _cp4vasp.createStructureN(node)
createStructureN = _cp4vasp.createStructureN
class Structure(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Structure, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Structure, name)
__repr__ = _swig_repr
def getClassName(self):
return _cp4vasp.Structure_getClassName(self)
__swig_setmethods__["scaling_flag"] = _cp4vasp.Structure_scaling_flag_set
__swig_getmethods__["scaling_flag"] = _cp4vasp.Structure_scaling_flag_get
__swig_setmethods__["allocation_step"] = _cp4vasp.Structure_allocation_step_set
__swig_getmethods__["allocation_step"] = _cp4vasp.Structure_allocation_step_get
__swig_getmethods__["scaling"] = _cp4vasp.Structure_scaling_get
__swig_getmethods__["basis"] = _cp4vasp.Structure_basis_get
__swig_getmethods__["rbasis"] = _cp4vasp.Structure_rbasis_get
__swig_getmethods__["total_number_of_atoms"] = _cp4vasp.Structure_total_number_of_atoms_get
__swig_getmethods__["allocated"] = _cp4vasp.Structure_allocated_get
__swig_getmethods__["info"] = _cp4vasp.Structure_info_get
__swig_setmethods__["comment"] = _cp4vasp.Structure_comment_set
__swig_getmethods__["comment"] = _cp4vasp.Structure_comment_get
__swig_setmethods__["coordinates"] = _cp4vasp.Structure_coordinates_set
__swig_getmethods__["coordinates"] = _cp4vasp.Structure_coordinates_get
def __init__(self, *args):
this = _cp4vasp.new_Structure(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_Structure
__del__ = lambda self: None
def correctScaling(self):
return _cp4vasp.Structure_correctScaling(self)
def parse(self, s):
return _cp4vasp.Structure_parse(self, s)
def read(self, path):
return _cp4vasp.Structure_read(self, path)
def write(self, path):
return _cp4vasp.Structure_write(self, path)
def toString(self):
return _cp4vasp.Structure_toString(self)
def isSelective(self):
return _cp4vasp.Structure_isSelective(self)
def isCarthesian(self):
return _cp4vasp.Structure_isCarthesian(self)
def isDirect(self):
return _cp4vasp.Structure_isDirect(self)
def getSelectiveDOF(self, i):
return _cp4vasp.Structure_getSelectiveDOF(self, i)
def setSelectiveDOF(self, i, value):
return _cp4vasp.Structure_setSelectiveDOF(self, i, value)
def setSelective(self, flag):
return _cp4vasp.Structure_setSelective(self, flag)
def updateRecipBasis(self):
return _cp4vasp.Structure_updateRecipBasis(self)
def getRecipBasis(self):
return _cp4vasp.Structure_getRecipBasis(self)
def forceConvertToCarthesian(self):
return _cp4vasp.Structure_forceConvertToCarthesian(self)
def forceConvertToDirect(self):
return _cp4vasp.Structure_forceConvertToDirect(self)
def setCarthesian(self, flag=1):
return _cp4vasp.Structure_setCarthesian(self, flag)
def setDirect(self, flag=1):
return _cp4vasp.Structure_setDirect(self, flag)
def dir2cart(self, dest, src):
return _cp4vasp.Structure_dir2cart(self, dest, src)
def cart2dir(self, dest, src):
return _cp4vasp.Structure_cart2dir(self, dest, src)
def dirVectorToUnitCell(self, dest, v):
return _cp4vasp.Structure_dirVectorToUnitCell(self, dest, v)
def dirVectorToCenteredUnitCell(self, dest, v):
return _cp4vasp.Structure_dirVectorToCenteredUnitCell(self, dest, v)
def cartVectorToUnitCell(self, dest, v):
return _cp4vasp.Structure_cartVectorToUnitCell(self, dest, v)
def cartVectorToCenteredUnitCell(self, dest, v):
return _cp4vasp.Structure_cartVectorToCenteredUnitCell(self, dest, v)
def vectorToUnitCell(self, dest, v):
return _cp4vasp.Structure_vectorToUnitCell(self, dest, v)
def vectorToCenteredUnitCell(self, dest, v):
return _cp4vasp.Structure_vectorToCenteredUnitCell(self, dest, v)
def toUnitCell(self):
return _cp4vasp.Structure_toUnitCell(self)
def toCenteredUnitCell(self):
return _cp4vasp.Structure_toCenteredUnitCell(self)
def mindistCartVectors(self, a, b):
return _cp4vasp.Structure_mindistCartVectors(self, a, b)
def mindistDirVectors(self, a, b):
return _cp4vasp.Structure_mindistDirVectors(self, a, b)
def createMindistMatrix(self):
return _cp4vasp.Structure_createMindistMatrix(self)
def deleteMindistMatrix(self):
return _cp4vasp.Structure_deleteMindistMatrix(self)
def getMindist(self, i, j):
return _cp4vasp.Structure_getMindist(self, i, j)
def clean(self):
return _cp4vasp.Structure_clean(self)
def setStructure(self, p):
return _cp4vasp.Structure_setStructure(self, p)
def clone(self):
return _cp4vasp.Structure_clone(self)
def len(self):
return _cp4vasp.Structure_len(self)
def getNumberOfSpecies(self):
return _cp4vasp.Structure_getNumberOfSpecies(self)
def getRecord(self, i):
return _cp4vasp.Structure_getRecord(self, i)
def get(self, i):
return _cp4vasp.Structure_get(self, i)
def set(self, i, x, y, z):
return _cp4vasp.Structure_set(self, i, x, y, z)
def allocate(self, n):
return _cp4vasp.Structure_allocate(self, n)
def realloc(self, alloc):
return _cp4vasp.Structure_realloc(self, alloc)
def append(self, x, y, z):
return _cp4vasp.Structure_append(self, x, y, z)
def delitem(self, i):
return _cp4vasp.Structure_delitem(self, i)
def setScaling(self, i, x):
return _cp4vasp.Structure_setScaling(self, i, x)
Structure_swigregister = _cp4vasp.Structure_swigregister
Structure_swigregister(Structure)
class Process:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Process, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Process, name)
__repr__ = _swig_repr
def total(self):
return _cp4vasp.Process_total(self)
def step(self):
return _cp4vasp.Process_step(self)
def status(self):
return _cp4vasp.Process_status(self)
def error(self):
return _cp4vasp.Process_error(self)
def next(self):
return _cp4vasp.Process_next(self)
__swig_destroy__ = _cp4vasp.delete_Process
__del__ = lambda self: None
def __init__(self):
this = _cp4vasp.new_Process()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
Process_swigregister = _cp4vasp.Process_swigregister
Process_swigregister(Process)
class ReadChgcarProcess(Process):
__swig_setmethods__ = {}
for _s in [Process]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ReadChgcarProcess, name, value)
__swig_getmethods__ = {}
for _s in [Process]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ReadChgcarProcess, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def next(self):
return _cp4vasp.ReadChgcarProcess_next(self)
__swig_destroy__ = _cp4vasp.delete_ReadChgcarProcess
__del__ = lambda self: None
ReadChgcarProcess_swigregister = _cp4vasp.ReadChgcarProcess_swigregister
ReadChgcarProcess_swigregister(ReadChgcarProcess)
class ChgcarPlaneProcess(Process):
__swig_setmethods__ = {}
for _s in [Process]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChgcarPlaneProcess, name, value)
__swig_getmethods__ = {}
for _s in [Process]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChgcarPlaneProcess, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def next(self):
return _cp4vasp.ChgcarPlaneProcess_next(self)
__swig_destroy__ = _cp4vasp.delete_ChgcarPlaneProcess
__del__ = lambda self: None
def getPlane(self):
return _cp4vasp.ChgcarPlaneProcess_getPlane(self)
ChgcarPlaneProcess_swigregister = _cp4vasp.ChgcarPlaneProcess_swigregister
ChgcarPlaneProcess_swigregister(ChgcarPlaneProcess)
class Chgcar(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Chgcar, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Chgcar, name)
__repr__ = _swig_repr
__swig_setmethods__["plane_minimum"] = _cp4vasp.Chgcar_plane_minimum_set
__swig_getmethods__["plane_minimum"] = _cp4vasp.Chgcar_plane_minimum_get
__swig_setmethods__["plane_maximum"] = _cp4vasp.Chgcar_plane_maximum_set
__swig_getmethods__["plane_maximum"] = _cp4vasp.Chgcar_plane_maximum_get
__swig_setmethods__["plane_average"] = _cp4vasp.Chgcar_plane_average_set
__swig_getmethods__["plane_average"] = _cp4vasp.Chgcar_plane_average_get
__swig_setmethods__["plane_variance"] = _cp4vasp.Chgcar_plane_variance_set
__swig_getmethods__["plane_variance"] = _cp4vasp.Chgcar_plane_variance_get
def getClassName(self):
return _cp4vasp.Chgcar_getClassName(self)
__swig_setmethods__["structure"] = _cp4vasp.Chgcar_structure_set
__swig_getmethods__["structure"] = _cp4vasp.Chgcar_structure_get
__swig_setmethods__["nx"] = _cp4vasp.Chgcar_nx_set
__swig_getmethods__["nx"] = _cp4vasp.Chgcar_nx_get
__swig_setmethods__["ny"] = _cp4vasp.Chgcar_ny_set
__swig_getmethods__["ny"] = _cp4vasp.Chgcar_ny_get
__swig_setmethods__["nz"] = _cp4vasp.Chgcar_nz_set
__swig_getmethods__["nz"] = _cp4vasp.Chgcar_nz_get
__swig_setmethods__["data"] = _cp4vasp.Chgcar_data_set
__swig_getmethods__["data"] = _cp4vasp.Chgcar_data_get
def __init__(self):
this = _cp4vasp.new_Chgcar()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_Chgcar
__del__ = lambda self: None
def subtractChgcar(self, c):
return _cp4vasp.Chgcar_subtractChgcar(self, c)
def calculateStatistics(self):
return _cp4vasp.Chgcar_calculateStatistics(self)
def getMinimum(self):
return _cp4vasp.Chgcar_getMinimum(self)
def getMaximum(self):
return _cp4vasp.Chgcar_getMaximum(self)
def getAverage(self):
return _cp4vasp.Chgcar_getAverage(self)
def getVariance(self):
return _cp4vasp.Chgcar_getVariance(self)
def getSigma(self):
return _cp4vasp.Chgcar_getSigma(self)
def clean(self):
return _cp4vasp.Chgcar_clean(self)
def read(self, path):
return _cp4vasp.Chgcar_read(self, path)
def createReadProcess(self, path):
return _cp4vasp.Chgcar_createReadProcess(self, path)
def write(self, path):
return _cp4vasp.Chgcar_write(self, path)
def get(self, i, j, k):
return _cp4vasp.Chgcar_get(self, i, j, k)
def getRaw(self, i, j, k):
return _cp4vasp.Chgcar_getRaw(self, i, j, k)
def set(self, i, j, k, val):
return _cp4vasp.Chgcar_set(self, i, j, k, val)
def setRaw(self, i, j, k, val):
return _cp4vasp.Chgcar_setRaw(self, i, j, k, val)
def getDirGrad(self, dest, i, j, k):
return _cp4vasp.Chgcar_getDirGrad(self, dest, i, j, k)
def getGrad(self, dest, i, j, k):
return _cp4vasp.Chgcar_getGrad(self, dest, i, j, k)
def downSampleByFactors(self, i, j, k):
return _cp4vasp.Chgcar_downSampleByFactors(self, i, j, k)
def sumElectrons(self):
return _cp4vasp.Chgcar_sumElectrons(self)
def gaussianSmearingX(self, sigma, limit=0.01):
return _cp4vasp.Chgcar_gaussianSmearingX(self, sigma, limit)
def gaussianSmearingY(self, sigma, limit=0.01):
return _cp4vasp.Chgcar_gaussianSmearingY(self, sigma, limit)
def gaussianSmearingZ(self, sigma, limit=0.01):
return _cp4vasp.Chgcar_gaussianSmearingZ(self, sigma, limit)
def clone(self):
return _cp4vasp.Chgcar_clone(self)
def setChgcar(self, c):
return _cp4vasp.Chgcar_setChgcar(self, c)
def calculatePlaneStatisticsX(self, n):
return _cp4vasp.Chgcar_calculatePlaneStatisticsX(self, n)
def calculatePlaneStatisticsY(self, n):
return _cp4vasp.Chgcar_calculatePlaneStatisticsY(self, n)
def calculatePlaneStatisticsZ(self, n):
return _cp4vasp.Chgcar_calculatePlaneStatisticsZ(self, n)
def searchMinPlaneX(self):
return _cp4vasp.Chgcar_searchMinPlaneX(self)
def searchMinPlaneY(self):
return _cp4vasp.Chgcar_searchMinPlaneY(self)
def searchMinPlaneZ(self):
return _cp4vasp.Chgcar_searchMinPlaneZ(self)
def getPlaneX(self, n):
return _cp4vasp.Chgcar_getPlaneX(self, n)
def getPlaneY(self, n):
return _cp4vasp.Chgcar_getPlaneY(self, n)
def getPlaneZ(self, n):
return _cp4vasp.Chgcar_getPlaneZ(self, n)
def createSmoothPlaneProcessX(self, n, sigmax, sigmay, sigmaz, limit=0.01):
return _cp4vasp.Chgcar_createSmoothPlaneProcessX(self, n, sigmax, sigmay, sigmaz, limit)
def createSmoothPlaneProcessY(self, n, sigmax, sigmay, sigmaz, limit=0.01):
return _cp4vasp.Chgcar_createSmoothPlaneProcessY(self, n, sigmax, sigmay, sigmaz, limit)
def createSmoothPlaneProcessZ(self, n, sigmax, sigmay, sigmaz, limit=0.01):
return _cp4vasp.Chgcar_createSmoothPlaneProcessZ(self, n, sigmax, sigmay, sigmaz, limit)
def createCCPlaneX(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneX(self, val, n, delta)
def createCCPlaneY(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneY(self, val, n, delta)
def createCCPlaneZ(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneZ(self, val, n, delta)
def createCCPlaneCubicX(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneCubicX(self, val, n, delta)
def createCCPlaneCubicY(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneCubicY(self, val, n, delta)
def createCCPlaneCubicZ(self, val, n=-1, delta=-1):
return _cp4vasp.Chgcar_createCCPlaneCubicZ(self, val, n, delta)
Chgcar_swigregister = _cp4vasp.Chgcar_swigregister
Chgcar_swigregister(Chgcar)
class ChgcarSmear(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChgcarSmear, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChgcarSmear, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_ChgcarSmear()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.ChgcarSmear_getClassName(self)
def setChgcar(self, c):
return _cp4vasp.ChgcarSmear_setChgcar(self, c)
def get(self, i, j, k):
return _cp4vasp.ChgcarSmear_get(self, i, j, k)
__swig_destroy__ = _cp4vasp.delete_ChgcarSmear
__del__ = lambda self: None
ChgcarSmear_swigregister = _cp4vasp.ChgcarSmear_swigregister
ChgcarSmear_swigregister(ChgcarSmear)
class GaussianChgcarSmear(ChgcarSmear):
__swig_setmethods__ = {}
for _s in [ChgcarSmear]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, GaussianChgcarSmear, name, value)
__swig_getmethods__ = {}
for _s in [ChgcarSmear]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, GaussianChgcarSmear, name)
__repr__ = _swig_repr
__swig_setmethods__["lx"] = _cp4vasp.GaussianChgcarSmear_lx_set
__swig_getmethods__["lx"] = _cp4vasp.GaussianChgcarSmear_lx_get
__swig_setmethods__["ly"] = _cp4vasp.GaussianChgcarSmear_ly_set
__swig_getmethods__["ly"] = _cp4vasp.GaussianChgcarSmear_ly_get
__swig_setmethods__["lz"] = _cp4vasp.GaussianChgcarSmear_lz_set
__swig_getmethods__["lz"] = _cp4vasp.GaussianChgcarSmear_lz_get
__swig_setmethods__["dir"] = _cp4vasp.GaussianChgcarSmear_dir_set
__swig_getmethods__["dir"] = _cp4vasp.GaussianChgcarSmear_dir_get
__swig_setmethods__["horizontal_sigma"] = _cp4vasp.GaussianChgcarSmear_horizontal_sigma_set
__swig_getmethods__["horizontal_sigma"] = _cp4vasp.GaussianChgcarSmear_horizontal_sigma_get
__swig_setmethods__["vertical_sigma"] = _cp4vasp.GaussianChgcarSmear_vertical_sigma_set
__swig_getmethods__["vertical_sigma"] = _cp4vasp.GaussianChgcarSmear_vertical_sigma_get
def __init__(self):
this = _cp4vasp.new_GaussianChgcarSmear()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.GaussianChgcarSmear_getClassName(self)
def setChgcar(self, c):
return _cp4vasp.GaussianChgcarSmear_setChgcar(self, c)
def get(self, i, j, k):
return _cp4vasp.GaussianChgcarSmear_get(self, i, j, k)
__swig_destroy__ = _cp4vasp.delete_GaussianChgcarSmear
__del__ = lambda self: None
GaussianChgcarSmear_swigregister = _cp4vasp.GaussianChgcarSmear_swigregister
GaussianChgcarSmear_swigregister(GaussianChgcarSmear)
class ChgcarSmearProcess(Process):
__swig_setmethods__ = {}
for _s in [Process]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChgcarSmearProcess, name, value)
__swig_getmethods__ = {}
for _s in [Process]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChgcarSmearProcess, name)
__repr__ = _swig_repr
def __init__(self, c, s, pstep=10):
this = _cp4vasp.new_ChgcarSmearProcess(c, s, pstep)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def next(self):
return _cp4vasp.ChgcarSmearProcess_next(self)
def get(self):
return _cp4vasp.ChgcarSmearProcess_get(self)
def getClassName(self):
return _cp4vasp.ChgcarSmearProcess_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_ChgcarSmearProcess
__del__ = lambda self: None
ChgcarSmearProcess_swigregister = _cp4vasp.ChgcarSmearProcess_swigregister
ChgcarSmearProcess_swigregister(ChgcarSmearProcess)
class ChgcarSmearPlaneProcess(Process):
__swig_setmethods__ = {}
for _s in [Process]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChgcarSmearPlaneProcess, name, value)
__swig_getmethods__ = {}
for _s in [Process]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChgcarSmearPlaneProcess, name)
__repr__ = _swig_repr
def __init__(self, c, s, nplane, dir, pstep=10):
this = _cp4vasp.new_ChgcarSmearPlaneProcess(c, s, nplane, dir, pstep)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def planeName(self, *args):
return _cp4vasp.ChgcarSmearPlaneProcess_planeName(self, *args)
def next(self):
return _cp4vasp.ChgcarSmearPlaneProcess_next(self)
__swig_destroy__ = _cp4vasp.delete_ChgcarSmearPlaneProcess
__del__ = lambda self: None
def getClassName(self):
return _cp4vasp.ChgcarSmearPlaneProcess_getClassName(self)
def getPlane(self):
return _cp4vasp.ChgcarSmearPlaneProcess_getPlane(self)
ChgcarSmearPlaneProcess_swigregister = _cp4vasp.ChgcarSmearPlaneProcess_swigregister
ChgcarSmearPlaneProcess_swigregister(ChgcarSmearPlaneProcess)
class STMSearchProcess(Process):
__swig_setmethods__ = {}
for _s in [Process]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, STMSearchProcess, name, value)
__swig_getmethods__ = {}
for _s in [Process]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, STMSearchProcess, name)
__repr__ = _swig_repr
__swig_setmethods__["mode"] = _cp4vasp.STMSearchProcess_mode_set
__swig_getmethods__["mode"] = _cp4vasp.STMSearchProcess_mode_get
__swig_setmethods__["pstep"] = _cp4vasp.STMSearchProcess_pstep_set
__swig_getmethods__["pstep"] = _cp4vasp.STMSearchProcess_pstep_get
__swig_setmethods__["delta"] = _cp4vasp.STMSearchProcess_delta_set
__swig_getmethods__["delta"] = _cp4vasp.STMSearchProcess_delta_get
__swig_setmethods__["n0"] = _cp4vasp.STMSearchProcess_n0_set
__swig_getmethods__["n0"] = _cp4vasp.STMSearchProcess_n0_get
__swig_setmethods__["autoplane"] = _cp4vasp.STMSearchProcess_autoplane_set
__swig_getmethods__["autoplane"] = _cp4vasp.STMSearchProcess_autoplane_get
__swig_setmethods__["value"] = _cp4vasp.STMSearchProcess_value_set
__swig_getmethods__["value"] = _cp4vasp.STMSearchProcess_value_get
def __init__(self, c, val, s=None, n0=-1, dir=2, delta=-1, pstep=10, mode=0):
this = _cp4vasp.new_STMSearchProcess(c, val, s, n0, dir, delta, pstep, mode)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def update(self):
return _cp4vasp.STMSearchProcess_update(self)
def getDir(self):
return _cp4vasp.STMSearchProcess_getDir(self)
def setDir(self, d):
return _cp4vasp.STMSearchProcess_setDir(self, d)
def setChgcar(self, c):
return _cp4vasp.STMSearchProcess_setChgcar(self, c)
def setSmear(self, s):
return _cp4vasp.STMSearchProcess_setSmear(self, s)
def searchFast(self, I, J):
return _cp4vasp.STMSearchProcess_searchFast(self, I, J)
def searchSlow(self, I, J):
return _cp4vasp.STMSearchProcess_searchSlow(self, I, J)
def getHeightFast(self, I, J):
return _cp4vasp.STMSearchProcess_getHeightFast(self, I, J)
def getHeightSlow(self, I, J):
return _cp4vasp.STMSearchProcess_getHeightSlow(self, I, J)
def getHeightFastCubic(self, I, J):
return _cp4vasp.STMSearchProcess_getHeightFastCubic(self, I, J)
def getHeightSlowCubic(self, I, J):
return _cp4vasp.STMSearchProcess_getHeightSlowCubic(self, I, J)
def getClassName(self):
return _cp4vasp.STMSearchProcess_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_STMSearchProcess
__del__ = lambda self: None
def next(self):
return _cp4vasp.STMSearchProcess_next(self)
def processAll(self):
return _cp4vasp.STMSearchProcess_processAll(self)
def getPlane(self):
return _cp4vasp.STMSearchProcess_getPlane(self)
STMSearchProcess_swigregister = _cp4vasp.STMSearchProcess_swigregister
STMSearchProcess_swigregister(STMSearchProcess)
def VisInit():
return _cp4vasp.VisInit()
VisInit = _cp4vasp.VisInit
def VisMainLoop():
return _cp4vasp.VisMainLoop()
VisMainLoop = _cp4vasp.VisMainLoop
def VisMainLoopInThread():
return _cp4vasp.VisMainLoopInThread()
VisMainLoopInThread = _cp4vasp.VisMainLoopInThread
def VisSync():
return _cp4vasp.VisSync()
VisSync = _cp4vasp.VisSync
def VisCheck():
return _cp4vasp.VisCheck()
VisCheck = _cp4vasp.VisCheck
def checkThreadsSupport():
return _cp4vasp.checkThreadsSupport()
checkThreadsSupport = _cp4vasp.checkThreadsSupport
class VisBackEvent:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VisBackEvent, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VisBackEvent, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
create = _cp4vasp.VisBackEvent_create
__swig_setmethods__["type"] = _cp4vasp.VisBackEvent_type_set
__swig_getmethods__["type"] = _cp4vasp.VisBackEvent_type_get
__swig_setmethods__["index"] = _cp4vasp.VisBackEvent_index_set
__swig_getmethods__["index"] = _cp4vasp.VisBackEvent_index_get
__swig_setmethods__["nx"] = _cp4vasp.VisBackEvent_nx_set
__swig_getmethods__["nx"] = _cp4vasp.VisBackEvent_nx_get
__swig_setmethods__["ny"] = _cp4vasp.VisBackEvent_ny_set
__swig_getmethods__["ny"] = _cp4vasp.VisBackEvent_ny_get
__swig_setmethods__["nz"] = _cp4vasp.VisBackEvent_nz_set
__swig_getmethods__["nz"] = _cp4vasp.VisBackEvent_nz_get
def getStructureDrawer(self):
return _cp4vasp.VisBackEvent_getStructureDrawer(self)
def getWindow(self):
return _cp4vasp.VisBackEvent_getWindow(self)
__swig_destroy__ = _cp4vasp.delete_VisBackEvent
__del__ = lambda self: None
VisBackEvent_swigregister = _cp4vasp.VisBackEvent_swigregister
VisBackEvent_swigregister(VisBackEvent)
cvar = _cp4vasp.cvar
BE_NONE = cvar.BE_NONE
BE_SELECTED = cvar.BE_SELECTED
BE_DESELECTED = cvar.BE_DESELECTED
BE_WIN_ACTIVATE = cvar.BE_WIN_ACTIVATE
BE_WIN_DEACTIVATE = cvar.BE_WIN_DEACTIVATE
BE_WIN_SHOW = cvar.BE_WIN_SHOW
BE_WIN_HIDE = cvar.BE_WIN_HIDE
BE_WIN_CLOSE = cvar.BE_WIN_CLOSE
def VisBackEvent_create():
return _cp4vasp.VisBackEvent_create()
VisBackEvent_create = _cp4vasp.VisBackEvent_create
class VisBackEventQueue:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VisBackEventQueue, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VisBackEventQueue, name)
__repr__ = _swig_repr
get = _cp4vasp.VisBackEventQueue_get
def __init__(self):
this = _cp4vasp.new_VisBackEventQueue()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def current(self):
return _cp4vasp.VisBackEventQueue_current(self)
def last(self):
return _cp4vasp.VisBackEventQueue_last(self)
def pop(self):
return _cp4vasp.VisBackEventQueue_pop(self)
def append(self, e):
return _cp4vasp.VisBackEventQueue_append(self, e)
def prepend(self, e):
return _cp4vasp.VisBackEventQueue_prepend(self, e)
__swig_destroy__ = _cp4vasp.delete_VisBackEventQueue
__del__ = lambda self: None
VisBackEventQueue_swigregister = _cp4vasp.VisBackEventQueue_swigregister
VisBackEventQueue_swigregister(VisBackEventQueue)
def VisBackEventQueue_get():
return _cp4vasp.VisBackEventQueue_get()
VisBackEventQueue_get = _cp4vasp.VisBackEventQueue_get
class VisWindow(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisWindow, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisWindow, name)
__repr__ = _swig_repr
__swig_setmethods__["mouse_x"] = _cp4vasp.VisWindow_mouse_x_set
__swig_getmethods__["mouse_x"] = _cp4vasp.VisWindow_mouse_x_get
__swig_setmethods__["mouse_y"] = _cp4vasp.VisWindow_mouse_y_set
__swig_getmethods__["mouse_y"] = _cp4vasp.VisWindow_mouse_y_get
__swig_setmethods__["mouse_button1"] = _cp4vasp.VisWindow_mouse_button1_set
__swig_getmethods__["mouse_button1"] = _cp4vasp.VisWindow_mouse_button1_get
__swig_setmethods__["mouse_button2"] = _cp4vasp.VisWindow_mouse_button2_set
__swig_getmethods__["mouse_button2"] = _cp4vasp.VisWindow_mouse_button2_get
__swig_setmethods__["mouse_button3"] = _cp4vasp.VisWindow_mouse_button3_set
__swig_getmethods__["mouse_button3"] = _cp4vasp.VisWindow_mouse_button3_get
__swig_setmethods__["mouse_button"] = _cp4vasp.VisWindow_mouse_button_set
__swig_getmethods__["mouse_button"] = _cp4vasp.VisWindow_mouse_button_get
__swig_setmethods__["key"] = _cp4vasp.VisWindow_key_set
__swig_getmethods__["key"] = _cp4vasp.VisWindow_key_get
def getClassName(self):
return _cp4vasp.VisWindow_getClassName(self)
__swig_getmethods__["x"] = _cp4vasp.VisWindow_x_get
__swig_getmethods__["y"] = _cp4vasp.VisWindow_y_get
__swig_getmethods__["w"] = _cp4vasp.VisWindow_w_get
__swig_getmethods__["h"] = _cp4vasp.VisWindow_h_get
def __init__(self, x, y, w, h, title):
this = _cp4vasp.new_VisWindow(x, y, w, h, title)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_VisWindow
__del__ = lambda self: None
getFirstWindow = _cp4vasp.VisWindow_getFirstWindow
getLastWindow = _cp4vasp.VisWindow_getLastWindow
getWindow = _cp4vasp.VisWindow_getWindow
getWindowByOutput = _cp4vasp.VisWindow_getWindowByOutput
windowsCount = _cp4vasp.VisWindow_windowsCount
getWindowIndex = _cp4vasp.VisWindow_getWindowIndex
deleteAllWindows = _cp4vasp.VisWindow_deleteAllWindows
def getNextWindow(self):
return _cp4vasp.VisWindow_getNextWindow(self)
def getPreviousWindow(self):
return _cp4vasp.VisWindow_getPreviousWindow(self)
deleteWindow = _cp4vasp.VisWindow_deleteWindow
def getTitle(self):
return _cp4vasp.VisWindow_getTitle(self)
def setTitle(self, title):
return _cp4vasp.VisWindow_setTitle(self, title)
def position(self, x, y):
return _cp4vasp.VisWindow_position(self, x, y)
def size(self, x, y):
return _cp4vasp.VisWindow_size(self, x, y)
def resize(self, x, y, w, h):
return _cp4vasp.VisWindow_resize(self, x, y, w, h)
def show(self):
return _cp4vasp.VisWindow_show(self)
def hide(self):
return _cp4vasp.VisWindow_hide(self)
def redraw(self):
return _cp4vasp.VisWindow_redraw(self)
def setDrawer(self, d):
return _cp4vasp.VisWindow_setDrawer(self, d)
def getDrawer(self):
return _cp4vasp.VisWindow_getDrawer(self)
def saveScreenshot(self, path):
return _cp4vasp.VisWindow_saveScreenshot(self, path)
VisWindow_swigregister = _cp4vasp.VisWindow_swigregister
VisWindow_swigregister(VisWindow)
def VisWindow_getFirstWindow():
return _cp4vasp.VisWindow_getFirstWindow()
VisWindow_getFirstWindow = _cp4vasp.VisWindow_getFirstWindow
def VisWindow_getLastWindow():
return _cp4vasp.VisWindow_getLastWindow()
VisWindow_getLastWindow = _cp4vasp.VisWindow_getLastWindow
def VisWindow_getWindow(n):
return _cp4vasp.VisWindow_getWindow(n)
VisWindow_getWindow = _cp4vasp.VisWindow_getWindow
def VisWindow_getWindowByOutput(w):
return _cp4vasp.VisWindow_getWindowByOutput(w)
VisWindow_getWindowByOutput = _cp4vasp.VisWindow_getWindowByOutput
def VisWindow_windowsCount():
return _cp4vasp.VisWindow_windowsCount()
VisWindow_windowsCount = _cp4vasp.VisWindow_windowsCount
def VisWindow_getWindowIndex(w):
return _cp4vasp.VisWindow_getWindowIndex(w)
VisWindow_getWindowIndex = _cp4vasp.VisWindow_getWindowIndex
def VisWindow_deleteAllWindows():
return _cp4vasp.VisWindow_deleteAllWindows()
VisWindow_deleteAllWindows = _cp4vasp.VisWindow_deleteAllWindows
def VisWindow_deleteWindow(n):
return _cp4vasp.VisWindow_deleteWindow(n)
VisWindow_deleteWindow = _cp4vasp.VisWindow_deleteWindow
class VisDrawer(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisDrawer, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisDrawer, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_VisDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.VisDrawer_getClassName(self)
def getWindow(self):
return _cp4vasp.VisDrawer_getWindow(self)
def getPrevious(self):
return _cp4vasp.VisDrawer_getPrevious(self)
def getNext(self):
return _cp4vasp.VisDrawer_getNext(self)
def getFirst(self):
return _cp4vasp.VisDrawer_getFirst(self)
def getLast(self):
return _cp4vasp.VisDrawer_getLast(self)
def countBefore(self):
return _cp4vasp.VisDrawer_countBefore(self)
def countAfter(self):
return _cp4vasp.VisDrawer_countAfter(self)
def count(self):
return _cp4vasp.VisDrawer_count(self)
def insertAfter(self, d):
return _cp4vasp.VisDrawer_insertAfter(self, d)
def insertBefore(self, d):
return _cp4vasp.VisDrawer_insertBefore(self, d)
def insertSequenceAfter(self, d):
return _cp4vasp.VisDrawer_insertSequenceAfter(self, d)
def insertSequenceBefore(self, d):
return _cp4vasp.VisDrawer_insertSequenceBefore(self, d)
def append(self, d):
return _cp4vasp.VisDrawer_append(self, d)
def appendSequence(self, d):
return _cp4vasp.VisDrawer_appendSequence(self, d)
__swig_destroy__ = _cp4vasp.delete_VisDrawer
__del__ = lambda self: None
def getMouseX(self):
return _cp4vasp.VisDrawer_getMouseX(self)
def getMouseY(self):
return _cp4vasp.VisDrawer_getMouseY(self)
def getMouseButton(self):
return _cp4vasp.VisDrawer_getMouseButton(self)
def getMouseButton1(self):
return _cp4vasp.VisDrawer_getMouseButton1(self)
def getMouseButton2(self):
return _cp4vasp.VisDrawer_getMouseButton2(self)
def getMouseButton3(self):
return _cp4vasp.VisDrawer_getMouseButton3(self)
def getKey(self):
return _cp4vasp.VisDrawer_getKey(self)
def getWidth(self):
return _cp4vasp.VisDrawer_getWidth(self)
def getHeight(self):
return _cp4vasp.VisDrawer_getHeight(self)
def redraw(self):
return _cp4vasp.VisDrawer_redraw(self)
VisDrawer_swigregister = _cp4vasp.VisDrawer_swigregister
VisDrawer_swigregister(VisDrawer)
class VisNavDrawer(VisDrawer):
__swig_setmethods__ = {}
for _s in [VisDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisNavDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisNavDrawer, name)
__repr__ = _swig_repr
__swig_getmethods__["bg_red"] = _cp4vasp.VisNavDrawer_bg_red_get
__swig_getmethods__["bg_green"] = _cp4vasp.VisNavDrawer_bg_green_get
__swig_getmethods__["bg_blue"] = _cp4vasp.VisNavDrawer_bg_blue_get
def __init__(self):
this = _cp4vasp.new_VisNavDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getRotMatElement(self, i, j):
return _cp4vasp.VisNavDrawer_getRotMatElement(self, i, j)
def setBackground(self, red, green, blue):
return _cp4vasp.VisNavDrawer_setBackground(self, red, green, blue)
def setAntialiasing(self, a):
return _cp4vasp.VisNavDrawer_setAntialiasing(self, a)
def getAntialiasing(self):
return _cp4vasp.VisNavDrawer_getAntialiasing(self)
def getClassName(self):
return _cp4vasp.VisNavDrawer_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_VisNavDrawer
__del__ = lambda self: None
def setHome(self):
return _cp4vasp.VisNavDrawer_setHome(self)
def setFrontView(self):
return _cp4vasp.VisNavDrawer_setFrontView(self)
def setBackView(self):
return _cp4vasp.VisNavDrawer_setBackView(self)
def setLeftView(self):
return _cp4vasp.VisNavDrawer_setLeftView(self)
def setRightView(self):
return _cp4vasp.VisNavDrawer_setRightView(self)
def setTopView(self):
return _cp4vasp.VisNavDrawer_setTopView(self)
def setBottomView(self):
return _cp4vasp.VisNavDrawer_setBottomView(self)
def getPerspective(self):
return _cp4vasp.VisNavDrawer_getPerspective(self)
def setPerspective(self, flag):
return _cp4vasp.VisNavDrawer_setPerspective(self, flag)
def getZoom(self):
return _cp4vasp.VisNavDrawer_getZoom(self)
def setZoom(self, z):
return _cp4vasp.VisNavDrawer_setZoom(self, z)
def mulZoom(self, z):
return _cp4vasp.VisNavDrawer_mulZoom(self, z)
VisNavDrawer_swigregister = _cp4vasp.VisNavDrawer_swigregister
VisNavDrawer_swigregister(VisNavDrawer)
def getDefaultPrimitivesResolution():
return _cp4vasp.getDefaultPrimitivesResolution()
getDefaultPrimitivesResolution = _cp4vasp.getDefaultPrimitivesResolution
def setDefaultPrimitivesResolution(r):
return _cp4vasp.setDefaultPrimitivesResolution(r)
setDefaultPrimitivesResolution = _cp4vasp.setDefaultPrimitivesResolution
class VisPrimitiveDrawer(VisDrawer):
__swig_setmethods__ = {}
for _s in [VisDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisPrimitiveDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisPrimitiveDrawer, name)
__repr__ = _swig_repr
__swig_setmethods__["arrow_radius"] = _cp4vasp.VisPrimitiveDrawer_arrow_radius_set
__swig_getmethods__["arrow_radius"] = _cp4vasp.VisPrimitiveDrawer_arrow_radius_get
__swig_setmethods__["arrowhead_radius"] = _cp4vasp.VisPrimitiveDrawer_arrowhead_radius_set
__swig_getmethods__["arrowhead_radius"] = _cp4vasp.VisPrimitiveDrawer_arrowhead_radius_get
__swig_setmethods__["arrowhead_length"] = _cp4vasp.VisPrimitiveDrawer_arrowhead_length_set
__swig_getmethods__["arrowhead_length"] = _cp4vasp.VisPrimitiveDrawer_arrowhead_length_get
def __init__(self):
this = _cp4vasp.new_VisPrimitiveDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.VisPrimitiveDrawer_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_VisPrimitiveDrawer
__del__ = lambda self: None
def setPrimitivesResolution(self, r):
return _cp4vasp.VisPrimitiveDrawer_setPrimitivesResolution(self, r)
def color(self, red, green, blue):
return _cp4vasp.VisPrimitiveDrawer_color(self, red, green, blue)
def sphere(self, x, y, z, radius):
return _cp4vasp.VisPrimitiveDrawer_sphere(self, x, y, z, radius)
def cylinder(self, x1, y1, z1, x2, y2, z2, radius):
return _cp4vasp.VisPrimitiveDrawer_cylinder(self, x1, y1, z1, x2, y2, z2, radius)
def cone(self, x1, y1, z1, x2, y2, z2, radius):
return _cp4vasp.VisPrimitiveDrawer_cone(self, x1, y1, z1, x2, y2, z2, radius)
def line(self, x1, y1, z1, x2, y2, z2):
return _cp4vasp.VisPrimitiveDrawer_line(self, x1, y1, z1, x2, y2, z2)
def arrow(self, x, y, z, dx, dy, dz, scale=1.0, normalize=0):
return _cp4vasp.VisPrimitiveDrawer_arrow(self, x, y, z, dx, dy, dz, scale, normalize)
VisPrimitiveDrawer_swigregister = _cp4vasp.VisPrimitiveDrawer_swigregister
VisPrimitiveDrawer_swigregister(VisPrimitiveDrawer)
class AtomId:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, AtomId, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, AtomId, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_AtomId()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_setmethods__["atom"] = _cp4vasp.AtomId_atom_set
__swig_getmethods__["atom"] = _cp4vasp.AtomId_atom_get
__swig_setmethods__["nx"] = _cp4vasp.AtomId_nx_set
__swig_getmethods__["nx"] = _cp4vasp.AtomId_nx_get
__swig_setmethods__["ny"] = _cp4vasp.AtomId_ny_set
__swig_getmethods__["ny"] = _cp4vasp.AtomId_ny_get
__swig_setmethods__["nz"] = _cp4vasp.AtomId_nz_set
__swig_getmethods__["nz"] = _cp4vasp.AtomId_nz_get
__swig_destroy__ = _cp4vasp.delete_AtomId
__del__ = lambda self: None
AtomId_swigregister = _cp4vasp.AtomId_swigregister
AtomId_swigregister(AtomId)
class VisStructureDrawer(VisPrimitiveDrawer):
__swig_setmethods__ = {}
for _s in [VisPrimitiveDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisStructureDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisPrimitiveDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisStructureDrawer, name)
__repr__ = _swig_repr
__swig_setmethods__["cell_red"] = _cp4vasp.VisStructureDrawer_cell_red_set
__swig_getmethods__["cell_red"] = _cp4vasp.VisStructureDrawer_cell_red_get
__swig_setmethods__["cell_green"] = _cp4vasp.VisStructureDrawer_cell_green_set
__swig_getmethods__["cell_green"] = _cp4vasp.VisStructureDrawer_cell_green_get
__swig_setmethods__["cell_blue"] = _cp4vasp.VisStructureDrawer_cell_blue_set
__swig_getmethods__["cell_blue"] = _cp4vasp.VisStructureDrawer_cell_blue_get
__swig_setmethods__["bond_red"] = _cp4vasp.VisStructureDrawer_bond_red_set
__swig_getmethods__["bond_red"] = _cp4vasp.VisStructureDrawer_bond_red_get
__swig_setmethods__["bond_green"] = _cp4vasp.VisStructureDrawer_bond_green_set
__swig_getmethods__["bond_green"] = _cp4vasp.VisStructureDrawer_bond_green_get
__swig_setmethods__["bond_blue"] = _cp4vasp.VisStructureDrawer_bond_blue_set
__swig_getmethods__["bond_blue"] = _cp4vasp.VisStructureDrawer_bond_blue_get
__swig_getmethods__["info"] = _cp4vasp.VisStructureDrawer_info_get
__swig_getmethods__["cell_line_width"] = _cp4vasp.VisStructureDrawer_cell_line_width_get
__swig_getmethods__["showcellflag"] = _cp4vasp.VisStructureDrawer_showcellflag_get
def updateStructure(self):
return _cp4vasp.VisStructureDrawer_updateStructure(self)
def setMultiple(self, a, b, c):
return _cp4vasp.VisStructureDrawer_setMultiple(self, a, b, c)
def setMultiple1(self, a):
return _cp4vasp.VisStructureDrawer_setMultiple1(self, a)
def setMultiple2(self, a):
return _cp4vasp.VisStructureDrawer_setMultiple2(self, a)
def setMultiple3(self, a):
return _cp4vasp.VisStructureDrawer_setMultiple3(self, a)
def getMultiple1(self):
return _cp4vasp.VisStructureDrawer_getMultiple1(self)
def getMultiple2(self):
return _cp4vasp.VisStructureDrawer_getMultiple2(self)
def getMultiple3(self):
return _cp4vasp.VisStructureDrawer_getMultiple3(self)
def __init__(self):
this = _cp4vasp.new_VisStructureDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.VisStructureDrawer_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_VisStructureDrawer
__del__ = lambda self: None
def switchSelectionByPick(self, x, y):
return _cp4vasp.VisStructureDrawer_switchSelectionByPick(self, x, y)
def setPrimitivesResolution(self, r):
return _cp4vasp.VisStructureDrawer_setPrimitivesResolution(self, r)
def selectObject(self, x, y, z, radius, phase=0.0):
return _cp4vasp.VisStructureDrawer_selectObject(self, x, y, z, radius, phase)
def fillInfo(self):
return _cp4vasp.VisStructureDrawer_fillInfo(self)
def setStructure(self, s):
return _cp4vasp.VisStructureDrawer_setStructure(self, s)
def getStructure(self):
return _cp4vasp.VisStructureDrawer_getStructure(self)
def getRadiusFactor(self):
return _cp4vasp.VisStructureDrawer_getRadiusFactor(self)
def setRadiusFactor(self, r):
return _cp4vasp.VisStructureDrawer_setRadiusFactor(self, r)
def getBondRadius(self):
return _cp4vasp.VisStructureDrawer_getBondRadius(self)
def setBondRadius(self, r):
return _cp4vasp.VisStructureDrawer_setBondRadius(self, r)
def getBondFactor(self):
return _cp4vasp.VisStructureDrawer_getBondFactor(self)
def setBondFactor(self, r):
return _cp4vasp.VisStructureDrawer_setBondFactor(self, r)
def showCell(self, f=1):
return _cp4vasp.VisStructureDrawer_showCell(self, f)
def getCellLineWidth(self):
return _cp4vasp.VisStructureDrawer_getCellLineWidth(self)
def setCellLineWidth(self, w):
return _cp4vasp.VisStructureDrawer_setCellLineWidth(self, w)
def setCellColor(self, r, g, b):
return _cp4vasp.VisStructureDrawer_setCellColor(self, r, g, b)
def setBondColor(self, r, g, b):
return _cp4vasp.VisStructureDrawer_setBondColor(self, r, g, b)
def getSelected(self, i):
return _cp4vasp.VisStructureDrawer_getSelected(self, i)
def getSelectedCount(self):
return _cp4vasp.VisStructureDrawer_getSelectedCount(self)
def appendSelected(self, atom, nx=0, ny=0, nz=0):
return _cp4vasp.VisStructureDrawer_appendSelected(self, atom, nx, ny, nz)
def notifySelected(self, atom, nx=0, ny=0, nz=0):
return _cp4vasp.VisStructureDrawer_notifySelected(self, atom, nx, ny, nz)
def notifyDeselected(self, atom, nx=0, ny=0, nz=0):
return _cp4vasp.VisStructureDrawer_notifyDeselected(self, atom, nx, ny, nz)
def removeSelectedAll(self):
return _cp4vasp.VisStructureDrawer_removeSelectedAll(self)
def removeSelectedItem(self, i):
return _cp4vasp.VisStructureDrawer_removeSelectedItem(self, i)
def findSelectedAtom(self, atom, nx=0, ny=0, nz=0):
return _cp4vasp.VisStructureDrawer_findSelectedAtom(self, atom, nx, ny, nz)
def selectAtom(self, atom, nx, ny, nz):
return _cp4vasp.VisStructureDrawer_selectAtom(self, atom, nx, ny, nz)
def deselectAtom(self, atom, nx, ny, nz):
return _cp4vasp.VisStructureDrawer_deselectAtom(self, atom, nx, ny, nz)
def switchAtomSelection(self, atom, nx, ny, nz):
return _cp4vasp.VisStructureDrawer_switchAtomSelection(self, atom, nx, ny, nz)
VisStructureDrawer_swigregister = _cp4vasp.VisStructureDrawer_swigregister
VisStructureDrawer_swigregister(VisStructureDrawer)
class Clamp(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Clamp, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Clamp, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def getClassName(self):
return _cp4vasp.Clamp_getClassName(self)
def f(self, x):
return _cp4vasp.Clamp_f(self, x)
__swig_destroy__ = _cp4vasp.delete_Clamp
__del__ = lambda self: None
Clamp_swigregister = _cp4vasp.Clamp_swigregister
Clamp_swigregister(Clamp)
class ThresholdClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ThresholdClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ThresholdClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_ThresholdClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ThresholdClamp
__del__ = lambda self: None
ThresholdClamp_swigregister = _cp4vasp.ThresholdClamp_swigregister
ThresholdClamp_swigregister(ThresholdClamp)
class SawtoothClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SawtoothClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, SawtoothClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_SawtoothClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_SawtoothClamp
__del__ = lambda self: None
SawtoothClamp_swigregister = _cp4vasp.SawtoothClamp_swigregister
SawtoothClamp_swigregister(SawtoothClamp)
class CosClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CosClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, CosClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_CosClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_CosClamp
__del__ = lambda self: None
CosClamp_swigregister = _cp4vasp.CosClamp_swigregister
CosClamp_swigregister(CosClamp)
class WaveClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, WaveClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, WaveClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_WaveClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_WaveClamp
__del__ = lambda self: None
WaveClamp_swigregister = _cp4vasp.WaveClamp_swigregister
WaveClamp_swigregister(WaveClamp)
class AtanClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AtanClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, AtanClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_AtanClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_AtanClamp
__del__ = lambda self: None
AtanClamp_swigregister = _cp4vasp.AtanClamp_swigregister
AtanClamp_swigregister(AtanClamp)
class FermiClamp(Clamp):
__swig_setmethods__ = {}
for _s in [Clamp]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FermiClamp, name, value)
__swig_getmethods__ = {}
for _s in [Clamp]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FermiClamp, name)
__repr__ = _swig_repr
def __init__(self):
this = _cp4vasp.new_FermiClamp()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_FermiClamp
__del__ = lambda self: None
FermiClamp_swigregister = _cp4vasp.FermiClamp_swigregister
FermiClamp_swigregister(FermiClamp)
class ColorGradient(ClassInterface):
__swig_setmethods__ = {}
for _s in [ClassInterface]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ColorGradient, name, value)
__swig_getmethods__ = {}
for _s in [ClassInterface]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ColorGradient, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["color"] = _cp4vasp.ColorGradient_color_set
__swig_getmethods__["color"] = _cp4vasp.ColorGradient_color_get
def getClassName(self):
return _cp4vasp.ColorGradient_getClassName(self)
def f(self, x):
return _cp4vasp.ColorGradient_f(self, x)
def glcolor(self, x):
return _cp4vasp.ColorGradient_glcolor(self, x)
__swig_destroy__ = _cp4vasp.delete_ColorGradient
__del__ = lambda self: None
ColorGradient_swigregister = _cp4vasp.ColorGradient_swigregister
ColorGradient_swigregister(ColorGradient)
class GrayColorGradient(ColorGradient):
__swig_setmethods__ = {}
for _s in [ColorGradient]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, GrayColorGradient, name, value)
__swig_getmethods__ = {}
for _s in [ColorGradient]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, GrayColorGradient, name)
__repr__ = _swig_repr
def getClassName(self):
return _cp4vasp.GrayColorGradient_getClassName(self)
def f(self, x):
return _cp4vasp.GrayColorGradient_f(self, x)
def __init__(self):
this = _cp4vasp.new_GrayColorGradient()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_GrayColorGradient
__del__ = lambda self: None
GrayColorGradient_swigregister = _cp4vasp.GrayColorGradient_swigregister
GrayColorGradient_swigregister(GrayColorGradient)
class RainbowColorGradient(ColorGradient):
__swig_setmethods__ = {}
for _s in [ColorGradient]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RainbowColorGradient, name, value)
__swig_getmethods__ = {}
for _s in [ColorGradient]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, RainbowColorGradient, name)
__repr__ = _swig_repr
__swig_setmethods__["saturation"] = _cp4vasp.RainbowColorGradient_saturation_set
__swig_getmethods__["saturation"] = _cp4vasp.RainbowColorGradient_saturation_get
__swig_setmethods__["value"] = _cp4vasp.RainbowColorGradient_value_set
__swig_getmethods__["value"] = _cp4vasp.RainbowColorGradient_value_get
def __init__(self, saturation=1.0, value=1.0):
this = _cp4vasp.new_RainbowColorGradient(saturation, value)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.RainbowColorGradient_getClassName(self)
def f(self, x):
return _cp4vasp.RainbowColorGradient_f(self, x)
__swig_destroy__ = _cp4vasp.delete_RainbowColorGradient
__del__ = lambda self: None
RainbowColorGradient_swigregister = _cp4vasp.RainbowColorGradient_swigregister
RainbowColorGradient_swigregister(RainbowColorGradient)
class VisSlideDrawer(VisDrawer):
__swig_setmethods__ = {}
for _s in [VisDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisSlideDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisSlideDrawer, name)
__repr__ = _swig_repr
__swig_setmethods__["n1"] = _cp4vasp.VisSlideDrawer_n1_set
__swig_getmethods__["n1"] = _cp4vasp.VisSlideDrawer_n1_get
__swig_setmethods__["n2"] = _cp4vasp.VisSlideDrawer_n2_set
__swig_getmethods__["n2"] = _cp4vasp.VisSlideDrawer_n2_get
__swig_setmethods__["lo"] = _cp4vasp.VisSlideDrawer_lo_set
__swig_getmethods__["lo"] = _cp4vasp.VisSlideDrawer_lo_get
__swig_setmethods__["hi"] = _cp4vasp.VisSlideDrawer_hi_set
__swig_getmethods__["hi"] = _cp4vasp.VisSlideDrawer_hi_get
__swig_setmethods__["scale"] = _cp4vasp.VisSlideDrawer_scale_set
__swig_getmethods__["scale"] = _cp4vasp.VisSlideDrawer_scale_get
def __init__(self):
this = _cp4vasp.new_VisSlideDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def setShadow(self, f):
return _cp4vasp.VisSlideDrawer_setShadow(self, f)
def getShadow(self):
return _cp4vasp.VisSlideDrawer_getShadow(self)
def setB1(self, b):
return _cp4vasp.VisSlideDrawer_setB1(self, b)
def setB2(self, b):
return _cp4vasp.VisSlideDrawer_setB2(self, b)
def setOrigin(self, b):
return _cp4vasp.VisSlideDrawer_setOrigin(self, b)
def setFArray(self, fa):
return _cp4vasp.VisSlideDrawer_setFArray(self, fa)
def setGradient(self, g):
return _cp4vasp.VisSlideDrawer_setGradient(self, g)
def setClamp(self, c):
return _cp4vasp.VisSlideDrawer_setClamp(self, c)
def assureClampAndGradient(self):
return _cp4vasp.VisSlideDrawer_assureClampAndGradient(self)
__swig_destroy__ = _cp4vasp.delete_VisSlideDrawer
__del__ = lambda self: None
VisSlideDrawer_swigregister = _cp4vasp.VisSlideDrawer_swigregister
VisSlideDrawer_swigregister(VisSlideDrawer)
class VisStructureArrowsDrawer(VisDrawer):
__swig_setmethods__ = {}
for _s in [VisDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisStructureArrowsDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisStructureArrowsDrawer, name)
__repr__ = _swig_repr
__swig_setmethods__["arrow_radius"] = _cp4vasp.VisStructureArrowsDrawer_arrow_radius_set
__swig_getmethods__["arrow_radius"] = _cp4vasp.VisStructureArrowsDrawer_arrow_radius_get
__swig_setmethods__["arrowhead_radius"] = _cp4vasp.VisStructureArrowsDrawer_arrowhead_radius_set
__swig_getmethods__["arrowhead_radius"] = _cp4vasp.VisStructureArrowsDrawer_arrowhead_radius_get
__swig_setmethods__["arrowhead_length"] = _cp4vasp.VisStructureArrowsDrawer_arrowhead_length_set
__swig_getmethods__["arrowhead_length"] = _cp4vasp.VisStructureArrowsDrawer_arrowhead_length_get
__swig_setmethods__["red"] = _cp4vasp.VisStructureArrowsDrawer_red_set
__swig_getmethods__["red"] = _cp4vasp.VisStructureArrowsDrawer_red_get
__swig_setmethods__["green"] = _cp4vasp.VisStructureArrowsDrawer_green_set
__swig_getmethods__["green"] = _cp4vasp.VisStructureArrowsDrawer_green_get
__swig_setmethods__["blue"] = _cp4vasp.VisStructureArrowsDrawer_blue_set
__swig_getmethods__["blue"] = _cp4vasp.VisStructureArrowsDrawer_blue_get
__swig_setmethods__["arrows_scale"] = _cp4vasp.VisStructureArrowsDrawer_arrows_scale_set
__swig_getmethods__["arrows_scale"] = _cp4vasp.VisStructureArrowsDrawer_arrows_scale_get
def __init__(self, sd):
this = _cp4vasp.new_VisStructureArrowsDrawer(sd)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.VisStructureArrowsDrawer_getClassName(self)
__swig_destroy__ = _cp4vasp.delete_VisStructureArrowsDrawer
__del__ = lambda self: None
def updateStructure(self):
return _cp4vasp.VisStructureArrowsDrawer_updateStructure(self)
def len(self):
return _cp4vasp.VisStructureArrowsDrawer_len(self)
def getArrow(self, i):
return _cp4vasp.VisStructureArrowsDrawer_getArrow(self, i)
def setArrow(self, i, x, y, z):
return _cp4vasp.VisStructureArrowsDrawer_setArrow(self, i, x, y, z)
def setScale(self, s):
return _cp4vasp.VisStructureArrowsDrawer_setScale(self, s)
def getScale(self):
return _cp4vasp.VisStructureArrowsDrawer_getScale(self)
VisStructureArrowsDrawer_swigregister = _cp4vasp.VisStructureArrowsDrawer_swigregister
VisStructureArrowsDrawer_swigregister(VisStructureArrowsDrawer)
class VisIsosurfaceDrawer(VisDrawer):
__swig_setmethods__ = {}
for _s in [VisDrawer]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, VisIsosurfaceDrawer, name, value)
__swig_getmethods__ = {}
for _s in [VisDrawer]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, VisIsosurfaceDrawer, name)
__repr__ = _swig_repr
__swig_setmethods__["list"] = _cp4vasp.VisIsosurfaceDrawer_list_set
__swig_getmethods__["list"] = _cp4vasp.VisIsosurfaceDrawer_list_get
__swig_setmethods__["list_update_required"] = _cp4vasp.VisIsosurfaceDrawer_list_update_required_set
__swig_getmethods__["list_update_required"] = _cp4vasp.VisIsosurfaceDrawer_list_update_required_get
__swig_setmethods__["level"] = _cp4vasp.VisIsosurfaceDrawer_level_set
__swig_getmethods__["level"] = _cp4vasp.VisIsosurfaceDrawer_level_get
__swig_setmethods__["draw_as_points"] = _cp4vasp.VisIsosurfaceDrawer_draw_as_points_set
__swig_getmethods__["draw_as_points"] = _cp4vasp.VisIsosurfaceDrawer_draw_as_points_get
__swig_setmethods__["mx"] = _cp4vasp.VisIsosurfaceDrawer_mx_set
__swig_getmethods__["mx"] = _cp4vasp.VisIsosurfaceDrawer_mx_get
__swig_setmethods__["my"] = _cp4vasp.VisIsosurfaceDrawer_my_set
__swig_getmethods__["my"] = _cp4vasp.VisIsosurfaceDrawer_my_get
__swig_setmethods__["mz"] = _cp4vasp.VisIsosurfaceDrawer_mz_set
__swig_getmethods__["mz"] = _cp4vasp.VisIsosurfaceDrawer_mz_get
__swig_setmethods__["chgcar"] = _cp4vasp.VisIsosurfaceDrawer_chgcar_set
__swig_getmethods__["chgcar"] = _cp4vasp.VisIsosurfaceDrawer_chgcar_get
def paint_isosurface(self, c, level):
return _cp4vasp.VisIsosurfaceDrawer_paint_isosurface(self, c, level)
def handle_tetrahedron(self, c, a1, a2, a3, b1, b2, b3, c1, c2, c3, d1, d2, d3, level):
return _cp4vasp.VisIsosurfaceDrawer_handle_tetrahedron(self, c, a1, a2, a3, b1, b2, b3, c1, c2, c3, d1, d2, d3, level)
def handle_type1(self, va, vb, vc, vd, nA, nB, nC, nD, A, B, C, D):
return _cp4vasp.VisIsosurfaceDrawer_handle_type1(self, va, vb, vc, vd, nA, nB, nC, nD, A, B, C, D)
def handle_type2(self, va, vb, vc, vd, nA, nB, nC, nD, A, B, C, D):
return _cp4vasp.VisIsosurfaceDrawer_handle_type2(self, va, vb, vc, vd, nA, nB, nC, nD, A, B, C, D)
__swig_setmethods__["red"] = _cp4vasp.VisIsosurfaceDrawer_red_set
__swig_getmethods__["red"] = _cp4vasp.VisIsosurfaceDrawer_red_get
__swig_setmethods__["green"] = _cp4vasp.VisIsosurfaceDrawer_green_set
__swig_getmethods__["green"] = _cp4vasp.VisIsosurfaceDrawer_green_get
__swig_setmethods__["blue"] = _cp4vasp.VisIsosurfaceDrawer_blue_set
__swig_getmethods__["blue"] = _cp4vasp.VisIsosurfaceDrawer_blue_get
def __init__(self):
this = _cp4vasp.new_VisIsosurfaceDrawer()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getClassName(self):
return _cp4vasp.VisIsosurfaceDrawer_getClassName(self)
def setMultiple(self, a, b, c):
return _cp4vasp.VisIsosurfaceDrawer_setMultiple(self, a, b, c)
def setMultiple1(self, a):
return _cp4vasp.VisIsosurfaceDrawer_setMultiple1(self, a)
def setMultiple2(self, a):
return _cp4vasp.VisIsosurfaceDrawer_setMultiple2(self, a)
def setMultiple3(self, a):
return _cp4vasp.VisIsosurfaceDrawer_setMultiple3(self, a)
def getMultiple1(self):
return _cp4vasp.VisIsosurfaceDrawer_getMultiple1(self)
def getMultiple2(self):
return _cp4vasp.VisIsosurfaceDrawer_getMultiple2(self)
def getMultiple3(self):
return _cp4vasp.VisIsosurfaceDrawer_getMultiple3(self)
def updateIsosurface(self):
return _cp4vasp.VisIsosurfaceDrawer_updateIsosurface(self)
def setLevel(self, l):
return _cp4vasp.VisIsosurfaceDrawer_setLevel(self, l)
def setChgcar(self, c):
return _cp4vasp.VisIsosurfaceDrawer_setChgcar(self, c)
def getLevel(self):
return _cp4vasp.VisIsosurfaceDrawer_getLevel(self)
def getDrawAsPoints(self):
return _cp4vasp.VisIsosurfaceDrawer_getDrawAsPoints(self)
def setDrawAsPoints(self, b):
return _cp4vasp.VisIsosurfaceDrawer_setDrawAsPoints(self, b)
__swig_destroy__ = _cp4vasp.delete_VisIsosurfaceDrawer
__del__ = lambda self: None
VisIsosurfaceDrawer_swigregister = _cp4vasp.VisIsosurfaceDrawer_swigregister
VisIsosurfaceDrawer_swigregister(VisIsosurfaceDrawer)
def ODP_parseString(src):
return _cp4vasp.ODP_parseString(src)
ODP_parseString = _cp4vasp.ODP_parseString
def ODP_parseFile(path):
return _cp4vasp.ODP_parseFile(path)
ODP_parseFile = _cp4vasp.ODP_parseFile
class ODPNode:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPNode, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ODPNode, name)
__repr__ = _swig_repr
__swig_setmethods__["doc"] = _cp4vasp.ODPNode_doc_set
__swig_getmethods__["doc"] = _cp4vasp.ODPNode_doc_get
__swig_setmethods__["pos"] = _cp4vasp.ODPNode_pos_set
__swig_getmethods__["pos"] = _cp4vasp.ODPNode_pos_get
def __init__(self, node):
this = _cp4vasp.new_ODPNode(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
ELEMENT_NODE = _cp4vasp.ODPNode_ELEMENT_NODE
ATTRIBUTE_NODE = _cp4vasp.ODPNode_ATTRIBUTE_NODE
TEXT_NODE = _cp4vasp.ODPNode_TEXT_NODE
CDATA_SECTION_NODE = _cp4vasp.ODPNode_CDATA_SECTION_NODE
ENTITY_REFERENCE_NODE = _cp4vasp.ODPNode_ENTITY_REFERENCE_NODE
ENTITY_NODE = _cp4vasp.ODPNode_ENTITY_NODE
PROCESSING_INSTRUCTION_NODE = _cp4vasp.ODPNode_PROCESSING_INSTRUCTION_NODE
COMMENT_NODE = _cp4vasp.ODPNode_COMMENT_NODE
DOCUMENT_NODE = _cp4vasp.ODPNode_DOCUMENT_NODE
DOCUMENT_TYPE_NODE = _cp4vasp.ODPNode_DOCUMENT_TYPE_NODE
DOCUMENT_FRAGMENT_NODE = _cp4vasp.ODPNode_DOCUMENT_FRAGMENT_NODE
NOTATION_NODE = _cp4vasp.ODPNode_NOTATION_NODE
def getNodeName(self):
return _cp4vasp.ODPNode_getNodeName(self)
def getNodeValue(self):
return _cp4vasp.ODPNode_getNodeValue(self)
def setNodeValue(self, v):
return _cp4vasp.ODPNode_setNodeValue(self, v)
def getNodeType(self):
return _cp4vasp.ODPNode_getNodeType(self)
def getParentNode(self):
return _cp4vasp.ODPNode_getParentNode(self)
def getChildNodes(self):
return _cp4vasp.ODPNode_getChildNodes(self)
def getFirstChild(self):
return _cp4vasp.ODPNode_getFirstChild(self)
def getLastChild(self):
return _cp4vasp.ODPNode_getLastChild(self)
def getPreviousSibling(self):
return _cp4vasp.ODPNode_getPreviousSibling(self)
def getNextSibling(self):
return _cp4vasp.ODPNode_getNextSibling(self)
def getAttributes(self):
return _cp4vasp.ODPNode_getAttributes(self)
def getOwnerDocument(self):
return _cp4vasp.ODPNode_getOwnerDocument(self)
def hasChildNodes(self):
return _cp4vasp.ODPNode_hasChildNodes(self)
def up(self):
return _cp4vasp.ODPNode_up(self)
def down(self):
return _cp4vasp.ODPNode_down(self)
def next(self):
return _cp4vasp.ODPNode_next(self)
def previous(self):
return _cp4vasp.ODPNode_previous(self)
def poschar(self):
return _cp4vasp.ODPNode_poschar(self)
__swig_destroy__ = _cp4vasp.delete_ODPNode
__del__ = lambda self: None
ODPNode_swigregister = _cp4vasp.ODPNode_swigregister
ODPNode_swigregister(ODPNode)
class ODPDOMImplementation:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPDOMImplementation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ODPDOMImplementation, name)
__repr__ = _swig_repr
def hasFeature(self, feature, version):
return _cp4vasp.ODPDOMImplementation_hasFeature(self, feature, version)
def __init__(self):
this = _cp4vasp.new_ODPDOMImplementation()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPDOMImplementation
__del__ = lambda self: None
ODPDOMImplementation_swigregister = _cp4vasp.ODPDOMImplementation_swigregister
ODPDOMImplementation_swigregister(ODPDOMImplementation)
class ODPDocument(ODPNode):
__swig_setmethods__ = {}
for _s in [ODPNode]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPDocument, name, value)
__swig_getmethods__ = {}
for _s in [ODPNode]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPDocument, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def getDoctype(self):
return _cp4vasp.ODPDocument_getDoctype(self)
def getImplementation(self):
return _cp4vasp.ODPDocument_getImplementation(self)
def getDocumentElement(self):
return _cp4vasp.ODPDocument_getDocumentElement(self)
def createElement(self, tagName):
return _cp4vasp.ODPDocument_createElement(self, tagName)
def createDocumentFragment(self):
return _cp4vasp.ODPDocument_createDocumentFragment(self)
def createTextNode(self, data):
return _cp4vasp.ODPDocument_createTextNode(self, data)
def createComment(self, data):
return _cp4vasp.ODPDocument_createComment(self, data)
def createCDATASection(self, data):
return _cp4vasp.ODPDocument_createCDATASection(self, data)
def createProcessingInstruction(self, target, data):
return _cp4vasp.ODPDocument_createProcessingInstruction(self, target, data)
def createAttribute(self, name):
return _cp4vasp.ODPDocument_createAttribute(self, name)
def createEntityReference(self, name):
return _cp4vasp.ODPDocument_createEntityReference(self, name)
def getElementsByTagName(self, tagname):
return _cp4vasp.ODPDocument_getElementsByTagName(self, tagname)
__swig_destroy__ = _cp4vasp.delete_ODPDocument
__del__ = lambda self: None
ODPDocument_swigregister = _cp4vasp.ODPDocument_swigregister
ODPDocument_swigregister(ODPDocument)
class ODPDocumentParent(ODPDocument):
__swig_setmethods__ = {}
for _s in [ODPDocument]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPDocumentParent, name, value)
__swig_getmethods__ = {}
for _s in [ODPDocument]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPDocumentParent, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _cp4vasp.delete_ODPDocumentParent
__del__ = lambda self: None
ODPDocumentParent_swigregister = _cp4vasp.ODPDocumentParent_swigregister
ODPDocumentParent_swigregister(ODPDocumentParent)
class ODPElement(ODPNode):
__swig_setmethods__ = {}
for _s in [ODPNode]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPElement, name, value)
__swig_getmethods__ = {}
for _s in [ODPNode]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPElement, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPElement(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getTagName(self):
return _cp4vasp.ODPElement_getTagName(self)
def getAttribute(self, name):
return _cp4vasp.ODPElement_getAttribute(self, name)
def setAttribute(self, name, value):
return _cp4vasp.ODPElement_setAttribute(self, name, value)
def removeAttribute(self, name):
return _cp4vasp.ODPElement_removeAttribute(self, name)
def getAttributeNode(self, name):
return _cp4vasp.ODPElement_getAttributeNode(self, name)
def setAttributeNode(self, newAttr):
return _cp4vasp.ODPElement_setAttributeNode(self, newAttr)
def removeAttributeNode(self, oldAttr):
return _cp4vasp.ODPElement_removeAttributeNode(self, oldAttr)
def getElementsByTagName(self, name):
return _cp4vasp.ODPElement_getElementsByTagName(self, name)
def normalize(self):
return _cp4vasp.ODPElement_normalize(self)
def refreshAttr(self):
return _cp4vasp.ODPElement_refreshAttr(self)
__swig_destroy__ = _cp4vasp.delete_ODPElement
__del__ = lambda self: None
ODPElement_swigregister = _cp4vasp.ODPElement_swigregister
ODPElement_swigregister(ODPElement)
class ODPCharacterData(ODPNode):
__swig_setmethods__ = {}
for _s in [ODPNode]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPCharacterData, name, value)
__swig_getmethods__ = {}
for _s in [ODPNode]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPCharacterData, name)
__repr__ = _swig_repr
def getData(self):
return _cp4vasp.ODPCharacterData_getData(self)
def setData(self, s):
return _cp4vasp.ODPCharacterData_setData(self, s)
def __init__(self, node):
this = _cp4vasp.new_ODPCharacterData(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getLength(self):
return _cp4vasp.ODPCharacterData_getLength(self)
def substringData(self, offset, count):
return _cp4vasp.ODPCharacterData_substringData(self, offset, count)
def appendData(self, arg):
return _cp4vasp.ODPCharacterData_appendData(self, arg)
def insertData(self, offset, arg):
return _cp4vasp.ODPCharacterData_insertData(self, offset, arg)
def deleteData(self, offset, count):
return _cp4vasp.ODPCharacterData_deleteData(self, offset, count)
def replaceData(self, offset, count, arg):
return _cp4vasp.ODPCharacterData_replaceData(self, offset, count, arg)
__swig_destroy__ = _cp4vasp.delete_ODPCharacterData
__del__ = lambda self: None
ODPCharacterData_swigregister = _cp4vasp.ODPCharacterData_swigregister
ODPCharacterData_swigregister(ODPCharacterData)
class ODPText(ODPCharacterData):
__swig_setmethods__ = {}
for _s in [ODPCharacterData]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPText, name, value)
__swig_getmethods__ = {}
for _s in [ODPCharacterData]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPText, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPText(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def splitText(self, offset):
return _cp4vasp.ODPText_splitText(self, offset)
__swig_destroy__ = _cp4vasp.delete_ODPText
__del__ = lambda self: None
ODPText_swigregister = _cp4vasp.ODPText_swigregister
ODPText_swigregister(ODPText)
class ODPComment(ODPCharacterData):
__swig_setmethods__ = {}
for _s in [ODPCharacterData]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPComment, name, value)
__swig_getmethods__ = {}
for _s in [ODPCharacterData]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPComment, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPComment(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPComment
__del__ = lambda self: None
ODPComment_swigregister = _cp4vasp.ODPComment_swigregister
ODPComment_swigregister(ODPComment)
class ODPCDATASection(ODPText):
__swig_setmethods__ = {}
for _s in [ODPText]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPCDATASection, name, value)
__swig_getmethods__ = {}
for _s in [ODPText]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPCDATASection, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPCDATASection(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPCDATASection
__del__ = lambda self: None
ODPCDATASection_swigregister = _cp4vasp.ODPCDATASection_swigregister
ODPCDATASection_swigregister(ODPCDATASection)
class ODPNodeList:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPNodeList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ODPNodeList, name)
__repr__ = _swig_repr
def item(self, index):
return _cp4vasp.ODPNodeList_item(self, index)
def getLength(self):
return _cp4vasp.ODPNodeList_getLength(self)
def __init__(self):
this = _cp4vasp.new_ODPNodeList()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPNodeList
__del__ = lambda self: None
ODPNodeList_swigregister = _cp4vasp.ODPNodeList_swigregister
ODPNodeList_swigregister(ODPNodeList)
class ODPChildList(ODPNodeList):
__swig_setmethods__ = {}
for _s in [ODPNodeList]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPChildList, name, value)
__swig_getmethods__ = {}
for _s in [ODPNodeList]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPChildList, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPChildList(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def item(self, index):
return _cp4vasp.ODPChildList_item(self, index)
def getLength(self):
return _cp4vasp.ODPChildList_getLength(self)
__swig_destroy__ = _cp4vasp.delete_ODPChildList
__del__ = lambda self: None
ODPChildList_swigregister = _cp4vasp.ODPChildList_swigregister
ODPChildList_swigregister(ODPChildList)
class ODPElementsByTagNameList(ODPNodeList):
__swig_setmethods__ = {}
for _s in [ODPNodeList]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPElementsByTagNameList, name, value)
__swig_getmethods__ = {}
for _s in [ODPNodeList]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPElementsByTagNameList, name)
__repr__ = _swig_repr
def __init__(self, node, tag):
this = _cp4vasp.new_ODPElementsByTagNameList(node, tag)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPElementsByTagNameList
__del__ = lambda self: None
def item(self, index):
return _cp4vasp.ODPElementsByTagNameList_item(self, index)
def getLength(self):
return _cp4vasp.ODPElementsByTagNameList_getLength(self)
ODPElementsByTagNameList_swigregister = _cp4vasp.ODPElementsByTagNameList_swigregister
ODPElementsByTagNameList_swigregister(ODPElementsByTagNameList)
class ODPChildrenByTagNameList(ODPNodeList):
__swig_setmethods__ = {}
for _s in [ODPNodeList]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPChildrenByTagNameList, name, value)
__swig_getmethods__ = {}
for _s in [ODPNodeList]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPChildrenByTagNameList, name)
__repr__ = _swig_repr
def __init__(self, node, tag):
this = _cp4vasp.new_ODPChildrenByTagNameList(node, tag)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPChildrenByTagNameList
__del__ = lambda self: None
def item(self, index):
return _cp4vasp.ODPChildrenByTagNameList_item(self, index)
def getLength(self):
return _cp4vasp.ODPChildrenByTagNameList_getLength(self)
ODPChildrenByTagNameList_swigregister = _cp4vasp.ODPChildrenByTagNameList_swigregister
ODPChildrenByTagNameList_swigregister(ODPChildrenByTagNameList)
class ODPNamedNodeMap:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPNamedNodeMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ODPNamedNodeMap, name)
__repr__ = _swig_repr
def getNamedItem(self, name):
return _cp4vasp.ODPNamedNodeMap_getNamedItem(self, name)
def setNamedItem(self, arg):
return _cp4vasp.ODPNamedNodeMap_setNamedItem(self, arg)
def removeNamedItem(self, name):
return _cp4vasp.ODPNamedNodeMap_removeNamedItem(self, name)
def item(self, index):
return _cp4vasp.ODPNamedNodeMap_item(self, index)
def getLength(self):
return _cp4vasp.ODPNamedNodeMap_getLength(self)
def __init__(self):
this = _cp4vasp.new_ODPNamedNodeMap()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _cp4vasp.delete_ODPNamedNodeMap
__del__ = lambda self: None
ODPNamedNodeMap_swigregister = _cp4vasp.ODPNamedNodeMap_swigregister
ODPNamedNodeMap_swigregister(ODPNamedNodeMap)
class ODPAttributeMap(ODPNamedNodeMap):
__swig_setmethods__ = {}
for _s in [ODPNamedNodeMap]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPAttributeMap, name, value)
__swig_getmethods__ = {}
for _s in [ODPNamedNodeMap]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPAttributeMap, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPAttributeMap(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def setNode(self, node):
return _cp4vasp.ODPAttributeMap_setNode(self, node)
def getAttribute(self, name):
return _cp4vasp.ODPAttributeMap_getAttribute(self, name)
def getNamedItem(self, name):
return _cp4vasp.ODPAttributeMap_getNamedItem(self, name)
def item(self, index):
return _cp4vasp.ODPAttributeMap_item(self, index)
def getLength(self):
return _cp4vasp.ODPAttributeMap_getLength(self)
__swig_destroy__ = _cp4vasp.delete_ODPAttributeMap
__del__ = lambda self: None
ODPAttributeMap_swigregister = _cp4vasp.ODPAttributeMap_swigregister
ODPAttributeMap_swigregister(ODPAttributeMap)
class ODPAttr(ODPNode):
__swig_setmethods__ = {}
for _s in [ODPNode]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ODPAttr, name, value)
__swig_getmethods__ = {}
for _s in [ODPNode]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ODPAttr, name)
__repr__ = _swig_repr
def __init__(self, node):
this = _cp4vasp.new_ODPAttr(node)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def getName(self):
return _cp4vasp.ODPAttr_getName(self)
def getSpecified(self):
return _cp4vasp.ODPAttr_getSpecified(self)
def getValue(self):
return _cp4vasp.ODPAttr_getValue(self)
def setValue(self, s):
return _cp4vasp.ODPAttr_setValue(self, s)
__swig_destroy__ = _cp4vasp.delete_ODPAttr
__del__ = lambda self: None
ODPAttr_swigregister = _cp4vasp.ODPAttr_swigregister
ODPAttr_swigregister(ODPAttr)
|