This file is indexed.

/usr/share/pyshared/PyTrilinos/IFPACK.py is in python-pytrilinos 10.4.0.dfsg-1ubuntu2.

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
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.


"""

PyTrilinos.IFPACK is the python interface to the Trilinos
preconditioner package IFPACK:

    http://trilinos.sandia.gov/packages/ifpack

The purpose of IFPACK is to provide incomplete foctorization
preconditioners to Trilinos.  Note that the C++ version of IFPACK uses
the prefix 'Ifpack_' which has been stripped from the python version.

IFPACK provides the following user-level classes:

    * Factory         - A factory for creating IFPACK preconditioners
    * Preconditioner  - Pure virtual base class for defining interface
    * IC              - Incomplete Cholesky preconditioner
    * ICT             - Incomplete Cholesky preconditioner w/threshold
    * ILU             - Incomplete lower/upper preconditioner
    * ILUT            - Incomplete lower/upper preconditioner w/threshold
    * PointRelaxation - Point relaxation predonditioner
    * Amesos          - Use Amesos factorizations as preconditioners

and functions:

    * AnalyzeMatrix          - Analyze the basic properties of a matrix
    * AnalyzeMatrixElements  - Analyze the distribution of values of a matrix
    * AnalyzeVectorElements  - Analyze the distribution of values of a vector
    * PrintSparsity          - Create PS file with sparsity pattern of matrix

For examples of usage, please consult the following scripts in the
example subdirectory of the PyTrilinos package:

    * exIFPACK.py

"""


from sys import version_info
if 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('_IFPACK', [dirname(__file__)])
        except ImportError:
            import _IFPACK
            return _IFPACK
        if fp is not None:
            try:
                _mod = imp.load_module('_IFPACK', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _IFPACK = swig_import_helper()
    del swig_import_helper
else:
    import _IFPACK
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
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(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


try:
    import weakref
    weakref_proxy = weakref.proxy
except:
    weakref_proxy = lambda x: x


import Teuchos
import Epetra
class Factory(_object):
    """
    Ifpack: a function class to define Ifpack preconditioners.

    Class Ifpack is a function class, that contains just one method:
    Create(). Using Create(), users can easily define a variety of IFPACK
    preconditioners.

    Create requires 3 arguments: a string, indicating the preconditioner
    to be built;

    a pointer to an Epetra_RowMatrix, representing the matrix to be used
    to define the preconditioner;

    an interger (defaulted to 0), that specifies the amount of overlap
    among the processes.

    The first argument can assume the following values:  "point
    relaxation" : returns an instance of
    Ifpack_AdditiveSchwarz<Ifpack_PointRelaxation>

    "point relaxation stand-alone" : returns an instance of
    Ifpack_PointRelaxation (value of overlap is ignored).

    "block relaxation" : returns an instance of
    Ifpack_AdditiveSchwarz<Ifpack_BlockRelaxation>

    "block relaxation stand-alone)" : returns an instance of
    Ifpack_BlockRelaxation.

    "Amesos" : returns an instance of
    Ifpack_AdditiveSchwarz<Ifpack_Amesos>.

    "Amesos stand-alone" : returns an instance of Ifpack_Amesos.

    "IC" : returns an instance of Ifpack_AdditiveSchwarz<Ifpack_IC>.

    "IC stand-alone" : returns an instance of
    Ifpack_AdditiveSchwarz<Ifpack_IC>.

    "ICT" : returns an instance of Ifpack_AdditiveSchwarz<Ifpack_ICT>.

    "ICT stand-alone" : returns an instance of Ifpack_ICT.

    "ILU" : returns an instance of Ifpack_AdditiveSchwarz<Ifpack_ILU>.

    "ILU stand-alone" : returns an instance of Ifpack_ILU.

    "ILUT" : returns an instance of Ifpack_AdditiveSchwarz<Ifpack_ILUT>.

    "ILUT stand-alone" : returns an instance of Ifpack_ILUT.

    otherwise, Create() returns 0.

    Objects in stand-alone mode cannot use reordering, variable overlap,
    and singleton filters. However, their construction can be slightly
    faster than the non stand-alone counterpart.

    The following fragment of code shows the basic usage of this class.

    Marzio Sala, (formally) SNL org. 1414

    C++ includes: Ifpack.h 
    """
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Factory, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Factory, name)
    __repr__ = _swig_repr
    POINT_RELAXATION = _IFPACK.Factory_POINT_RELAXATION
    POINT_RELAXATION_STAND_ALONE = _IFPACK.Factory_POINT_RELAXATION_STAND_ALONE
    BLOCK_RELAXATION = _IFPACK.Factory_BLOCK_RELAXATION
    BLOCK_RELAXATION_STAND_ALONE = _IFPACK.Factory_BLOCK_RELAXATION_STAND_ALONE
    BLOCK_RELAXATION_STAND_ALONE_ILU = _IFPACK.Factory_BLOCK_RELAXATION_STAND_ALONE_ILU
    BLOCK_RELAXATION_STAND_ALONE_AMESOS = _IFPACK.Factory_BLOCK_RELAXATION_STAND_ALONE_AMESOS
    BLOCK_RELAXATION_AMESOS = _IFPACK.Factory_BLOCK_RELAXATION_AMESOS
    AMESOS = _IFPACK.Factory_AMESOS
    AMESOS_STAND_ALONE = _IFPACK.Factory_AMESOS_STAND_ALONE
    IC = _IFPACK.Factory_IC
    IC_STAND_ALONE = _IFPACK.Factory_IC_STAND_ALONE
    ICT = _IFPACK.Factory_ICT
    ICT_STAND_ALONE = _IFPACK.Factory_ICT_STAND_ALONE
    ILU = _IFPACK.Factory_ILU
    ILU_STAND_ALONE = _IFPACK.Factory_ILU_STAND_ALONE
    ILUT = _IFPACK.Factory_ILUT
    ILUT_STAND_ALONE = _IFPACK.Factory_ILUT_STAND_ALONE
    CHEBYSHEV = _IFPACK.Factory_CHEBYSHEV
    IHSS = _IFPACK.Factory_IHSS
    SORA = _IFPACK.Factory_SORA
    numPrecTypes = _IFPACK.Factory_numPrecTypes
    __swig_setmethods__["precTypeNames"] = _IFPACK.Factory_precTypeNames_set
    __swig_getmethods__["precTypeNames"] = _IFPACK.Factory_precTypeNames_get
    if _newclass:precTypeNames = _swig_property(_IFPACK.Factory_precTypeNames_get, _IFPACK.Factory_precTypeNames_set)
    def toString(*args):
        """toString(EPrecType precType) -> char"""
        return _IFPACK.Factory_toString(*args)

    if _newclass:toString = staticmethod(toString)
    __swig_getmethods__["toString"] = lambda x: toString
    def Create(self, *args):
        """
        Create(self, EPrecType PrecType, RowMatrix Matrix, int overlap = 0) -> Preconditioner
        Create(self, string PrecType, RowMatrix Matrix, int overlap = 0) -> Preconditioner

        Ifpack_Preconditioner *
        Ifpack::Create(const string PrecType, Epetra_RowMatrix *Matrix, const
        int overlap=0)

        Creates an instance of Ifpack_Preconditioner given the string name of
        the preconditioner type (can fail with bad input).

        Parameters:
        -----------

        PrecType:  (In) - String name of preconditioner type to be created.

        Matrix:  (In) - Matrix used to define the preconditioner

        overlap:  (In) - specified overlap, defaulted to 0.

        Returns 0 if the preconditioner with that input name does not exist.
        Otherwise, return a newly created preconditioner object. Note that the
        client is responsible for calling delete on the returned object once
        it is finished using it! 
        """
        return _IFPACK.Factory_Create(self, *args)

    def SetParameters(self, *args):
        """
        SetParameters(self, int argc, char argv, ParameterList List, string PrecType, 
            int Overlap) -> int

        int
        Ifpack::SetParameters(int argc, char *argv[], Teuchos::ParameterList
        &List, string &PrecType, int &Overlap)

        Sets the options in List from the command line.

        Note: If you want full support for all parameters, consider reading in
        a parameter list from an XML file as supported by the Teuchos helper
        function Teuchos::updateParametersFromXmlFile() or
        Teuchos::updateParametersFromXmlStream(). 
        """
        return _IFPACK.Factory_SetParameters(self, *args)

    def __init__(self, *args): 
        """__init__(self) -> Factory"""
        this = _IFPACK.new_Factory(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_Factory
    __del__ = lambda self : None;
Factory_swigregister = _IFPACK.Factory_swigregister
Factory_swigregister(Factory)
cvar = _IFPACK.cvar
Factory.precTypeValues = _IFPACK.cvar.Factory_precTypeValues
Factory.supportsUnsymmetric = _IFPACK.cvar.Factory_supportsUnsymmetric

def Factory_toString(*args):
  """Factory_toString(EPrecType precType) -> char"""
  return _IFPACK.Factory_toString(*args)


def Version(*args):
  """
    Version() -> string

    string Ifpack_Version() 
    """
  return _IFPACK.Version(*args)
__version__ = Version().split()[3]


def Ifpack_PrintLine(*args):
  """
    Ifpack_PrintLine()

    void Ifpack_PrintLine()

    Prints a line of `=' on cout. 
    """
  return _IFPACK.Ifpack_PrintLine(*args)

def Ifpack_BreakForDebugger(*args):
  """
    Ifpack_BreakForDebugger(Comm Comm)

    void
    Ifpack_BreakForDebugger(Epetra_Comm &Comm)

    Stops the execution of code, so that a debugger can be attached. 
    """
  return _IFPACK.Ifpack_BreakForDebugger(*args)

def Ifpack_PrintSparsity_Simple(*args):
  """
    Ifpack_PrintSparsity_Simple(RowMatrix A)

    void
    Ifpack_PrintSparsity_Simple(const Epetra_RowMatrix &A) 
    """
  return _IFPACK.Ifpack_PrintSparsity_Simple(*args)

def AnalyzeMatrix(*args):
  """
    AnalyzeMatrix(RowMatrix A, bool Cheap = False, int NumPDEEqns = 1) -> int

    int Ifpack_Analyze(const
    Epetra_RowMatrix &A, const bool Cheap=false, const int NumPDEEqns=1)

    Analyzes the basic properties of the input matrix A; see ifp_analyze.

    """
  return _IFPACK.AnalyzeMatrix(*args)

def AnalyzeMatrixElements(*args):
  """
    AnalyzeMatrixElements(RowMatrix A, bool abs = False, int steps = 10) -> int

    int
    Ifpack_AnalyzeMatrixElements(const Epetra_RowMatrix &A, const bool
    abs=false, const int steps=10)

    Analyzes the distribution of values of the input matrix A.

    Parameters:
    -----------

    A:  - (In) matrix to be analyzed.

    abs:  - (In) if true, the function will analyze matrix B, whose
    elements are defined as $ B_{i,i} = | A_{i,i}| $.

    steps:  - (In) number of intervals for the analysis.

    An example of output is reported ifp_matrix. 
    """
  return _IFPACK.AnalyzeMatrixElements(*args)

def AnalyzeVectorElements(*args):
  """
    AnalyzeVectorElements(Epetra_Vector Diagonal, bool abs = False, int steps = 10) -> int

    int
    Ifpack_AnalyzeVectorElements(const Epetra_Vector &Diagonal, const bool
    abs=false, const int steps=10)

    Analyzes the distribution of values of the input vector Diagonal.

    Parameters:
    -----------

    Diagonal:  - (In) Vector to be analyzed.

    abs:  - (In) if true, the function will analyze vector B, whose
    elements are defined as $ B_{i} = | D_{i}| $.

    steps:  - (In) number of intervals for the analysis.

    An example of output is reported ifp_vector. 
    """
  return _IFPACK.AnalyzeVectorElements(*args)

def PrintSparsity(*args):
  """
    PrintSparsity(RowMatrix A, char FileName = None, int NumPDEEqns = 1) -> int

    int
    Ifpack_PrintSparsity(const Epetra_RowMatrix &A, const char
    *FileName=0, const int NumPDEEqns=1) 
    """
  return _IFPACK.PrintSparsity(*args)
class Ifpack_Element(_object):
    """Proxy of C++ Ifpack_Element class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Ifpack_Element, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Ifpack_Element, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> Ifpack_Element
        __init__(self, Ifpack_Element rhs) -> Ifpack_Element

        Ifpack_Element::Ifpack_Element(const Ifpack_Element &rhs) 
        """
        this = _IFPACK.new_Ifpack_Element(*args)
        try: self.this.append(this)
        except: self.this = this
    def Index(self, *args):
        """
        Index(self) -> int

        int
        Ifpack_Element::Index() const 
        """
        return _IFPACK.Ifpack_Element_Index(self, *args)

    def Value(self, *args):
        """
        Value(self) -> double

        double
        Ifpack_Element::Value() const 
        """
        return _IFPACK.Ifpack_Element_Value(self, *args)

    def AbsValue(self, *args):
        """
        AbsValue(self) -> double

        double
        Ifpack_Element::AbsValue() const 
        """
        return _IFPACK.Ifpack_Element_AbsValue(self, *args)

    def SetIndex(self, *args):
        """
        SetIndex(self, int i)

        void
        Ifpack_Element::SetIndex(const int i) 
        """
        return _IFPACK.Ifpack_Element_SetIndex(self, *args)

    def SetValue(self, *args):
        """
        SetValue(self, double val)

        void
        Ifpack_Element::SetValue(const double val) 
        """
        return _IFPACK.Ifpack_Element_SetValue(self, *args)

    def __lt__(self, *args):
        """__lt__(self, Ifpack_Element rhs) -> bool"""
        return _IFPACK.Ifpack_Element___lt__(self, *args)

    __swig_destroy__ = _IFPACK.delete_Ifpack_Element
    __del__ = lambda self : None;
Ifpack_Element_swigregister = _IFPACK.Ifpack_Element_swigregister
Ifpack_Element_swigregister(Ifpack_Element)

def Ifpack_CreateOverlappingCrsMatrix(*args):
  """
    Ifpack_CreateOverlappingCrsMatrix(RowMatrix Matrix, int OverlappingLevel) -> CrsMatrix
    Ifpack_CreateOverlappingCrsMatrix(CrsGraph Graph, int OverlappingLevel) -> CrsGraph

    Epetra_CrsGraph* Ifpack_CreateOverlappingCrsMatrix(const
    Epetra_CrsGraph *Graph, const int OverlappingLevel)

    Creates an overlapping Epetra_CrsGraph. Returns 0 if OverlappingLevel
    is 0. 
    """
  return _IFPACK.Ifpack_CreateOverlappingCrsMatrix(*args)

def Ifpack_toString(*args):
  """
    Ifpack_toString(int x) -> string
    Ifpack_toString(double x) -> string

    string Ifpack_toString(const
    double &x)

    Convertes a double to string. 
    """
  return _IFPACK.Ifpack_toString(*args)

def Ifpack_PrintResidual(*args):
  """
    Ifpack_PrintResidual(char Label, RowMatrix A, Epetra_MultiVector X, Epetra_MultiVector Y) -> int
    Ifpack_PrintResidual(int iter, RowMatrix A, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

    int
    Ifpack_PrintResidual(const int iter, const Epetra_RowMatrix &A, const
    Epetra_MultiVector &X, const Epetra_MultiVector &Y) 
    """
  return _IFPACK.Ifpack_PrintResidual(*args)

class Preconditioner(Epetra.Operator):
    """
    Ifpack_Preconditioner: basic class for preconditioning in Ifpack.

    Class Ifpack_Preconditioner is a pure virtual class, and it defines
    the structure of all Ifpack preconditioners.

    This class is a simple extension to Epetra_Operator. It provides the
    following additional methods:  Initialize() performs all operations
    based on the graph of the matrix (without considering the numerical
    values);

    IsInitialized() returns true if the preconditioner has been
    successfully initialized;

    Compute() computes all is required to apply the preconditioner, using
    matrix values (and assuming that the sparsity of the matrix has not
    been changed);

    IsComputed() should return true if the preconditioner has been
    successfully computed, false otherwise.

    Condest() returns an estimation of the condition number, or -1.0 if
    not available

    Matrix() returns a reference to the matrix to be preconditioned.

    It is required that Compute() call Initialize() if IsInitialized()
    returns false. The preconditioner is applied by ApplyInverse() (which
    returns if IsComputed() is false). Every time that Initialize() is
    called, the object destroys all the previously allocated information,
    and re-initialize the preconditioner. Every time Compute() is called,
    the object re-computed the actual values of the preconditioner.

    Estimating Preconditioner Condition Numbers

    The condition of a matrix $B$, called $cond_p(B)$, is defined as
    $cond_p(B) = \\|B\\|_p\\|B^{-1}\\|_p$ in some appropriate norm
    $p$. $cond_p(B)$ gives some indication of how many accurate floating
    point digits can be expected from operations involving the matrix and
    its inverse. A condition number approaching the accuracy of a given
    floating point number system, about 15 decimal digits in IEEE double
    precision, means that any results involving $B$ or $B^{-1}$ may be
    meaningless.

    Method Compute() can be use to estimate of the condition number.
    Compute() requires one parameter, of type Ifpack_CondestType (default
    value is Ifpack_Cheap; other valid choices are Ifpack_CG and
    Ifpack_GMRES).

    While Ifpack_CG and Ifpack_GMRES construct and AztecOO solver, and use
    methods AZ_cg_condnum and AZ_gmres_condnum to evaluate an accurate
    (but very expensive) estimate of the condition number, Ifpack_Cheap
    computes $\\|(P)^{-1}e\\|_\\infty$, which is only a very crude
    estimation of the actual condition number. Note that this estimated
    number can be less than 1.0. However, this approach has the following
    advantages: since finding $z$ such that $P z = y$ is a basic kernel
    for applying the preconditioner, computing this estimate of
    $cond_\\infty(P^{-1})$ is performed by setting $y = e$, calling the
    solve kernel to compute $z$ and then computing
    $\\|z\\|_\\infty$;

    the only cost is one application of the preconditioner.

    If this estimate is very large, the application of the computed
    preconditioner may generate large numerical errors. Hence, the user
    may check this number, and decide to recompute the preconditioner is
    the computed estimate is larger than a given threshold. This is
    particularly useful in ICT and RILUK factorizations, as for ill-
    conditioned matrices, we often have difficulty computing usable
    incomplete factorizations. The most common source of problems is that
    the factorization may encounter a small or zero pivot, in which case
    the factorization can fail, or even if the factorization succeeds, the
    factors may be so poorly conditioned that use of them in the iterative
    phase produces meaningless results. Before we can fix this problem, we
    must be able to detect it.

    If IFPACK is configured with Teuchos support, method SetParameters()
    should be adopted. Otherwise, users can set parameters (one
    at-a-time), using methods SetParameter(), for integers and doubles.
    Ifpack_Preconditioner objects overload the << operator. Derived
    classes should specify a Print() method, that will be used in operator
    <<.

    C++ includes: Ifpack_Preconditioner.h 
    """
    __swig_setmethods__ = {}
    for _s in [Epetra.Operator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Preconditioner, name, value)
    __swig_getmethods__ = {}
    for _s in [Epetra.Operator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, Preconditioner, name)
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList List) -> int

        virtual
        int Ifpack_Preconditioner::SetParameters(Teuchos::ParameterList
        &List)=0

        Sets all parameters for the preconditioner. 
        """
        return _IFPACK.Preconditioner_SetParameters(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        virtual int
        Ifpack_Preconditioner::Initialize()=0

        Computes all it is necessary to initialize the preconditioner. 
        """
        return _IFPACK.Preconditioner_Initialize(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        virtual
        bool Ifpack_Preconditioner::IsInitialized() const =0

        Returns true if the preconditioner has been successfully initialized,
        false otherwise. 
        """
        return _IFPACK.Preconditioner_IsInitialized(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        virtual int
        Ifpack_Preconditioner::Compute()=0

        Computes all it is necessary to apply the preconditioner. 
        """
        return _IFPACK.Preconditioner_Compute(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        virtual
        bool Ifpack_Preconditioner::IsComputed() const =0

        Returns true if the preconditioner has been successfully computed,
        false otherwise. 
        """
        return _IFPACK.Preconditioner_IsComputed(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix = None) -> double

        virtual double
        Ifpack_Preconditioner::Condest() const =0

        Returns the computed condition number estimate, or -1.0 if not
        computed. 
        """
        return _IFPACK.Preconditioner_Condest(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        virtual
        int Ifpack_Preconditioner::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const =0

        Applies the preconditioner to vector X, returns the result in Y. 
        """
        return _IFPACK.Preconditioner_ApplyInverse(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        virtual const
        Epetra_RowMatrix& Ifpack_Preconditioner::Matrix() const =0

        Returns a pointer to the matrix to be preconditioned. 
        """
        return _IFPACK.Preconditioner_Matrix(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual
        int Ifpack_Preconditioner::NumInitialize() const =0

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.Preconditioner_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_Preconditioner::NumCompute() const =0

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.Preconditioner_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int Ifpack_Preconditioner::NumApplyInverse() const =0

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.Preconditioner_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual
        double Ifpack_Preconditioner::InitializeTime() const =0

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.Preconditioner_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual
        double Ifpack_Preconditioner::ComputeTime() const =0

        Returns the time spent in Compute(). 
        """
        return _IFPACK.Preconditioner_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double Ifpack_Preconditioner::ApplyInverseTime() const =0

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.Preconditioner_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double Ifpack_Preconditioner::InitializeFlops() const =0

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.Preconditioner_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual
        double Ifpack_Preconditioner::ComputeFlops() const =0

        Returns the number of flops in the computation phase. 
        """
        return _IFPACK.Preconditioner_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double Ifpack_Preconditioner::ApplyInverseFlops() const =0

        Returns the number of flops in the application of the preconditioner.

        """
        return _IFPACK.Preconditioner_ApplyInverseFlops(self, *args)

    def __str__(self, *args):
        """__str__(self) -> string"""
        return _IFPACK.Preconditioner___str__(self, *args)

    def __del__(self, *args):
        """__del__(self)"""
        return _IFPACK.Preconditioner___del__(self, *args)

    __swig_destroy__ = _IFPACK.delete_Preconditioner
    __del__ = lambda self : None;
Preconditioner_swigregister = _IFPACK.Preconditioner_swigregister
Preconditioner_swigregister(Preconditioner)

class IC(Preconditioner):
    """
    Ifpack_IC: A class for constructing and using an incomplete Cholesky
    factorization of a given Epetra_RowMatrix.

    The Ifpack_IC class computes a threshold based incomplete LDL^T
    factorization of a given Epetra_RowMatrix. The factorization that is
    produced is a function of several parameters: Maximum number of
    entries per row/column in factor - The factorization will contain at
    most this number of nonzero terms in each row/column of the
    factorization.

    Diagonal perturbation - Prior to computing the factorization, it is
    possible to modify the diagonal entries of the matrix for which the
    factorization will be computing. If the absolute and relative
    perturbation values are zero and one, respectively, the factorization
    will be compute for the original user matrix A. Otherwise, the
    factorization will computed for a matrix that differs from the
    original user matrix in the diagonal values only. Details can be found
    in ifp_diag_pert.

    C++ includes: Ifpack_IC.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IC, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, IC, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix A) -> IC

        Ifpack_IC::Ifpack_IC(Epetra_RowMatrix *A)

        Ifpack_IC constuctor with variable number of indices per row.

        Creates a Ifpack_IC object and allocates storage.

        Parameters:
        -----------

        In:  A - User matrix to be factored.

        In:  Graph - Graph generated by Ifpack_IlukGraph. 
        """
        this = _IFPACK.new_IC(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_IC
    __del__ = lambda self : None;
    def SetAbsoluteThreshold(self, *args):
        """
        SetAbsoluteThreshold(self, double Athresh)

        void
        Ifpack_IC::SetAbsoluteThreshold(double Athresh)

        Set absolute threshold value. 
        """
        return _IFPACK.IC_SetAbsoluteThreshold(self, *args)

    def SetRelativeThreshold(self, *args):
        """
        SetRelativeThreshold(self, double Rthresh)

        void
        Ifpack_IC::SetRelativeThreshold(double Rthresh)

        Set relative threshold value. 
        """
        return _IFPACK.IC_SetRelativeThreshold(self, *args)

    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList parameterlis) -> int

        int
        Ifpack_IC::SetParameters(Teuchos::ParameterList &parameterlis)

        Set parameters using a Teuchos::ParameterList object. 
        """
        return _IFPACK.IC_SetParameters(self, *args)

    def SetParameter(self, *args):
        """
        SetParameter(self, string Name, int Value) -> int
        SetParameter(self, string Name, double Value) -> int

        int
        Ifpack_IC::SetParameter(const string Name, const double Value) 
        """
        return _IFPACK.IC_SetParameter(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix
        Matrix(self) -> RowMatrix

        Epetra_RowMatrix&
        Ifpack_IC::Matrix() 
        """
        return _IFPACK.IC_Matrix(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        bool
        Ifpack_IC::IsInitialized() const

        Returns true if the preconditioner has been successfully initialized,
        false otherwise. 
        """
        return _IFPACK.IC_IsInitialized(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_IC::Initialize()

        Initialize L and U with values from user matrix A.

        Copies values from the user's matrix into the nonzero pattern of L and
        U.

        Parameters:
        -----------

        In:  A - User matrix to be factored.

        WARNING:  The graph of A must be identical to the graph passed in to
        Ifpack_IlukGraph constructor. 
        """
        return _IFPACK.IC_Initialize(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int Ifpack_IC::Compute()

        Compute IC factor U using the specified graph, diagonal perturbation
        thresholds and relaxation parameters.

        This function computes the RILU(k) factors L and U using the current:
        Ifpack_IlukGraph specifying the structure of L and U.

        Value for the RILU(k) relaxation parameter.

        Value for the a priori diagonal threshold values.  InitValues() must
        be called before the factorization can proceed. 
        """
        return _IFPACK.IC_Compute(self, *args)

    def ComputeSetup(self, *args):
        """
        ComputeSetup(self) -> int

        int
        Ifpack_IC::ComputeSetup() 
        """
        return _IFPACK.IC_ComputeSetup(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        bool
        Ifpack_IC::IsComputed() const

        If factor is completed, this query returns true, otherwise it returns
        false. 
        """
        return _IFPACK.IC_IsComputed(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_IC::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Returns the result of a Ifpack_IC forward/back solve on a
        Epetra_MultiVector X in Y.

        Parameters:
        -----------

        In:  Trans -If true, solve transpose problem.

        In:  X - A Epetra_MultiVector of dimension NumVectors to solve for.

        Out:  Y -A Epetra_MultiVector of dimension NumVectorscontaining
        result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.IC_ApplyInverse(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int Ifpack_IC::Apply(const
        Epetra_MultiVector &X, Epetra_MultiVector &Y) const 
        """
        return _IFPACK.IC_Apply(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix_in = None) -> double

        double
        Ifpack_IC::Condest() const

        Returns the computed condition number estimate, or -1.0 if not
        computed. 
        """
        return _IFPACK.IC_Condest(self, *args)

    def GetAbsoluteThreshold(self, *args):
        """
        GetAbsoluteThreshold(self) -> double

        double
        Ifpack_IC::GetAbsoluteThreshold()

        Get absolute threshold value. 
        """
        return _IFPACK.IC_GetAbsoluteThreshold(self, *args)

    def GetRelativeThreshold(self, *args):
        """
        GetRelativeThreshold(self) -> double

        double
        Ifpack_IC::GetRelativeThreshold()

        Get relative threshold value. 
        """
        return _IFPACK.IC_GetRelativeThreshold(self, *args)

    def NumGlobalNonzeros(self, *args):
        """
        NumGlobalNonzeros(self) -> int

        int
        Ifpack_IC::NumGlobalNonzeros() const

        Returns the number of nonzero entries in the global graph. 
        """
        return _IFPACK.IC_NumGlobalNonzeros(self, *args)

    def NumMyNonzeros(self, *args):
        """
        NumMyNonzeros(self) -> int

        int
        Ifpack_IC::NumMyNonzeros() const

        Returns the number of nonzero entries in the local graph. 
        """
        return _IFPACK.IC_NumMyNonzeros(self, *args)

    def D(self, *args):
        """
        D(self) -> Epetra_Vector

        const Epetra_Vector&
        Ifpack_IC::D() const

        Returns the address of the D factor associated with this factored
        matrix. 
        """
        return _IFPACK.IC_D(self, *args)

    def U(self, *args):
        """
        U(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_IC::U() const

        Returns the address of the U factor associated with this factored
        matrix. 
        """
        return _IFPACK.IC_U(self, *args)

    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        int
        Ifpack_IC::SetUseTranspose(bool UseTranspose_in)

        If set true, transpose of this operator will be applied.

        This flag allows the transpose of the given operator to be used
        implicitly. Setting this flag affects only the Apply() and
        ApplyInverse() methods. If the implementation of this interface does
        not support transpose use, this method should return a value of -1.

        Parameters:
        -----------

        In:  UseTranspose_in -If true, multiply by the transpose of operator,
        otherwise just use operator.

        Always returns 0. 
        """
        return _IFPACK.IC_SetUseTranspose(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        double
        Ifpack_IC::NormInf() const

        Returns 0.0 because this class cannot compute Inf-norm. 
        """
        return _IFPACK.IC_NormInf(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        bool
        Ifpack_IC::HasNormInf() const

        Returns false because this class cannot compute an Inf-norm. 
        """
        return _IFPACK.IC_HasNormInf(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        bool
        Ifpack_IC::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.IC_UseTranspose(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const
        Epetra_Map& Ifpack_IC::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.IC_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const Epetra_Map&
        Ifpack_IC::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.IC_OperatorRangeMap(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const Epetra_Comm&
        Ifpack_IC::Comm() const

        Returns the Epetra_BlockMap object associated with the range of this
        matrix operator. 
        """
        return _IFPACK.IC_Comm(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        const char*
        Ifpack_IC::Label() const 
        """
        return _IFPACK.IC_Label(self, *args)

    def SetLabel(self, *args):
        """
        SetLabel(self, char Label_in) -> int

        int
        Ifpack_IC::SetLabel(const char *Label_in) 
        """
        return _IFPACK.IC_SetLabel(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual int
        Ifpack_IC::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.IC_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_IC::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.IC_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int
        Ifpack_IC::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.IC_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double
        Ifpack_IC::InitializeTime() const

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.IC_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual double
        Ifpack_IC::ComputeTime() const

        Returns the time spent in Compute(). 
        """
        return _IFPACK.IC_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double
        Ifpack_IC::ApplyInverseTime() const

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.IC_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double
        Ifpack_IC::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.IC_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual double
        Ifpack_IC::ComputeFlops() const

        Returns the number of flops in the computation phase. 
        """
        return _IFPACK.IC_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double
        Ifpack_IC::ApplyInverseFlops() const

        Returns the number of flops in the application of the preconditioner.

        """
        return _IFPACK.IC_ApplyInverseFlops(self, *args)

IC_swigregister = _IFPACK.IC_swigregister
IC_swigregister(IC)

class ICT(Preconditioner):
    """
    Ifpack_ICT: A class for constructing and using an incomplete Cholesky
    factorization of a given Epetra_RowMatrix.

    The Ifpack_ICT class computes a threshold based incomplete LDL^T
    factorization of a given Epetra_RowMatrix. The factorization that is
    produced is a function of several parameters: Maximum number of
    entries per row/column in factor - The factorization will contain at
    most this number of nonzero terms in each row/column of the
    factorization.

    Diagonal perturbation - Prior to computing the factorization, it is
    possible to modify the diagonal entries of the matrix for which the
    factorization will be computing. If the absolute and relative
    perturbation values are zero and one, respectively, the factorization
    will be compute for the original user matrix A. Otherwise, the
    factorization will computed for a matrix that differs from the
    original user matrix in the diagonal values only. Details can be found
    in ifp_diag_pert.

    C++ includes: Ifpack_ICT.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ICT, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, ICT, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix A) -> ICT

        Ifpack_ICT::Ifpack_ICT(const Epetra_RowMatrix *A)

        Ifpack_ICT constuctor with variable number of indices per row.

        Creates a Ifpack_ICT object and allocates storage.

        Parameters:
        -----------

        In:  A - User matrix to be factored.

        In:  Graph - Graph generated by Ifpack_IlukGraph. 
        """
        this = _IFPACK.new_ICT(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_ICT
    __del__ = lambda self : None;
    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList parameterlis) -> int

        int
        Ifpack_ICT::SetParameters(Teuchos::ParameterList &parameterlis)

        Set parameters using a Teuchos::ParameterList object. 
        """
        return _IFPACK.ICT_SetParameters(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        const Epetra_RowMatrix&
        Ifpack_ICT::Matrix() const

        Returns a reference to the matrix to be preconditioned. 
        """
        return _IFPACK.ICT_Matrix(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        bool
        Ifpack_ICT::IsInitialized() const

        Returns true is the preconditioner has been successfully initialized.

        """
        return _IFPACK.ICT_IsInitialized(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_ICT::Initialize()

        Initialize L and U with values from user matrix A.

        Copies values from the user's matrix into the nonzero pattern of L and
        U.

        Parameters:
        -----------

        In:  A - User matrix to be factored.

        WARNING:  The graph of A must be identical to the graph passed in to
        Ifpack_IlukGraph constructor. 
        """
        return _IFPACK.ICT_Initialize(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int Ifpack_ICT::Compute()

        Compute IC factor U using the specified graph, diagonal perturbation
        thresholds and relaxation parameters.

        This function computes the RILU(k) factors L and U using the current:
        Ifpack_IlukGraph specifying the structure of L and U.

        Value for the RILU(k) relaxation parameter.

        Value for the a priori diagonal threshold values.  InitValues() must
        be called before the factorization can proceed. 
        """
        return _IFPACK.ICT_Compute(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        bool
        Ifpack_ICT::IsComputed() const

        If factor is completed, this query returns true, otherwise it returns
        false. 
        """
        return _IFPACK.ICT_IsComputed(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_ICT::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Returns the result of a Ifpack_ICT forward/back solve on a
        Epetra_MultiVector X in Y.

        Parameters:
        -----------

        In:  Trans -If true, solve transpose problem.

        In:  X - A Epetra_MultiVector of dimension NumVectors to solve for.

        Out:  Y -A Epetra_MultiVector of dimension NumVectorscontaining
        result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.ICT_ApplyInverse(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int Ifpack_ICT::Apply(const
        Epetra_MultiVector &X, Epetra_MultiVector &Y) const 
        """
        return _IFPACK.ICT_Apply(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix_in = None) -> double

        double
        Ifpack_ICT::Condest() const

        Returns the computed condition number estimate, or -1.0 if not
        computed. 
        """
        return _IFPACK.ICT_Condest(self, *args)

    def NumGlobalNonzeros(self, *args):
        """
        NumGlobalNonzeros(self) -> int

        int
        Ifpack_ICT::NumGlobalNonzeros() const

        Returns the number of nonzero entries in the global graph. 
        """
        return _IFPACK.ICT_NumGlobalNonzeros(self, *args)

    def NumMyNonzeros(self, *args):
        """
        NumMyNonzeros(self) -> int

        int
        Ifpack_ICT::NumMyNonzeros() const

        Returns the number of nonzero entries in the local graph. 
        """
        return _IFPACK.ICT_NumMyNonzeros(self, *args)

    def H(self, *args):
        """
        H(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_ICT::H() const

        Returns the address of the D factor associated with this factored
        matrix. 
        """
        return _IFPACK.ICT_H(self, *args)

    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        int
        Ifpack_ICT::SetUseTranspose(bool UseTranspose_in)

        If set true, transpose of this operator will be applied.

        This flag allows the transpose of the given operator to be used
        implicitly. Setting this flag affects only the Apply() and
        ApplyInverse() methods. If the implementation of this interface does
        not support transpose use, this method should return a value of -1.

        Parameters:
        -----------

        In:  UseTranspose_in -If true, multiply by the transpose of operator,
        otherwise just use operator.

        Always returns 0. 
        """
        return _IFPACK.ICT_SetUseTranspose(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        double
        Ifpack_ICT::NormInf() const

        Returns 0.0 because this class cannot compute Inf-norm. 
        """
        return _IFPACK.ICT_NormInf(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        bool
        Ifpack_ICT::HasNormInf() const

        Returns false because this class cannot compute an Inf-norm. 
        """
        return _IFPACK.ICT_HasNormInf(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        bool
        Ifpack_ICT::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.ICT_UseTranspose(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const
        Epetra_Map& Ifpack_ICT::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.ICT_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const
        Epetra_Map& Ifpack_ICT::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.ICT_OperatorRangeMap(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const Epetra_Comm&
        Ifpack_ICT::Comm() const

        Returns the Epetra_BlockMap object associated with the range of this
        matrix operator. 
        """
        return _IFPACK.ICT_Comm(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        const char*
        Ifpack_ICT::Label() const 
        """
        return _IFPACK.ICT_Label(self, *args)

    def SetLabel(self, *args):
        """
        SetLabel(self, char Label_in) -> int

        int
        Ifpack_ICT::SetLabel(const char *Label_in) 
        """
        return _IFPACK.ICT_SetLabel(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual int
        Ifpack_ICT::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.ICT_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_ICT::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.ICT_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int
        Ifpack_ICT::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.ICT_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double
        Ifpack_ICT::InitializeTime() const

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.ICT_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual double
        Ifpack_ICT::ComputeTime() const

        Returns the time spent in Compute(). 
        """
        return _IFPACK.ICT_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double
        Ifpack_ICT::ApplyInverseTime() const

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.ICT_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double
        Ifpack_ICT::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.ICT_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual double
        Ifpack_ICT::ComputeFlops() const

        Returns the number of flops in all applications of Compute(). 
        """
        return _IFPACK.ICT_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double
        Ifpack_ICT::ApplyInverseFlops() const

        Returns the number of flops in all applications of ApplyInverse(). 
        """
        return _IFPACK.ICT_ApplyInverseFlops(self, *args)

    def LevelOfFill(self, *args):
        """
        LevelOfFill(self) -> double

        double
        Ifpack_ICT::LevelOfFill() const

        Returns the level-of-fill.

        : if 1.0, then the factored matrix contains approximatively the same
        number of elements of A. 
        """
        return _IFPACK.ICT_LevelOfFill(self, *args)

    def AbsoluteThreshold(self, *args):
        """
        AbsoluteThreshold(self) -> double

        double
        Ifpack_ICT::AbsoluteThreshold() const

        Returns the absolute threshold. 
        """
        return _IFPACK.ICT_AbsoluteThreshold(self, *args)

    def RelativeThreshold(self, *args):
        """
        RelativeThreshold(self) -> double

        double
        Ifpack_ICT::RelativeThreshold() const

        Returns the relative threshold. 
        """
        return _IFPACK.ICT_RelativeThreshold(self, *args)

    def RelaxValue(self, *args):
        """
        RelaxValue(self) -> double

        double
        Ifpack_ICT::RelaxValue() const

        Returns the relaxation value. 
        """
        return _IFPACK.ICT_RelaxValue(self, *args)

    def DropTolerance(self, *args):
        """
        DropTolerance(self) -> double

        double
        Ifpack_ICT::DropTolerance() const

        Returns the drop threshold. 
        """
        return _IFPACK.ICT_DropTolerance(self, *args)

ICT_swigregister = _IFPACK.ICT_swigregister
ICT_swigregister(ICT)

class ILU(Preconditioner):
    """
    Ifpack_ILU: A class for constructing and using an incomplete
    lower/upper (ILU) factorization of a given Epetra_RowMatrix.

    The Ifpack_ILU class computes a "Relaxed" ILU factorization with
    level k fill of a given Epetra_RowMatrix.

    Please refer to ifp_ilu for a general description of the ILU
    algorithm.

    The complete list of supported parameters is reported in page
    ifp_params.

    Mike Heroux, Marzio Sala, SNL 9214.

    C++ includes: Ifpack_ILU.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ILU, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, ILU, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix A) -> ILU

        Ifpack_ILU::Ifpack_ILU(Epetra_RowMatrix *A)

        Constructor. 
        """
        this = _IFPACK.new_ILU(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_ILU
    __del__ = lambda self : None;
    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_ILU::Initialize()

        Initialize the preconditioner, does not touch matrix values. 
        """
        return _IFPACK.ILU_Initialize(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        bool
        Ifpack_ILU::IsInitialized() const

        Returns true if the preconditioner has been successfully initialized.

        """
        return _IFPACK.ILU_IsInitialized(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int Ifpack_ILU::Compute()

        Compute ILU factors L and U using the specified graph, diagonal
        perturbation thresholds and relaxation parameters.

        This function computes the ILU(k) factors L and U using the current:
        Ifpack_IlukGraph specifying the structure of L and U.

        Value for the ILU(k) relaxation parameter.

        Value for the a priori diagonal threshold values.  InitValues() must
        be called before the factorization can proceed. 
        """
        return _IFPACK.ILU_Compute(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        bool
        Ifpack_ILU::IsComputed() const

        If factor is completed, this query returns true, otherwise it returns
        false. 
        """
        return _IFPACK.ILU_IsComputed(self, *args)

    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList parameterlist) -> int

        int
        Ifpack_ILU::SetParameters(Teuchos::ParameterList &parameterlist)

        Set parameters using a Teuchos::ParameterList object. 
        """
        return _IFPACK.ILU_SetParameters(self, *args)

    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        int
        Ifpack_ILU::SetUseTranspose(bool UseTranspose_in)

        If set true, transpose of this operator will be applied.

        This flag allows the transpose of the given operator to be used
        implicitly. Setting this flag affects only the Apply() and
        ApplyInverse() methods. If the implementation of this interface does
        not support transpose use, this method should return a value of -1.

        Parameters:
        -----------

        UseTranspose_in:  - (In) If true, multiply by the transpose of
        operator, otherwise just use operator.

        Always returns 0. 
        """
        return _IFPACK.ILU_SetUseTranspose(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int Ifpack_ILU::Apply(const
        Epetra_MultiVector &X, Epetra_MultiVector &Y) const 
        """
        return _IFPACK.ILU_Apply(self, *args)

    def Multiply(self, *args):
        """
        Multiply(self, bool Trans, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_ILU::Multiply(bool Trans, const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const 
        """
        return _IFPACK.ILU_Multiply(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_ILU::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Returns the result of a Epetra_Operator inverse applied to an
        Epetra_MultiVector X in Y.

        In this implementation, we use several existing attributes to
        determine how virtual method ApplyInverse() should call the concrete
        method Solve(). We pass in the UpperTriangular(), the
        Epetra_CrsMatrix::UseTranspose(), and NoDiagonal() methods. The most
        notable warning is that if a matrix has no diagonal values we assume
        that there is an implicit unit diagonal that should be accounted for
        when doing a triangular solve.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to solve for.

        Out:  Y - (Out) A Epetra_MultiVector of dimension NumVectors
        containing result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.ILU_ApplyInverse(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix_in = None) -> double

        double
        Ifpack_ILU::Condest() const

        Returns the computed estimated condition number, or -1.0 if not
        computed. 
        """
        return _IFPACK.ILU_Condest(self, *args)

    def L(self, *args):
        """
        L(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_ILU::L() const

        Returns the address of the L factor associated with this factored
        matrix. 
        """
        return _IFPACK.ILU_L(self, *args)

    def D(self, *args):
        """
        D(self) -> Epetra_Vector

        const Epetra_Vector&
        Ifpack_ILU::D() const

        Returns the address of the D factor associated with this factored
        matrix. 
        """
        return _IFPACK.ILU_D(self, *args)

    def U(self, *args):
        """
        U(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_ILU::U() const

        Returns the address of the L factor associated with this factored
        matrix. 
        """
        return _IFPACK.ILU_U(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        const char*
        Ifpack_ILU::Label() const

        Returns a character string describing the operator. 
        """
        return _IFPACK.ILU_Label(self, *args)

    def SetLabel(self, *args):
        """
        SetLabel(self, char Label_in) -> int

        int
        Ifpack_ILU::SetLabel(const char *Label_in)

        Sets label for this object. 
        """
        return _IFPACK.ILU_SetLabel(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        double
        Ifpack_ILU::NormInf() const

        Returns 0.0 because this class cannot compute Inf-norm. 
        """
        return _IFPACK.ILU_NormInf(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        bool
        Ifpack_ILU::HasNormInf() const

        Returns false because this class cannot compute an Inf-norm. 
        """
        return _IFPACK.ILU_HasNormInf(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        bool
        Ifpack_ILU::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.ILU_UseTranspose(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const
        Epetra_Map& Ifpack_ILU::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.ILU_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const
        Epetra_Map& Ifpack_ILU::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.ILU_OperatorRangeMap(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const Epetra_Comm&
        Ifpack_ILU::Comm() const

        Returns the Epetra_BlockMap object associated with the range of this
        matrix operator. 
        """
        return _IFPACK.ILU_Comm(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        const Epetra_RowMatrix&
        Ifpack_ILU::Matrix() const

        Returns a reference to the matrix to be preconditioned. 
        """
        return _IFPACK.ILU_Matrix(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual int
        Ifpack_ILU::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.ILU_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_ILU::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.ILU_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int
        Ifpack_ILU::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.ILU_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double
        Ifpack_ILU::InitializeTime() const

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.ILU_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual double
        Ifpack_ILU::ComputeTime() const

        Returns the time spent in Compute(). 
        """
        return _IFPACK.ILU_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double
        Ifpack_ILU::ApplyInverseTime() const

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.ILU_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double
        Ifpack_ILU::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.ILU_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual double
        Ifpack_ILU::ComputeFlops() const

        Returns the number of flops in the computation phase. 
        """
        return _IFPACK.ILU_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double
        Ifpack_ILU::ApplyInverseFlops() const

        Returns the number of flops in the application of the preconditioner.

        """
        return _IFPACK.ILU_ApplyInverseFlops(self, *args)

ILU_swigregister = _IFPACK.ILU_swigregister
ILU_swigregister(ILU)

class ILUT(Preconditioner):
    """
    Ifpack_ILUT: A class for constructing and using an incomplete Cholesky
    factorization of a given Epetra_RowMatrix.

    The Ifpack_ILUT class computes a "Relaxed" ILUT factorization with
    level k fill of a given Epetra_RowMatrix.

    Please refer to ifp_ilu for a general description of the ILU
    algorithm.

    The complete list of supported parameters is reported in page
    ifp_params.

    Marzio Sala, SNL 9214.

    C++ includes: Ifpack_ILUT.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ILUT, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, ILUT, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix A) -> ILUT

        Ifpack_ILUT::Ifpack_ILUT(const Epetra_RowMatrix *A)

        Ifpack_ILUT constuctor with variable number of indices per row. 
        """
        this = _IFPACK.new_ILUT(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_ILUT
    __del__ = lambda self : None;
    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList parameterlis) -> int

        int
        Ifpack_ILUT::SetParameters(Teuchos::ParameterList &parameterlis)

        Set parameters using a Teuchos::ParameterList object. 
        """
        return _IFPACK.ILUT_SetParameters(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_ILUT::Initialize()

        Initialize L and U with values from user matrix A.

        Copies values from the user's matrix into the nonzero pattern of L and
        U.

        Parameters:
        -----------

        In:  A - User matrix to be factored.

        WARNING:  The graph of A must be identical to the graph passed in to
        Ifpack_IlukGraph constructor. 
        """
        return _IFPACK.ILUT_Initialize(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        bool
        Ifpack_ILUT::IsInitialized() const

        Returns true if the preconditioner has been successfully initialized.

        """
        return _IFPACK.ILUT_IsInitialized(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int
        Ifpack_ILUT::Compute()

        Compute IC factor U using the specified graph, diagonal perturbation
        thresholds and relaxation parameters.

        This function computes the RILU(k) factors L and U using the current:
        Ifpack_IlukGraph specifying the structure of L and U.

        Value for the RILU(k) relaxation parameter.

        Value for the a priori diagonal threshold values.  InitValues() must
        be called before the factorization can proceed. 
        """
        return _IFPACK.ILUT_Compute(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        bool
        Ifpack_ILUT::IsComputed() const

        If factor is completed, this query returns true, otherwise it returns
        false. 
        """
        return _IFPACK.ILUT_IsComputed(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_ILUT::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Returns the result of a Ifpack_ILUT forward/back solve on a
        Epetra_MultiVector X in Y.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to solve for.

        Y:  - (Out) A Epetra_MultiVector of dimension NumVectorscontaining
        result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.ILUT_ApplyInverse(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_ILUT::Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y)
        const 
        """
        return _IFPACK.ILUT_Apply(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix_in = None) -> double

        double
        Ifpack_ILUT::Condest() const

        Returns the computed estimated condition number, or -1.0 if no
        computed. 
        """
        return _IFPACK.ILUT_Condest(self, *args)

    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        int
        Ifpack_ILUT::SetUseTranspose(bool UseTranspose_in)

        If set true, transpose of this operator will be applied.

        This flag allows the transpose of the given operator to be used
        implicitly. Setting this flag affects only the Apply() and
        ApplyInverse() methods. If the implementation of this interface does
        not support transpose use, this method should return a value of -1.

        Parameters:
        -----------

        UseTranspose_in:  - (In) If true, multiply by the transpose of
        operator, otherwise just use operator.

        Always returns 0. 
        """
        return _IFPACK.ILUT_SetUseTranspose(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        double
        Ifpack_ILUT::NormInf() const

        Returns 0.0 because this class cannot compute Inf-norm. 
        """
        return _IFPACK.ILUT_NormInf(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        bool
        Ifpack_ILUT::HasNormInf() const

        Returns false because this class cannot compute an Inf-norm. 
        """
        return _IFPACK.ILUT_HasNormInf(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        bool
        Ifpack_ILUT::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.ILUT_UseTranspose(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const
        Epetra_Map& Ifpack_ILUT::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.ILUT_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const
        Epetra_Map& Ifpack_ILUT::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.ILUT_OperatorRangeMap(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const Epetra_Comm&
        Ifpack_ILUT::Comm() const

        Returns the Epetra_BlockMap object associated with the range of this
        matrix operator. 
        """
        return _IFPACK.ILUT_Comm(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        const Epetra_RowMatrix&
        Ifpack_ILUT::Matrix() const

        Returns a reference to the matrix to be preconditioned. 
        """
        return _IFPACK.ILUT_Matrix(self, *args)

    def L(self, *args):
        """
        L(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_ILUT::L() const

        Returns a reference to the L factor. 
        """
        return _IFPACK.ILUT_L(self, *args)

    def U(self, *args):
        """
        U(self) -> CrsMatrix

        const Epetra_CrsMatrix&
        Ifpack_ILUT::U() const

        Returns a reference to the U factor. 
        """
        return _IFPACK.ILUT_U(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        const char*
        Ifpack_ILUT::Label() const

        Returns the label of this object. 
        """
        return _IFPACK.ILUT_Label(self, *args)

    def SetLabel(self, *args):
        """
        SetLabel(self, char Label_in) -> int

        int
        Ifpack_ILUT::SetLabel(const char *Label_in)

        Sets the label for this object. 
        """
        return _IFPACK.ILUT_SetLabel(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual int
        Ifpack_ILUT::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.ILUT_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_ILUT::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.ILUT_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int
        Ifpack_ILUT::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.ILUT_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double
        Ifpack_ILUT::InitializeTime() const

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.ILUT_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual double
        Ifpack_ILUT::ComputeTime() const

        Returns the time spent in Compute(). 
        """
        return _IFPACK.ILUT_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double
        Ifpack_ILUT::ApplyInverseTime() const

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.ILUT_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double
        Ifpack_ILUT::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.ILUT_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual double
        Ifpack_ILUT::ComputeFlops() const

        Returns the number of flops in the computation phase. 
        """
        return _IFPACK.ILUT_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double
        Ifpack_ILUT::ApplyInverseFlops() const

        Returns the number of flops in the application of the preconditioner.

        """
        return _IFPACK.ILUT_ApplyInverseFlops(self, *args)

    def LevelOfFill(self, *args):
        """
        LevelOfFill(self) -> double

        double
        Ifpack_ILUT::LevelOfFill() const 
        """
        return _IFPACK.ILUT_LevelOfFill(self, *args)

    def RelaxValue(self, *args):
        """
        RelaxValue(self) -> double

        double
        Ifpack_ILUT::RelaxValue() const

        Set relative threshold value. 
        """
        return _IFPACK.ILUT_RelaxValue(self, *args)

    def AbsoluteThreshold(self, *args):
        """
        AbsoluteThreshold(self) -> double

        double
        Ifpack_ILUT::AbsoluteThreshold() const

        Get absolute threshold value. 
        """
        return _IFPACK.ILUT_AbsoluteThreshold(self, *args)

    def RelativeThreshold(self, *args):
        """
        RelativeThreshold(self) -> double

        double
        Ifpack_ILUT::RelativeThreshold() const

        Get relative threshold value. 
        """
        return _IFPACK.ILUT_RelativeThreshold(self, *args)

    def DropTolerance(self, *args):
        """
        DropTolerance(self) -> double

        double
        Ifpack_ILUT::DropTolerance() const

        Gets the dropping tolerance. 
        """
        return _IFPACK.ILUT_DropTolerance(self, *args)

    def NumGlobalNonzeros(self, *args):
        """
        NumGlobalNonzeros(self) -> int

        int
        Ifpack_ILUT::NumGlobalNonzeros() const

        Returns the number of nonzero entries in the global graph. 
        """
        return _IFPACK.ILUT_NumGlobalNonzeros(self, *args)

    def NumMyNonzeros(self, *args):
        """
        NumMyNonzeros(self) -> int

        int
        Ifpack_ILUT::NumMyNonzeros() const

        Returns the number of nonzero entries in the local graph. 
        """
        return _IFPACK.ILUT_NumMyNonzeros(self, *args)

ILUT_swigregister = _IFPACK.ILUT_swigregister
ILUT_swigregister(ILUT)

class PointRelaxation(Preconditioner):
    """
    Ifpack_PointRelaxation: a class to define point relaxation
    preconditioners of for Epetra_RowMatrix's.

    The Ifpack_PointRelaxation class enables the construction of point
    relaxation preconditioners of an Epetra_RowMatrix.
    Ifpack_PointRelaxation is derived from the Ifpack_Preconditioner
    class, which is itself derived from Epetra_Operator. Therefore this
    object can be used as preconditioner everywhere an ApplyInverse()
    method is required in the preconditioning step.

    This class enables the construction of the following simple
    preconditioners: Jacobi;

    Gauss-Seidel;

    symmetric Gauss-Seidel.

    We now briefly describe the main features of the above
    preconditioners. Consider a linear system of type \\[ A x = b, \\]
    where $A$ is a square, real matrix, and $x, b$ are two real vectors.
    We begin with the decomposition \\[ A = D - E - F \\] where $D$ is
    the diagonal of A, $-E$ is the strict lower part, and $-F$ is the
    strict upper part. It is assumed that the diagonal entries of $A$ are
    different from zero.

    Given an starting solution $x_0$, an iteration of the (damped) Jacobi
    method can be written in matrix form as follows: \\[ x_{k+1} =
    \\omega D^{-1}(E + F) x_k + D_{-1}b, \\] for $k < k_{max}$, and
    $\\omega $ a damping parameter.

    Using Ifpack_Jacobi, the user can apply the specified number of sweeps
    ( $k_{max}$), and the damping parameter. If only one sweep is used,
    then the class simply applies the inverse of the diagonal of A to the
    input vector.

    Given an starting solution $x_0$, an iteration of the (damped)
    GaussSeidel method can be written in matrix form as follows: \\[ (D
    - E) x_{k+1} = \\omega F x_k + b, \\] for $k < k_{max}$, and
    $\\omega $ a damping parameter. Equivalently, the Gauss-Seidel
    preconditioner can be defined as \\[ P_{GS}^{-1} = (D - E)^{-1}.
    \\] Clearly, the role of E and F can be interchanged. However,
    Ifpack_GaussSeidel does not consider backward Gauss-Seidel methods.

    For a list of supported parameters, please refer to page ifp_params.

    The complete list of supported parameters is reported in page
    ifp_params. For a presentation of basic relaxation schemes, please
    refer to page Ifpack_PointRelaxation.

    Marzio Sala, SNL 9214.

    C++ includes: Ifpack_PointRelaxation.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, PointRelaxation, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, PointRelaxation, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix Matrix) -> PointRelaxation

        Ifpack_PointRelaxation::Ifpack_PointRelaxation(const
        Epetra_RowMatrix *Matrix)

        Ifpack_PointRelaxation constructor with given Epetra_RowMatrix.

        Creates an instance of Ifpack_PointRelaxation class.

        Parameters:
        -----------

        Matrix:  - (In) Pointer to matrix to precondition. 
        """
        this = _IFPACK.new_PointRelaxation(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_PointRelaxation
    __del__ = lambda self : None;
    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        virtual int Ifpack_PointRelaxation::SetUseTranspose(bool
        UseTranspose_in)

        This flag can be used to apply the preconditioner to the transpose of
        the input operator.

        Integer error code, set to 0 if successful. Set to -1 if this
        implementation does not support transpose. 
        """
        return _IFPACK.PointRelaxation_SetUseTranspose(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_PointRelaxation::Apply(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Applies the matrix to an Epetra_MultiVector.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to multiply
        with matrix.

        Y:  - (Out) A Epetra_MultiVector of dimension NumVectors containing
        the result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.PointRelaxation_Apply(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_PointRelaxation::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Applies the preconditioner to X, returns the result in Y.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to be
        preconditioned.

        Y:  - (InOut) A Epetra_MultiVector of dimension NumVectors containing
        result.

        Integer error code, set to 0 if successful.

        WARNING:  This routine is NOT AztecOO complaint. 
        """
        return _IFPACK.PointRelaxation_ApplyInverse(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        virtual
        double Ifpack_PointRelaxation::NormInf() const

        Returns the infinity norm of the global matrix (not implemented). 
        """
        return _IFPACK.PointRelaxation_NormInf(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        virtual const
        char* Ifpack_PointRelaxation::Label() const 
        """
        return _IFPACK.PointRelaxation_Label(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        virtual
        bool Ifpack_PointRelaxation::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.PointRelaxation_UseTranspose(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        virtual
        bool Ifpack_PointRelaxation::HasNormInf() const

        Returns true if the this object can provide an approximate Inf-norm,
        false otherwise. 
        """
        return _IFPACK.PointRelaxation_HasNormInf(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const
        Epetra_Comm & Ifpack_PointRelaxation::Comm() const

        Returns a pointer to the Epetra_Comm communicator associated with this
        operator. 
        """
        return _IFPACK.PointRelaxation_Comm(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const Epetra_Map & Ifpack_PointRelaxation::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.PointRelaxation_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const Epetra_Map & Ifpack_PointRelaxation::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.PointRelaxation_OperatorRangeMap(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_PointRelaxation::Initialize()

        Computes all it is necessary to initialize the preconditioner. 
        """
        return _IFPACK.PointRelaxation_Initialize(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        virtual
        bool Ifpack_PointRelaxation::IsInitialized() const

        Returns true if the preconditioner has been successfully initialized,
        false otherwise. 
        """
        return _IFPACK.PointRelaxation_IsInitialized(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        virtual
        bool Ifpack_PointRelaxation::IsComputed() const

        Returns true if the preconditioner has been successfully computed. 
        """
        return _IFPACK.PointRelaxation_IsComputed(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int
        Ifpack_PointRelaxation::Compute()

        Computes the preconditioners. 
        """
        return _IFPACK.PointRelaxation_Compute(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        virtual const
        Epetra_RowMatrix& Ifpack_PointRelaxation::Matrix() const

        Returns a pointer to the matrix to be preconditioned. 
        """
        return _IFPACK.PointRelaxation_Matrix(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix = None) -> double

        virtual
        double Ifpack_PointRelaxation::Condest() const

        Returns the condition number estimate, or -1.0 if not computed. 
        """
        return _IFPACK.PointRelaxation_Condest(self, *args)

    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList List) -> int

        int
        Ifpack_PointRelaxation::SetParameters(Teuchos::ParameterList &List)

        Sets all the parameters for the preconditioner. 
        """
        return _IFPACK.PointRelaxation_SetParameters(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual
        int Ifpack_PointRelaxation::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.PointRelaxation_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual
        int Ifpack_PointRelaxation::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.PointRelaxation_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int Ifpack_PointRelaxation::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.PointRelaxation_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double Ifpack_PointRelaxation::InitializeTime() const

        Returns the time spent in Initialize(). 
        """
        return _IFPACK.PointRelaxation_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual
        double Ifpack_PointRelaxation::ComputeTime() const

        Returns the time spent in Compute(). 
        """
        return _IFPACK.PointRelaxation_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual double Ifpack_PointRelaxation::ApplyInverseTime() const

        Returns the time spent in ApplyInverse(). 
        """
        return _IFPACK.PointRelaxation_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double Ifpack_PointRelaxation::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.PointRelaxation_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual
        double Ifpack_PointRelaxation::ComputeFlops() const

        Returns the number of flops in the computation phase. 
        """
        return _IFPACK.PointRelaxation_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual double Ifpack_PointRelaxation::ApplyInverseFlops() const

        Returns the number of flops for the application of the preconditioner.

        """
        return _IFPACK.PointRelaxation_ApplyInverseFlops(self, *args)

PointRelaxation_swigregister = _IFPACK.PointRelaxation_swigregister
PointRelaxation_swigregister(PointRelaxation)

class Amesos(Preconditioner):
    """
    Ifpack_Amesos: a class to use Amesos' factorizations as
    preconditioners.

    Class Ifpack_Amesos enables the use of Amesos' factorizations as
    Ifpack_Preconditioners.

    Ifpack_Amesos is just a bare-bone wrap to Amesos. Currently, the only
    parameter required recognized by SetParameters() is "amesos: solver
    type" (defaulted to "Amesos_Klu"), which defined the Amesos solver.
    The Teuchos list in input to SetParameters() is copied, then the
    copied list is used to set the parameters of the Amesos object.

    This class works with matrices whose communicator contains only one
    process, that is, either serial matrices, or Ifpack_LocalFilter'd
    matrices.

    WARNING:  The number of flops is NOT updated.

    Marzio Sala, SNL 9214.

    C++ includes: Ifpack_Amesos.h 
    """
    __swig_setmethods__ = {}
    for _s in [Preconditioner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Amesos, name, value)
    __swig_getmethods__ = {}
    for _s in [Preconditioner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, Amesos, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, RowMatrix Matrix) -> Amesos
        __init__(self, Amesos rhs) -> Amesos

        Ifpack_Amesos::Ifpack_Amesos(const Ifpack_Amesos &rhs)

        Copy constructor. 
        """
        this = _IFPACK.new_Amesos(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _IFPACK.delete_Amesos
    __del__ = lambda self : None;
    def SetUseTranspose(self, *args):
        """
        SetUseTranspose(self, bool UseTranspose_in) -> int

        int
        Ifpack_Amesos::SetUseTranspose(bool UseTranspose_in)

        If set true, transpose of this operator will be applied (not
        implemented).

        This flag allows the transpose of the given operator to be used
        implicitly.

        Parameters:
        -----------

        UseTranspose_in:  - (In) If true, multiply by the transpose of
        operator, otherwise just use operator.

        Integer error code, set to 0 if successful. Set to -1 if this
        implementation does not support transpose. 
        """
        return _IFPACK.Amesos_SetUseTranspose(self, *args)

    def Apply(self, *args):
        """
        Apply(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_Amesos::Apply(const Epetra_MultiVector &X, Epetra_MultiVector
        &Y) const

        Applies the matrix to an Epetra_MultiVector.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to multiply
        with matrix.

        Y:  - (Out) A Epetra_MultiVector of dimension NumVectors containing
        the result.

        Integer error code, set to 0 if successful. 
        """
        return _IFPACK.Amesos_Apply(self, *args)

    def ApplyInverse(self, *args):
        """
        ApplyInverse(self, Epetra_MultiVector X, Epetra_MultiVector Y) -> int

        int
        Ifpack_Amesos::ApplyInverse(const Epetra_MultiVector &X,
        Epetra_MultiVector &Y) const

        Applies the preconditioner to X, returns the result in Y.

        Parameters:
        -----------

        X:  - (In) A Epetra_MultiVector of dimension NumVectors to be
        preconditioned.

        Y:  - (Out) A Epetra_MultiVector of dimension NumVectors containing
        result.

        Integer error code, set to 0 if successful.

        WARNING:  In order to work with AztecOO, any implementation of this
        method must support the case where X and Y are the same object. 
        """
        return _IFPACK.Amesos_ApplyInverse(self, *args)

    def NormInf(self, *args):
        """
        NormInf(self) -> double

        double
        Ifpack_Amesos::NormInf() const

        Returns the infinity norm of the global matrix (not implemented). 
        """
        return _IFPACK.Amesos_NormInf(self, *args)

    def Label(self, *args):
        """
        Label(self) -> char

        const char *
        Ifpack_Amesos::Label() const

        Returns a character string describing the operator. 
        """
        return _IFPACK.Amesos_Label(self, *args)

    def UseTranspose(self, *args):
        """
        UseTranspose(self) -> bool

        bool
        Ifpack_Amesos::UseTranspose() const

        Returns the current UseTranspose setting. 
        """
        return _IFPACK.Amesos_UseTranspose(self, *args)

    def HasNormInf(self, *args):
        """
        HasNormInf(self) -> bool

        bool
        Ifpack_Amesos::HasNormInf() const

        Returns true if the this object can provide an approximate Inf-norm,
        false otherwise. 
        """
        return _IFPACK.Amesos_HasNormInf(self, *args)

    def Comm(self, *args):
        """
        Comm(self) -> Comm

        const Epetra_Comm &
        Ifpack_Amesos::Comm() const

        Returns a pointer to the Epetra_Comm communicator associated with this
        operator. 
        """
        return _IFPACK.Amesos_Comm(self, *args)

    def OperatorDomainMap(self, *args):
        """
        OperatorDomainMap(self) -> Map

        const
        Epetra_Map & Ifpack_Amesos::OperatorDomainMap() const

        Returns the Epetra_Map object associated with the domain of this
        operator. 
        """
        return _IFPACK.Amesos_OperatorDomainMap(self, *args)

    def OperatorRangeMap(self, *args):
        """
        OperatorRangeMap(self) -> Map

        const
        Epetra_Map & Ifpack_Amesos::OperatorRangeMap() const

        Returns the Epetra_Map object associated with the range of this
        operator. 
        """
        return _IFPACK.Amesos_OperatorRangeMap(self, *args)

    def IsInitialized(self, *args):
        """
        IsInitialized(self) -> bool

        virtual bool
        Ifpack_Amesos::IsInitialized() const

        Returns true is the preconditioner has been successfully initialized.

        """
        return _IFPACK.Amesos_IsInitialized(self, *args)

    def Initialize(self, *args):
        """
        Initialize(self) -> int

        int
        Ifpack_Amesos::Initialize()

        Initializes the preconditioners.

        0 if successful, 1 if problems occurred. 
        """
        return _IFPACK.Amesos_Initialize(self, *args)

    def IsComputed(self, *args):
        """
        IsComputed(self) -> bool

        virtual bool
        Ifpack_Amesos::IsComputed() const

        Returns true if the preconditioner has been successfully computed. 
        """
        return _IFPACK.Amesos_IsComputed(self, *args)

    def Compute(self, *args):
        """
        Compute(self) -> int

        int
        Ifpack_Amesos::Compute()

        Computes the preconditioners.

        0 if successful, 1 if problems occurred. 
        """
        return _IFPACK.Amesos_Compute(self, *args)

    def SetParameters(self, *args):
        """
        SetParameters(self, ParameterList List) -> int

        int
        Ifpack_Amesos::SetParameters(Teuchos::ParameterList &List)

        Sets all the parameters for the preconditioner.

        Parameters currently supported:  "amesos: solver type" : Specifies
        the solver type for Amesos. Default: Amesos_Klu.

        The input list will be copied, then passed to the Amesos object
        through Amesos::SetParameters(). 
        """
        return _IFPACK.Amesos_SetParameters(self, *args)

    def Matrix(self, *args):
        """
        Matrix(self) -> RowMatrix

        virtual const
        Epetra_RowMatrix& Ifpack_Amesos::Matrix() const

        Returns a const reference to the internally stored matrix. 
        """
        return _IFPACK.Amesos_Matrix(self, *args)

    def Condest(self, *args):
        """
        Condest(self, Ifpack_CondestType CT = Ifpack_Cheap, int MaxIters = 1550, 
            double Tol = 1e-9, RowMatrix Matrix_in = None) -> double

        virtual double
        Ifpack_Amesos::Condest() const

        Returns the estimated condition number, never computes it. 
        """
        return _IFPACK.Amesos_Condest(self, *args)

    def NumInitialize(self, *args):
        """
        NumInitialize(self) -> int

        virtual int
        Ifpack_Amesos::NumInitialize() const

        Returns the number of calls to Initialize(). 
        """
        return _IFPACK.Amesos_NumInitialize(self, *args)

    def NumCompute(self, *args):
        """
        NumCompute(self) -> int

        virtual int
        Ifpack_Amesos::NumCompute() const

        Returns the number of calls to Compute(). 
        """
        return _IFPACK.Amesos_NumCompute(self, *args)

    def NumApplyInverse(self, *args):
        """
        NumApplyInverse(self) -> int

        virtual int
        Ifpack_Amesos::NumApplyInverse() const

        Returns the number of calls to ApplyInverse(). 
        """
        return _IFPACK.Amesos_NumApplyInverse(self, *args)

    def InitializeTime(self, *args):
        """
        InitializeTime(self) -> double

        virtual double
        Ifpack_Amesos::InitializeTime() const

        Returns the total time spent in Initialize(). 
        """
        return _IFPACK.Amesos_InitializeTime(self, *args)

    def ComputeTime(self, *args):
        """
        ComputeTime(self) -> double

        virtual double
        Ifpack_Amesos::ComputeTime() const

        Returns the total time spent in Compute(). 
        """
        return _IFPACK.Amesos_ComputeTime(self, *args)

    def ApplyInverseTime(self, *args):
        """
        ApplyInverseTime(self) -> double

        virtual
        double Ifpack_Amesos::ApplyInverseTime() const

        Returns the total time spent in ApplyInverse(). 
        """
        return _IFPACK.Amesos_ApplyInverseTime(self, *args)

    def InitializeFlops(self, *args):
        """
        InitializeFlops(self) -> double

        virtual double
        Ifpack_Amesos::InitializeFlops() const

        Returns the number of flops in the initialization phase. 
        """
        return _IFPACK.Amesos_InitializeFlops(self, *args)

    def ComputeFlops(self, *args):
        """
        ComputeFlops(self) -> double

        virtual double
        Ifpack_Amesos::ComputeFlops() const

        Returns the total number of flops to computate the preconditioner. 
        """
        return _IFPACK.Amesos_ComputeFlops(self, *args)

    def ApplyInverseFlops(self, *args):
        """
        ApplyInverseFlops(self) -> double

        virtual
        double Ifpack_Amesos::ApplyInverseFlops() const

        Returns the total number of flops to apply the preconditioner. 
        """
        return _IFPACK.Amesos_ApplyInverseFlops(self, *args)

    def List(self, *args):
        """
        List(self) -> ParameterList

        virtual const
        Teuchos::ParameterList& Ifpack_Amesos::List() const 
        """
        return _IFPACK.Amesos_List(self, *args)

Amesos_swigregister = _IFPACK.Amesos_swigregister
Amesos_swigregister(Amesos)

# This file is compatible with both classic and new-style classes.