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
|
<center><a href="https://gitlab.com/petsc/petsc/-/blob/966382dc56242773704ef5f5cee7aa2db3ebc577/include/petscmat.h">Actual source code: petscmat.h</a></center><br>
<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-04-30T18:14:50+00:00">
</head>
<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1"> 1: </a><font color="#B22222">/*</font>
<a name="line2"> 2: </a><font color="#B22222"> Include file for the matrix component of PETSc</font>
<a name="line3"> 3: </a><font color="#B22222">*/</font>
<a name="line4"> 4: </a><font color="#A020F0">#pragma once</font>
<a name="line6"> 6: </a>#include <A href="../include/petscvec.h.html"><petscvec.h></A>
<a name="line8"> 8: </a><font color="#B22222">/* SUBMANSEC = <a href="../manualpages/Mat/Mat.html">Mat</a> */</font>
<a name="line10"> 10: </a><font color="#B22222">/*S</font>
<a name="line11"> 11: </a><font color="#B22222"> <a href="../manualpages/Mat/Mat.html">Mat</a> - Abstract PETSc matrix object used to manage all linear operators in PETSc, even those without</font>
<a name="line12"> 12: </a><font color="#B22222"> an explicit sparse representation (such as matrix-free operators). Also used to hold representations of graphs</font>
<a name="line13"> 13: </a><font color="#B22222"> for graph operations such as coloring, `<a href="../manualpages/MatGraphOperations/MatColoringCreate.html">MatColoringCreate</a>()`</font>
<a name="line15"> 15: </a><font color="#B22222"> Level: beginner</font>
<a name="line17"> 17: </a><font color="#B22222"> Note:</font>
<a name="line18"> 18: </a><font color="#B22222"> See [](doc_matrix), [](ch_matrices) and `<a href="../manualpages/Mat/MatType.html">MatType</a>` for available matrix types</font>
<a name="line20"> 20: </a><font color="#B22222">.seealso: [](doc_matrix), [](ch_matrices), `<a href="../manualpages/Mat/MatCreate.html">MatCreate</a>()`, `<a href="../manualpages/Mat/MatType.html">MatType</a>`, `<a href="../manualpages/Mat/MatSetType.html">MatSetType</a>()`, `<a href="../manualpages/Mat/MatDestroy.html">MatDestroy</a>()`</font>
<a name="line21"> 21: </a><font color="#B22222">S*/</font>
<a name="line22"> 22: </a><font color="#4169E1">typedef struct _p_Mat *<a href="../manualpages/Mat/Mat.html">Mat</a>;</font>
<a name="line24"> 24: </a><font color="#B22222">/*J</font>
<a name="line25"> 25: </a><font color="#B22222"> <a href="../manualpages/Mat/MatType.html">MatType</a> - String with the name of a PETSc matrix type. These are all the matrix formats that PETSc provides.</font>
<a name="line27"> 27: </a><font color="#B22222"> Level: beginner</font>
<a name="line29"> 29: </a><font color="#B22222"> Notes:</font>
<a name="line30"> 30: </a><font color="#B22222"> [](doc_matrix) for a table of available matrix types</font>
<a name="line32"> 32: </a><font color="#B22222"> Use `<a href="../manualpages/Mat/MatSetType.html">MatSetType</a>()` or the options database keys `-mat_type` or `-dm_mat_type` to set the matrix format to use for a given `<a href="../manualpages/Mat/Mat.html">Mat</a>`</font>
<a name="line34"> 34: </a><font color="#B22222">.seealso: [](doc_matrix), [](ch_matrices), `<a href="../manualpages/Mat/MatSetType.html">MatSetType</a>()`, `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>`, `<a href="../manualpages/Mat/MatRegister.html">MatRegister</a>()`</font>
<a name="line35"> 35: </a><font color="#B22222">J*/</font>
<a name="line36"> 36: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatType.html">MatType</a>;</font>
<a name="line37"> 37: </a><strong><font color="#228B22">#define MATSAME </font><font color="#666666">"same"</font><font color="#228B22"></font></strong>
<a name="line38"> 38: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMAIJ.html">MATMAIJ</a> </font><font color="#666666">"maij"</font><font color="#228B22"></font></strong>
<a name="line39"> 39: </a><strong><font color="#228B22">#define MATSEQMAIJ </font><font color="#666666">"seqmaij"</font><font color="#228B22"></font></strong>
<a name="line40"> 40: </a><strong><font color="#228B22">#define MATMPIMAIJ </font><font color="#666666">"mpimaij"</font><font color="#228B22"></font></strong>
<a name="line41"> 41: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATKAIJ.html">MATKAIJ</a> </font><font color="#666666">"kaij"</font><font color="#228B22"></font></strong>
<a name="line42"> 42: </a><strong><font color="#228B22">#define MATSEQKAIJ </font><font color="#666666">"seqkaij"</font><font color="#228B22"></font></strong>
<a name="line43"> 43: </a><strong><font color="#228B22">#define MATMPIKAIJ </font><font color="#666666">"mpikaij"</font><font color="#228B22"></font></strong>
<a name="line44"> 44: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATIS.html">MATIS</a> </font><font color="#666666">"is"</font><font color="#228B22"></font></strong>
<a name="line45"> 45: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJ.html">MATAIJ</a> </font><font color="#666666">"aij"</font><font color="#228B22"></font></strong>
<a name="line46"> 46: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQAIJ.html">MATSEQAIJ</a> </font><font color="#666666">"seqaij"</font><font color="#228B22"></font></strong>
<a name="line47"> 47: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIAIJ.html">MATMPIAIJ</a> </font><font color="#666666">"mpiaij"</font><font color="#228B22"></font></strong>
<a name="line48"> 48: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJCRL.html">MATAIJCRL</a> </font><font color="#666666">"aijcrl"</font><font color="#228B22"></font></strong>
<a name="line49"> 49: </a><strong><font color="#228B22">#define MATSEQAIJCRL </font><font color="#666666">"seqaijcrl"</font><font color="#228B22"></font></strong>
<a name="line50"> 50: </a><strong><font color="#228B22">#define MATMPIAIJCRL </font><font color="#666666">"mpiaijcrl"</font><font color="#228B22"></font></strong>
<a name="line51"> 51: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJCUSPARSE.html">MATAIJCUSPARSE</a> </font><font color="#666666">"aijcusparse"</font><font color="#228B22"></font></strong>
<a name="line52"> 52: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQAIJCUSPARSE.html">MATSEQAIJCUSPARSE</a> </font><font color="#666666">"seqaijcusparse"</font><font color="#228B22"></font></strong>
<a name="line53"> 53: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIAIJCUSPARSE.html">MATMPIAIJCUSPARSE</a> </font><font color="#666666">"mpiaijcusparse"</font><font color="#228B22"></font></strong>
<a name="line54"> 54: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJHIPSPARSE.html">MATAIJHIPSPARSE</a> </font><font color="#666666">"aijhipsparse"</font><font color="#228B22"></font></strong>
<a name="line55"> 55: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQAIJHIPSPARSE.html">MATSEQAIJHIPSPARSE</a> </font><font color="#666666">"seqaijhipsparse"</font><font color="#228B22"></font></strong>
<a name="line56"> 56: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIAIJHIPSPARSE.html">MATMPIAIJHIPSPARSE</a> </font><font color="#666666">"mpiaijhipsparse"</font><font color="#228B22"></font></strong>
<a name="line57"> 57: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJKOKKOS.html">MATAIJKOKKOS</a> </font><font color="#666666">"aijkokkos"</font><font color="#228B22"></font></strong>
<a name="line58"> 58: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQAIJKOKKOS.html">MATSEQAIJKOKKOS</a> </font><font color="#666666">"seqaijkokkos"</font><font color="#228B22"></font></strong>
<a name="line59"> 59: </a><strong><font color="#228B22">#define MATMPIAIJKOKKOS </font><font color="#666666">"mpiaijkokkos"</font><font color="#228B22"></font></strong>
<a name="line60"> 60: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJVIENNACL.html">MATAIJVIENNACL</a> </font><font color="#666666">"aijviennacl"</font><font color="#228B22"></font></strong>
<a name="line61"> 61: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQAIJVIENNACL.html">MATSEQAIJVIENNACL</a> </font><font color="#666666">"seqaijviennacl"</font><font color="#228B22"></font></strong>
<a name="line62"> 62: </a><strong><font color="#228B22">#define MATMPIAIJVIENNACL </font><font color="#666666">"mpiaijviennacl"</font><font color="#228B22"></font></strong>
<a name="line63"> 63: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJPERM.html">MATAIJPERM</a> </font><font color="#666666">"aijperm"</font><font color="#228B22"></font></strong>
<a name="line64"> 64: </a><strong><font color="#228B22">#define MATSEQAIJPERM </font><font color="#666666">"seqaijperm"</font><font color="#228B22"></font></strong>
<a name="line65"> 65: </a><strong><font color="#228B22">#define MATMPIAIJPERM </font><font color="#666666">"mpiaijperm"</font><font color="#228B22"></font></strong>
<a name="line66"> 66: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJSELL.html">MATAIJSELL</a> </font><font color="#666666">"aijsell"</font><font color="#228B22"></font></strong>
<a name="line67"> 67: </a><strong><font color="#228B22">#define MATSEQAIJSELL </font><font color="#666666">"seqaijsell"</font><font color="#228B22"></font></strong>
<a name="line68"> 68: </a><strong><font color="#228B22">#define MATMPIAIJSELL </font><font color="#666666">"mpiaijsell"</font><font color="#228B22"></font></strong>
<a name="line69"> 69: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATAIJMKL.html">MATAIJMKL</a> </font><font color="#666666">"aijmkl"</font><font color="#228B22"></font></strong>
<a name="line70"> 70: </a><strong><font color="#228B22">#define MATSEQAIJMKL </font><font color="#666666">"seqaijmkl"</font><font color="#228B22"></font></strong>
<a name="line71"> 71: </a><strong><font color="#228B22">#define MATMPIAIJMKL </font><font color="#666666">"mpiaijmkl"</font><font color="#228B22"></font></strong>
<a name="line72"> 72: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATBAIJMKL.html">MATBAIJMKL</a> </font><font color="#666666">"baijmkl"</font><font color="#228B22"></font></strong>
<a name="line73"> 73: </a><strong><font color="#228B22">#define MATSEQBAIJMKL </font><font color="#666666">"seqbaijmkl"</font><font color="#228B22"></font></strong>
<a name="line74"> 74: </a><strong><font color="#228B22">#define MATMPIBAIJMKL </font><font color="#666666">"mpibaijmkl"</font><font color="#228B22"></font></strong>
<a name="line75"> 75: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSHELL.html">MATSHELL</a> </font><font color="#666666">"shell"</font><font color="#228B22"></font></strong>
<a name="line76"> 76: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATCENTERING.html">MATCENTERING</a> </font><font color="#666666">"centering"</font><font color="#228B22"></font></strong>
<a name="line77"> 77: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATDENSE.html">MATDENSE</a> </font><font color="#666666">"dense"</font><font color="#228B22"></font></strong>
<a name="line78"> 78: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATDENSECUDA.html">MATDENSECUDA</a> </font><font color="#666666">"densecuda"</font><font color="#228B22"></font></strong>
<a name="line79"> 79: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATDENSEHIP.html">MATDENSEHIP</a> </font><font color="#666666">"densehip"</font><font color="#228B22"></font></strong>
<a name="line80"> 80: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQDENSE.html">MATSEQDENSE</a> </font><font color="#666666">"seqdense"</font><font color="#228B22"></font></strong>
<a name="line81"> 81: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQDENSECUDA.html">MATSEQDENSECUDA</a> </font><font color="#666666">"seqdensecuda"</font><font color="#228B22"></font></strong>
<a name="line82"> 82: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQDENSEHIP.html">MATSEQDENSEHIP</a> </font><font color="#666666">"seqdensehip"</font><font color="#228B22"></font></strong>
<a name="line83"> 83: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIDENSE.html">MATMPIDENSE</a> </font><font color="#666666">"mpidense"</font><font color="#228B22"></font></strong>
<a name="line84"> 84: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIDENSECUDA.html">MATMPIDENSECUDA</a> </font><font color="#666666">"mpidensecuda"</font><font color="#228B22"></font></strong>
<a name="line85"> 85: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIDENSEHIP.html">MATMPIDENSEHIP</a> </font><font color="#666666">"mpidensehip"</font><font color="#228B22"></font></strong>
<a name="line86"> 86: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATELEMENTAL.html">MATELEMENTAL</a> </font><font color="#666666">"elemental"</font><font color="#228B22"></font></strong>
<a name="line87"> 87: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSCALAPACK.html">MATSCALAPACK</a> </font><font color="#666666">"scalapack"</font><font color="#228B22"></font></strong>
<a name="line88"> 88: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATBAIJ.html">MATBAIJ</a> </font><font color="#666666">"baij"</font><font color="#228B22"></font></strong>
<a name="line89"> 89: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQBAIJ.html">MATSEQBAIJ</a> </font><font color="#666666">"seqbaij"</font><font color="#228B22"></font></strong>
<a name="line90"> 90: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIBAIJ.html">MATMPIBAIJ</a> </font><font color="#666666">"mpibaij"</font><font color="#228B22"></font></strong>
<a name="line91"> 91: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPIADJ.html">MATMPIADJ</a> </font><font color="#666666">"mpiadj"</font><font color="#228B22"></font></strong>
<a name="line92"> 92: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSBAIJ.html">MATSBAIJ</a> </font><font color="#666666">"sbaij"</font><font color="#228B22"></font></strong>
<a name="line93"> 93: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQSBAIJ.html">MATSEQSBAIJ</a> </font><font color="#666666">"seqsbaij"</font><font color="#228B22"></font></strong>
<a name="line94"> 94: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPISBAIJ.html">MATMPISBAIJ</a> </font><font color="#666666">"mpisbaij"</font><font color="#228B22"></font></strong>
<a name="line95"> 95: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMFFD.html">MATMFFD</a> </font><font color="#666666">"mffd"</font><font color="#228B22"></font></strong>
<a name="line96"> 96: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATNORMAL.html">MATNORMAL</a> </font><font color="#666666">"normal"</font><font color="#228B22"></font></strong>
<a name="line97"> 97: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATNORMALHERMITIAN.html">MATNORMALHERMITIAN</a> </font><font color="#666666">"normalh"</font><font color="#228B22"></font></strong>
<a name="line98"> 98: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATLRC.html">MATLRC</a> </font><font color="#666666">"lrc"</font><font color="#228B22"></font></strong>
<a name="line99"> 99: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSCATTER.html">MATSCATTER</a> </font><font color="#666666">"scatter"</font><font color="#228B22"></font></strong>
<a name="line100">100: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATBLOCKMAT.html">MATBLOCKMAT</a> </font><font color="#666666">"blockmat"</font><font color="#228B22"></font></strong>
<a name="line101">101: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATCOMPOSITE.html">MATCOMPOSITE</a> </font><font color="#666666">"composite"</font><font color="#228B22"></font></strong>
<a name="line102">102: </a><strong><font color="#228B22">#define MATFFT </font><font color="#666666">"fft"</font><font color="#228B22"></font></strong>
<a name="line103">103: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATFFTW.html">MATFFTW</a> </font><font color="#666666">"fftw"</font><font color="#228B22"></font></strong>
<a name="line104">104: </a><strong><font color="#228B22">#define MATSEQCUFFT </font><font color="#666666">"seqcufft"</font><font color="#228B22"></font></strong>
<a name="line105">105: </a><strong><font color="#228B22">#define MATSEQHIPFFT </font><font color="#666666">"seqhipfft"</font><font color="#228B22"></font></strong>
<a name="line106">106: </a><strong><font color="#228B22">#define MATTRANSPOSEMAT PETSC_DEPRECATED_MACRO(3, 18, 0, </font><font color="#666666">"<a href="../manualpages/Mat/MATTRANSPOSEVIRTUAL.html">MATTRANSPOSEVIRTUAL</a>"</font><font color="#228B22">, ) </font><font color="#666666">"transpose"</font><font color="#228B22"></font></strong>
<a name="line107">107: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATTRANSPOSEVIRTUAL.html">MATTRANSPOSEVIRTUAL</a> </font><font color="#666666">"transpose"</font><font color="#228B22"></font></strong>
<a name="line108">108: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATHERMITIANTRANSPOSEVIRTUAL.html">MATHERMITIANTRANSPOSEVIRTUAL</a> </font><font color="#666666">"hermitiantranspose"</font><font color="#228B22"></font></strong>
<a name="line109">109: </a><strong><font color="#228B22">#define <a href="../manualpages/KSP/MATSCHURCOMPLEMENT.html">MATSCHURCOMPLEMENT</a> </font><font color="#666666">"schurcomplement"</font><font color="#228B22"></font></strong>
<a name="line110">110: </a><strong><font color="#228B22">#define MATPYTHON </font><font color="#666666">"python"</font><font color="#228B22"></font></strong>
<a name="line111">111: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATHYPRE.html">MATHYPRE</a> </font><font color="#666666">"hypre"</font><font color="#228B22"></font></strong>
<a name="line112">112: </a><strong><font color="#228B22">#define <a href="../manualpages/DMDA/MATHYPRESTRUCT.html">MATHYPRESTRUCT</a> </font><font color="#666666">"hyprestruct"</font><font color="#228B22"></font></strong>
<a name="line113">113: </a><strong><font color="#228B22">#define <a href="../manualpages/DMDA/MATHYPRESSTRUCT.html">MATHYPRESSTRUCT</a> </font><font color="#666666">"hypresstruct"</font><font color="#228B22"></font></strong>
<a name="line114">114: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSUBMATRIX.html">MATSUBMATRIX</a> </font><font color="#666666">"submatrix"</font><font color="#228B22"></font></strong>
<a name="line115">115: </a><strong><font color="#228B22">#define MATLOCALREF </font><font color="#666666">"localref"</font><font color="#228B22"></font></strong>
<a name="line116">116: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATNEST.html">MATNEST</a> </font><font color="#666666">"nest"</font><font color="#228B22"></font></strong>
<a name="line117">117: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATPREALLOCATOR.html">MATPREALLOCATOR</a> </font><font color="#666666">"preallocator"</font><font color="#228B22"></font></strong>
<a name="line118">118: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSELL.html">MATSELL</a> </font><font color="#666666">"sell"</font><font color="#228B22"></font></strong>
<a name="line119">119: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQSELL.html">MATSEQSELL</a> </font><font color="#666666">"seqsell"</font><font color="#228B22"></font></strong>
<a name="line120">120: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMPISELL.html">MATMPISELL</a> </font><font color="#666666">"mpisell"</font><font color="#228B22"></font></strong>
<a name="line121">121: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSELLCUDA.html">MATSELLCUDA</a> </font><font color="#666666">"sellcuda"</font><font color="#228B22"></font></strong>
<a name="line122">122: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQSELLCUDA.html">MATSEQSELLCUDA</a> </font><font color="#666666">"seqsellcuda"</font><font color="#228B22"></font></strong>
<a name="line123">123: </a><strong><font color="#228B22">#define MATMPISELLCUDA </font><font color="#666666">"mpisellcuda"</font><font color="#228B22"></font></strong>
<a name="line124">124: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSELLHIP.html">MATSELLHIP</a> </font><font color="#666666">"sellhip"</font><font color="#228B22"></font></strong>
<a name="line125">125: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSEQSELLHIP.html">MATSEQSELLHIP</a> </font><font color="#666666">"seqsellhip"</font><font color="#228B22"></font></strong>
<a name="line126">126: </a><strong><font color="#228B22">#define MATMPISELLHIP </font><font color="#666666">"mpisellhip"</font><font color="#228B22"></font></strong>
<a name="line127">127: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATDUMMY.html">MATDUMMY</a> </font><font color="#666666">"dummy"</font><font color="#228B22"></font></strong>
<a name="line128">128: </a><strong><font color="#228B22">#define <a href="../manualpages/KSP/MATLMVM.html">MATLMVM</a> </font><font color="#666666">"lmvm"</font><font color="#228B22"></font></strong>
<a name="line129">129: </a><strong><font color="#228B22">#define MATLMVMDFP </font><font color="#666666">"lmvmdfp"</font><font color="#228B22"></font></strong>
<a name="line130">130: </a><strong><font color="#228B22">#define MATLMVMDDFP </font><font color="#666666">"lmvmddfp"</font><font color="#228B22"></font></strong>
<a name="line131">131: </a><strong><font color="#228B22">#define MATLMVMBFGS </font><font color="#666666">"lmvmbfgs"</font><font color="#228B22"></font></strong>
<a name="line132">132: </a><strong><font color="#228B22">#define MATLMVMDBFGS </font><font color="#666666">"lmvmdbfgs"</font><font color="#228B22"></font></strong>
<a name="line133">133: </a><strong><font color="#228B22">#define MATLMVMDQN </font><font color="#666666">"lmvmdqn"</font><font color="#228B22"></font></strong>
<a name="line134">134: </a><strong><font color="#228B22">#define MATLMVMSR1 </font><font color="#666666">"lmvmsr1"</font><font color="#228B22"></font></strong>
<a name="line135">135: </a><strong><font color="#228B22">#define MATLMVMBROYDEN </font><font color="#666666">"lmvmbroyden"</font><font color="#228B22"></font></strong>
<a name="line136">136: </a><strong><font color="#228B22">#define MATLMVMBADBROYDEN </font><font color="#666666">"lmvmbadbroyden"</font><font color="#228B22"></font></strong>
<a name="line137">137: </a><strong><font color="#228B22">#define MATLMVMSYMBROYDEN </font><font color="#666666">"lmvmsymbroyden"</font><font color="#228B22"></font></strong>
<a name="line138">138: </a><strong><font color="#228B22">#define MATLMVMSYMBADBROYDEN </font><font color="#666666">"lmvmsymbadbroyden"</font><font color="#228B22"></font></strong>
<a name="line139">139: </a><strong><font color="#228B22">#define MATLMVMDIAGBROYDEN </font><font color="#666666">"lmvmdiagbroyden"</font><font color="#228B22"></font></strong>
<a name="line140">140: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATCONSTANTDIAGONAL.html">MATCONSTANTDIAGONAL</a> </font><font color="#666666">"constantdiagonal"</font><font color="#228B22"></font></strong>
<a name="line141">141: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATDIAGONAL.html">MATDIAGONAL</a> </font><font color="#666666">"diagonal"</font><font color="#228B22"></font></strong>
<a name="line142">142: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATHTOOL.html">MATHTOOL</a> </font><font color="#666666">"htool"</font><font color="#228B22"></font></strong>
<a name="line143">143: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATH2OPUS.html">MATH2OPUS</a> </font><font color="#666666">"h2opus"</font><font color="#228B22"></font></strong>
<a name="line145">145: </a><font color="#B22222">/*J</font>
<a name="line146">146: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a> - String with the name of a PETSc factorization-based matrix solver type.</font>
<a name="line148">148: </a><font color="#B22222"> For example: "petsc" indicates what PETSc provides, "superlu_dist" the parallel SuperLU_DIST package etc</font>
<a name="line150">150: </a><font color="#B22222"> Level: beginner</font>
<a name="line152">152: </a><font color="#B22222"> Note:</font>
<a name="line153">153: </a><font color="#B22222"> `<a href="../manualpages/Mat/MATSOLVERUMFPACK.html">MATSOLVERUMFPACK</a>`, `<a href="../manualpages/Mat/MATSOLVERCHOLMOD.html">MATSOLVERCHOLMOD</a>`, `<a href="../manualpages/Mat/MATSOLVERKLU.html">MATSOLVERKLU</a>`, `<a href="../manualpages/Mat/MATSOLVERSPQR.html">MATSOLVERSPQR</a>` form the SuiteSparse package; you can use `--download-suitesparse` as</font>
<a name="line154">154: </a><font color="#B22222"> a ./configure option to install them</font>
<a name="line156">156: </a><font color="#B22222">.seealso: [](sec_matfactor), [](ch_matrices), `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/PC/PCFactorSetMatSolverType.html">PCFactorSetMatSolverType</a>()`, `<a href="../manualpages/PC/PCFactorGetMatSolverType.html">PCFactorGetMatSolverType</a>()`</font>
<a name="line157">157: </a><font color="#B22222">J*/</font>
<a name="line158">158: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>;</font>
<a name="line159">159: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERSUPERLU.html">MATSOLVERSUPERLU</a> </font><font color="#666666">"superlu"</font><font color="#228B22"></font></strong>
<a name="line160">160: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERSUPERLU_DIST.html">MATSOLVERSUPERLU_DIST</a> </font><font color="#666666">"superlu_dist"</font><font color="#228B22"></font></strong>
<a name="line161">161: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERSTRUMPACK.html">MATSOLVERSTRUMPACK</a> </font><font color="#666666">"strumpack"</font><font color="#228B22"></font></strong>
<a name="line162">162: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERUMFPACK.html">MATSOLVERUMFPACK</a> </font><font color="#666666">"umfpack"</font><font color="#228B22"></font></strong>
<a name="line163">163: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERCHOLMOD.html">MATSOLVERCHOLMOD</a> </font><font color="#666666">"cholmod"</font><font color="#228B22"></font></strong>
<a name="line164">164: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERKLU.html">MATSOLVERKLU</a> </font><font color="#666666">"klu"</font><font color="#228B22"></font></strong>
<a name="line165">165: </a><strong><font color="#228B22">#define MATSOLVERELEMENTAL </font><font color="#666666">"elemental"</font><font color="#228B22"></font></strong>
<a name="line166">166: </a><strong><font color="#228B22">#define MATSOLVERSCALAPACK </font><font color="#666666">"scalapack"</font><font color="#228B22"></font></strong>
<a name="line167">167: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERESSL.html">MATSOLVERESSL</a> </font><font color="#666666">"essl"</font><font color="#228B22"></font></strong>
<a name="line168">168: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERLUSOL.html">MATSOLVERLUSOL</a> </font><font color="#666666">"lusol"</font><font color="#228B22"></font></strong>
<a name="line169">169: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERMUMPS.html">MATSOLVERMUMPS</a> </font><font color="#666666">"mumps"</font><font color="#228B22"></font></strong>
<a name="line170">170: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERMKL_PARDISO.html">MATSOLVERMKL_PARDISO</a> </font><font color="#666666">"mkl_pardiso"</font><font color="#228B22"></font></strong>
<a name="line171">171: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERMKL_CPARDISO.html">MATSOLVERMKL_CPARDISO</a> </font><font color="#666666">"mkl_cpardiso"</font><font color="#228B22"></font></strong>
<a name="line172">172: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERPASTIX.html">MATSOLVERPASTIX</a> </font><font color="#666666">"pastix"</font><font color="#228B22"></font></strong>
<a name="line173">173: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERMATLAB.html">MATSOLVERMATLAB</a> </font><font color="#666666">"matlab"</font><font color="#228B22"></font></strong>
<a name="line174">174: </a><strong><font color="#228B22">#define MATSOLVERPETSC </font><font color="#666666">"petsc"</font><font color="#228B22"></font></strong>
<a name="line175">175: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERBAS.html">MATSOLVERBAS</a> </font><font color="#666666">"bas"</font><font color="#228B22"></font></strong>
<a name="line176">176: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERCUSPARSE.html">MATSOLVERCUSPARSE</a> </font><font color="#666666">"cusparse"</font><font color="#228B22"></font></strong>
<a name="line177">177: </a><strong><font color="#228B22">#define MATSOLVERCUDA </font><font color="#666666">"cuda"</font><font color="#228B22"></font></strong>
<a name="line178">178: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERHIPSPARSE.html">MATSOLVERHIPSPARSE</a> </font><font color="#666666">"hipsparse"</font><font color="#228B22"></font></strong>
<a name="line179">179: </a><strong><font color="#228B22">#define MATSOLVERHIP </font><font color="#666666">"hip"</font><font color="#228B22"></font></strong>
<a name="line180">180: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERKOKKOS.html">MATSOLVERKOKKOS</a> </font><font color="#666666">"kokkos"</font><font color="#228B22"></font></strong>
<a name="line181">181: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATSOLVERSPQR.html">MATSOLVERSPQR</a> </font><font color="#666666">"spqr"</font><font color="#228B22"></font></strong>
<a name="line182">182: </a><strong><font color="#228B22">#define MATSOLVERHTOOL </font><font color="#666666">"htool"</font><font color="#228B22"></font></strong>
<a name="line184">184: </a><font color="#B22222">/*E</font>
<a name="line185">185: </a><font color="#B22222"> <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a> - indicates what type of factorization is requested</font>
<a name="line187">187: </a><font color="#B22222"> Values:</font>
<a name="line188">188: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_LU</a>` - LU factorization</font>
<a name="line189">189: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_CHOLESKY</a>` - Cholesky factorization</font>
<a name="line190">190: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ILU</a>` - ILU factorization</font>
<a name="line191">191: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ICC</a>` - incomplete Cholesky factorization</font>
<a name="line192">192: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ILUDT</a>` - ILU factorization with drop tolerance</font>
<a name="line193">193: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_QR</a>` - QR factorization</font>
<a name="line195">195: </a><font color="#B22222"> Level: beginner</font>
<a name="line197">197: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/Mat/MatGetFactorAvailable.html">MatGetFactorAvailable</a>()`, `<a href="../manualpages/Mat/MatSolverTypeRegister.html">MatSolverTypeRegister</a>()`</font>
<a name="line198">198: </a><font color="#B22222">E*/</font>
<a name="line199">199: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line200">200: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_NONE</a>,
<a name="line201">201: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_LU</a>,
<a name="line202">202: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_CHOLESKY</a>,
<a name="line203">203: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ILU</a>,
<a name="line204">204: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ICC</a>,
<a name="line205">205: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_ILUDT</a>,
<a name="line206">206: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_QR</a>,
<a name="line207">207: </a> <a href="../manualpages/Mat/MatFactorType.html">MAT_FACTOR_NUM_TYPES</a>
<a name="line208">208: </a>} <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>;
<a name="line209">209: </a>PETSC_EXTERN const char *const MatFactorTypes[];
<a name="line211">211: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line212">212: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetFactorAvailable.html">MatGetFactorAvailable</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line213">213: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetCanUseOrdering.html">MatFactorGetCanUseOrdering</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line214">214: </a>PETSC_DEPRECATED_FUNCTION(3, 15, 0, <font color="#666666">"<a href="../manualpages/Mat/MatFactorGetCanUseOrdering.html">MatFactorGetCanUseOrdering</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatFactorGetUseOrdering(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *b)
<a name="line215">215: </a>{
<a name="line216">216: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatFactorGetCanUseOrdering.html">MatFactorGetCanUseOrdering</a>(A, b);
<a name="line217">217: </a>}
<a name="line218">218: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetSolverType.html">MatFactorGetSolverType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a> *)</font></strong>;
<a name="line219">219: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetFactorType.html">MatGetFactorType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a> *)</font></strong>;
<a name="line220">220: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetFactorType.html">MatSetFactorType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>)</font></strong>;
<a name="line221">221: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a>(MatSolverFn)(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line222">222: </a>PETSC_EXTERN_TYPEDEF <font color="#4169E1">typedef</font> MatSolverFn *MatSolverFunction;
<a name="line224">224: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolverTypeRegister.html">MatSolverTypeRegister</a>(<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, MatSolverFn *)</font></strong>;
<a name="line225">225: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolverTypeGet.html">MatSolverTypeGet</a>(<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, MatSolverFn **)</font></strong>;
<a name="line226">226: </a><font color="#4169E1">typedef</font> <a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a> MatSolverPackage PETSC_DEPRECATED_TYPEDEF(3, 9, 0, <font color="#666666">"<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a>"</font>, );
<a name="line227">227: </a>PETSC_DEPRECATED_FUNCTION(3, 9, 0, <font color="#666666">"<a href="../manualpages/Mat/MatSolverTypeRegister.html">MatSolverTypeRegister</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSolverPackageRegister(<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a> stype, <a href="../manualpages/Mat/MatType.html">MatType</a> mtype, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a> ftype, MatSolverFn *f)
<a name="line228">228: </a>{
<a name="line229">229: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatSolverTypeRegister.html">MatSolverTypeRegister</a>(stype, mtype, ftype, f);
<a name="line230">230: </a>}
<a name="line231">231: </a>PETSC_DEPRECATED_FUNCTION(3, 9, 0, <font color="#666666">"<a href="../manualpages/Mat/MatSolverTypeGet.html">MatSolverTypeGet</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSolverPackageGet(<a href="../manualpages/Mat/MatSolverType.html">MatSolverType</a> stype, <a href="../manualpages/Mat/MatType.html">MatType</a> mtype, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a> ftype, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *foundmtype, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *foundstype, MatSolverFn **f)
<a name="line232">232: </a>{
<a name="line233">233: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatSolverTypeGet.html">MatSolverTypeGet</a>(stype, mtype, ftype, foundmtype, foundstype, f);
<a name="line234">234: </a>}
<a name="line236">236: </a><font color="#B22222">/*E</font>
<a name="line237">237: </a><font color="#B22222"> <a href="../manualpages/Mat/MatProductType.html">MatProductType</a> - indicates what type of matrix product to compute</font>
<a name="line239">239: </a><font color="#B22222"> Values:</font>
<a name="line240">240: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_AB</a>` - product of two matrices</font>
<a name="line241">241: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_AtB</a>` - product of the transpose of a given matrix with a matrix</font>
<a name="line242">242: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_ABt</a>` - product of a matrix with the transpose of another given matrix</font>
<a name="line243">243: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_PtAP</a>` - the triple product of the transpose of a matrix with another matrix and itself</font>
<a name="line244">244: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_RARt</a>` - the triple product of a matrix, another matrix and the transpose of the first matrix</font>
<a name="line245">245: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_ABC</a>` - the product of three matrices</font>
<a name="line247">247: </a><font color="#B22222"> Level: beginner</font>
<a name="line249">249: </a><font color="#B22222">.seealso: [](sec_matmatproduct), [](ch_matrices), `<a href="../manualpages/Mat/MatProductSetType.html">MatProductSetType</a>()`</font>
<a name="line250">250: </a><font color="#B22222">E*/</font>
<a name="line251">251: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line252">252: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_UNSPECIFIED</a>,
<a name="line253">253: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_AB</a>,
<a name="line254">254: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_AtB</a>,
<a name="line255">255: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_ABt</a>,
<a name="line256">256: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_PtAP</a>,
<a name="line257">257: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_RARt</a>,
<a name="line258">258: </a> <a href="../manualpages/Mat/MatProductType.html">MATPRODUCT_ABC</a>
<a name="line259">259: </a>} <a href="../manualpages/Mat/MatProductType.html">MatProductType</a>;
<a name="line260">260: </a>PETSC_EXTERN const char *const MatProductTypes[];
<a name="line262">262: </a><font color="#B22222">/*J</font>
<a name="line263">263: </a><font color="#B22222"> <a href="../manualpages/Mat/MatProductAlgorithm.html">MatProductAlgorithm</a> - String with the name of an algorithm for a PETSc matrix product implementation</font>
<a name="line265">265: </a><font color="#B22222"> Level: beginner</font>
<a name="line267">267: </a><font color="#B22222">.seealso: [](sec_matmatproduct), [](ch_matrices), `<a href="../manualpages/Mat/MatSetType.html">MatSetType</a>()`, `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatProductSetAlgorithm.html">MatProductSetAlgorithm</a>()`, `<a href="../manualpages/Mat/MatProductType.html">MatProductType</a>`</font>
<a name="line268">268: </a><font color="#B22222">J*/</font>
<a name="line269">269: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatProductAlgorithm.html">MatProductAlgorithm</a>;</font>
<a name="line270">270: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMDEFAULT </font><font color="#666666">"default"</font><font color="#228B22"></font></strong>
<a name="line271">271: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMSORTED </font><font color="#666666">"sorted"</font><font color="#228B22"></font></strong>
<a name="line272">272: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMSCALABLE </font><font color="#666666">"scalable"</font><font color="#228B22"></font></strong>
<a name="line273">273: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMSCALABLEFAST </font><font color="#666666">"scalable_fast"</font><font color="#228B22"></font></strong>
<a name="line274">274: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMHEAP </font><font color="#666666">"heap"</font><font color="#228B22"></font></strong>
<a name="line275">275: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMBHEAP </font><font color="#666666">"btheap"</font><font color="#228B22"></font></strong>
<a name="line276">276: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMLLCONDENSED </font><font color="#666666">"llcondensed"</font><font color="#228B22"></font></strong>
<a name="line277">277: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMROWMERGE </font><font color="#666666">"rowmerge"</font><font color="#228B22"></font></strong>
<a name="line278">278: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMOUTERPRODUCT </font><font color="#666666">"outerproduct"</font><font color="#228B22"></font></strong>
<a name="line279">279: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMATB </font><font color="#666666">"at*b"</font><font color="#228B22"></font></strong>
<a name="line280">280: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMRAP </font><font color="#666666">"rap"</font><font color="#228B22"></font></strong>
<a name="line281">281: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMNONSCALABLE </font><font color="#666666">"nonscalable"</font><font color="#228B22"></font></strong>
<a name="line282">282: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMSEQMPI </font><font color="#666666">"seqmpi"</font><font color="#228B22"></font></strong>
<a name="line283">283: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMBACKEND </font><font color="#666666">"backend"</font><font color="#228B22"></font></strong>
<a name="line284">284: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMOVERLAPPING </font><font color="#666666">"overlapping"</font><font color="#228B22"></font></strong>
<a name="line285">285: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMMERGED </font><font color="#666666">"merged"</font><font color="#228B22"></font></strong>
<a name="line286">286: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMALLATONCE </font><font color="#666666">"allatonce"</font><font color="#228B22"></font></strong>
<a name="line287">287: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMALLATONCEMERGED </font><font color="#666666">"allatonce_merged"</font><font color="#228B22"></font></strong>
<a name="line288">288: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMALLGATHERV </font><font color="#666666">"allgatherv"</font><font color="#228B22"></font></strong>
<a name="line289">289: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMCYCLIC </font><font color="#666666">"cyclic"</font><font color="#228B22"></font></strong>
<a name="line290">290: </a><strong><font color="#228B22">#define MATPRODUCTALGORITHMHYPRE </font><font color="#666666">"hypre"</font><font color="#228B22"></font></strong>
<a name="line292">292: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductCreate.html">MatProductCreate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line293">293: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductCreateWithMat.html">MatProductCreateWithMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line294">294: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductSetType.html">MatProductSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatProductType.html">MatProductType</a>)</font></strong>;
<a name="line295">295: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductSetAlgorithm.html">MatProductSetAlgorithm</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatProductAlgorithm.html">MatProductAlgorithm</a>)</font></strong>;
<a name="line296">296: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductGetAlgorithm.html">MatProductGetAlgorithm</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatProductAlgorithm.html">MatProductAlgorithm</a> *)</font></strong>;
<a name="line297">297: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductSetFill.html">MatProductSetFill</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line298">298: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductSetFromOptions.html">MatProductSetFromOptions</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line299">299: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductSymbolic.html">MatProductSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line300">300: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductNumeric.html">MatProductNumeric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line301">301: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductReplaceMats.html">MatProductReplaceMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line302">302: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductClear.html">MatProductClear</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line303">303: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductView.html">MatProductView</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line304">304: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductGetType.html">MatProductGetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatProductType.html">MatProductType</a> *)</font></strong>;
<a name="line305">305: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatProductGetMats.html">MatProductGetMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line307">307: </a><font color="#B22222">/* Logging support */</font>
<a name="line308">308: </a><strong><font color="#228B22">#define MAT_FILE_CLASSID 1211216 </font><font color="#B22222">/* used to indicate matrices in binary files */</font><font color="#228B22"></font></strong>
<a name="line309">309: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_CLASSID;
<a name="line310">310: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_COLORING_CLASSID;
<a name="line311">311: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_FDCOLORING_CLASSID;
<a name="line312">312: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_TRANSPOSECOLORING_CLASSID;
<a name="line313">313: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_PARTITIONING_CLASSID;
<a name="line314">314: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_COARSEN_CLASSID;
<a name="line315">315: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MAT_NULLSPACE_CLASSID;
<a name="line316">316: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscClassId.html">PetscClassId</a> MATMFFD_CLASSID;
<a name="line318">318: </a><font color="#B22222">/*E</font>
<a name="line319">319: </a><font color="#B22222"> <a href="../manualpages/Mat/MatReuse.html">MatReuse</a> - Indicates if matrices obtained from a previous call to `<a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>()`, `<a href="../manualpages/Mat/MatCreateSubMatrix.html">MatCreateSubMatrix</a>()`, `<a href="../manualpages/Mat/MatConvert.html">MatConvert</a>()` or several other functions</font>
<a name="line320">320: </a><font color="#B22222"> are to be reused to store the new matrix values.</font>
<a name="line322">322: </a><font color="#B22222"> Values:</font>
<a name="line323">323: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatReuse.html">MAT_INITIAL_MATRIX</a>` - create a new matrix</font>
<a name="line324">324: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatReuse.html">MAT_REUSE_MATRIX</a>` - reuse the matrix created with a previous call that used `<a href="../manualpages/Mat/MatReuse.html">MAT_INITIAL_MATRIX</a>`</font>
<a name="line325">325: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatReuse.html">MAT_INPLACE_MATRIX</a>` - replace the first input matrix with the new matrix (not applicable to all functions)</font>
<a name="line326">326: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatReuse.html">MAT_IGNORE_MATRIX</a>` - do not create a new matrix or reuse a give matrix, just ignore that matrix argument (not applicable to all functions)</font>
<a name="line328">328: </a><font color="#B22222"> Level: beginner</font>
<a name="line330">330: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>()`, `<a href="../manualpages/Mat/MatCreateSubMatrix.html">MatCreateSubMatrix</a>()`, `<a href="../manualpages/Mat/MatDestroyMatrices.html">MatDestroyMatrices</a>()`, `<a href="../manualpages/Mat/MatConvert.html">MatConvert</a>()`</font>
<a name="line331">331: </a><font color="#B22222">E*/</font>
<a name="line332">332: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line333">333: </a> <a href="../manualpages/Mat/MatReuse.html">MAT_INITIAL_MATRIX</a>,
<a name="line334">334: </a> <a href="../manualpages/Mat/MatReuse.html">MAT_REUSE_MATRIX</a>,
<a name="line335">335: </a> <a href="../manualpages/Mat/MatReuse.html">MAT_IGNORE_MATRIX</a>,
<a name="line336">336: </a> <a href="../manualpages/Mat/MatReuse.html">MAT_INPLACE_MATRIX</a>
<a name="line337">337: </a>} <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>;
<a name="line339">339: </a><font color="#B22222">/*E</font>
<a name="line340">340: </a><font color="#B22222"> <a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MatCreateSubMatrixOption</a> - Indicates if matrices obtained from a call to `<a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>()`</font>
<a name="line341">341: </a><font color="#B22222"> include the matrix values. Currently it is only used by `<a href="../manualpages/Mat/MatGetSeqNonzeroStructure.html">MatGetSeqNonzeroStructure</a>()`.</font>
<a name="line343">343: </a><font color="#B22222"> Values:</font>
<a name="line344">344: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MAT_DO_NOT_GET_VALUES</a>` - do not copy the matrix values</font>
<a name="line345">345: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MAT_GET_VALUES</a>` - copy the matrix values</font>
<a name="line347">347: </a><font color="#B22222"> Level: developer</font>
<a name="line349">349: </a><font color="#B22222"> Developer Note:</font>
<a name="line350">350: </a><font color="#B22222"> Why is not just a boolean used for this information?</font>
<a name="line352">352: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatDuplicateOption.html">MatDuplicateOption</a>`, `<a href="../manualpages/Sys/PetscCopyMode.html">PetscCopyMode</a>`, `<a href="../manualpages/Mat/MatGetSeqNonzeroStructure.html">MatGetSeqNonzeroStructure</a>()`</font>
<a name="line353">353: </a><font color="#B22222">E*/</font>
<a name="line354">354: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line355">355: </a> <a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MAT_DO_NOT_GET_VALUES</a>,
<a name="line356">356: </a> <a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MAT_GET_VALUES</a>
<a name="line357">357: </a>} <a href="../manualpages/Mat/MatCreateSubMatrixOption.html">MatCreateSubMatrixOption</a>;
<a name="line359">359: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInitializePackage.html">MatInitializePackage</a>(void)</font></strong>;
<a name="line360">360: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFinalizePackage.html">MatFinalizePackage</a>(void)</font></strong>;
<a name="line362">362: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreate.html">MatCreate</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line363">363: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateFromOptions.html">MatCreateFromOptions</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, const char *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line364">364: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetSizes.html">MatSetSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line365">365: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetType.html">MatSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>)</font></strong>;
<a name="line366">366: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetVecType.html">MatGetVecType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/VecType.html">VecType</a> *)</font></strong>;
<a name="line367">367: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetVecType.html">MatSetVecType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/VecType.html">VecType</a>)</font></strong>;
<a name="line368">368: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetFromOptions.html">MatSetFromOptions</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line369">369: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatViewFromOptions.html">MatViewFromOptions</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscObject.html">PetscObject</a>, const char[])</font></strong>;
<a name="line370">370: </a><strong><font color="#4169E1"><a name="MatRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRegister.html">MatRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>);
<a name="line371">371: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRegisterRootName.html">MatRegisterRootName</a>(const char[], const char[], const char[])</font></strong>;
<a name="line372">372: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetOptionsPrefix.html">MatSetOptionsPrefix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line373">373: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetOptionsPrefixFactor.html">MatSetOptionsPrefixFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line374">374: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAppendOptionsPrefixFactor.html">MatAppendOptionsPrefixFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line375">375: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAppendOptionsPrefix.html">MatAppendOptionsPrefix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line376">376: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOptionsPrefix.html">MatGetOptionsPrefix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char *[])</font></strong>;
<a name="line377">377: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetState.html">MatGetState</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscObjectState.html">PetscObjectState</a> *)</font></strong>;
<a name="line378">378: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetErrorIfFailure.html">MatSetErrorIfFailure</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line380">380: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> MatList;
<a name="line381">381: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> MatColoringList;
<a name="line382">382: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> MatPartitioningList;
<a name="line384">384: </a><font color="#B22222">/*E</font>
<a name="line385">385: </a><font color="#B22222"> <a href="../manualpages/Mat/MatStructure.html">MatStructure</a> - Indicates if two matrices have the same nonzero structure</font>
<a name="line387">387: </a><font color="#B22222"> Values:</font>
<a name="line388">388: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatStructure.html">SAME_NONZERO_PATTERN</a>` - the two matrices have identical nonzero patterns</font>
<a name="line389">389: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatStructure.html">DIFFERENT_NONZERO_PATTERN</a>` - the two matrices may have different nonzero patterns</font>
<a name="line390">390: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatStructure.html">SUBSET_NONZERO_PATTERN</a>` - the nonzero pattern of the second matrix is a subset of the nonzero pattern of the first matrix</font>
<a name="line391">391: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatStructure.html">UNKNOWN_NONZERO_PATTERN</a>` - there is no known relationship between the nonzero patterns. In this case the implementations</font>
<a name="line392">392: </a><font color="#B22222"> may try to detect a relationship to optimize the operation</font>
<a name="line394">394: </a><font color="#B22222"> Level: beginner</font>
<a name="line396">396: </a><font color="#B22222"> Note:</font>
<a name="line397">397: </a><font color="#B22222"> Certain matrix operations (such as `<a href="../manualpages/Mat/MatAXPY.html">MatAXPY</a>()`) can run much faster if the sparsity pattern of the matrices are the same. But actually determining if</font>
<a name="line398">398: </a><font color="#B22222"> the patterns are the same may be costly. This provides a way for users who know something about the sparsity patterns to provide this information</font>
<a name="line399">399: </a><font color="#B22222"> to certain PETSc routines.</font>
<a name="line401">401: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatCopy.html">MatCopy</a>()`, `<a href="../manualpages/Mat/MatAXPY.html">MatAXPY</a>()`, `<a href="../manualpages/Mat/MatAYPX.html">MatAYPX</a>()`</font>
<a name="line402">402: </a><font color="#B22222">E*/</font>
<a name="line403">403: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line404">404: </a> <a href="../manualpages/Mat/MatStructure.html">DIFFERENT_NONZERO_PATTERN</a>,
<a name="line405">405: </a> <a href="../manualpages/Mat/MatStructure.html">SUBSET_NONZERO_PATTERN</a>,
<a name="line406">406: </a> <a href="../manualpages/Mat/MatStructure.html">SAME_NONZERO_PATTERN</a>,
<a name="line407">407: </a> <a href="../manualpages/Mat/MatStructure.html">UNKNOWN_NONZERO_PATTERN</a>
<a name="line408">408: </a>} <a href="../manualpages/Mat/MatStructure.html">MatStructure</a>;
<a name="line409">409: </a>PETSC_EXTERN const char *const MatStructures[];
<a name="line411">411: </a><font color="#A020F0">#if defined PETSC_HAVE_MKL_SPARSE</font>
<a name="line412">412: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJMKL.html">MatCreateSeqAIJMKL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line413">413: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJMKL.html">MatCreateMPIAIJMKL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line414">414: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateBAIJMKL.html">MatCreateBAIJMKL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line415">415: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqBAIJMKL.html">MatCreateSeqBAIJMKL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line416">416: </a><font color="#A020F0">#endif</font>
<a name="line418">418: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJPERM.html">MatCreateMPIAIJPERM</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line419">419: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJPERM.html">MatCreateSeqAIJPERM</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line421">421: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqSELL.html">MatCreateSeqSELL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line422">422: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSELL.html">MatCreateSELL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line423">423: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLSetPreallocation.html">MatSeqSELLSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line424">424: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPISELLSetPreallocation.html">MatMPISELLSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line425">425: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLGetFillRatio.html">MatSeqSELLGetFillRatio</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line426">426: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLGetMaxSliceWidth.html">MatSeqSELLGetMaxSliceWidth</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line427">427: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLGetAvgSliceWidth.html">MatSeqSELLGetAvgSliceWidth</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line428">428: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLSetSliceHeight.html">MatSeqSELLSetSliceHeight</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line429">429: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSELLGetVarSliceSize.html">MatSeqSELLGetVarSliceSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line431">431: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJSELL.html">MatCreateSeqAIJSELL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line432">432: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJSELL.html">MatCreateMPIAIJSELL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line433">433: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPISELLGetLocalMatCondensed.html">MatMPISELLGetLocalMatCondensed</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line434">434: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPISELLGetSeqSELL.html">MatMPISELLGetSeqSELL</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line436">436: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqDense.html">MatCreateSeqDense</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line437">437: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateDense.html">MatCreateDense</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line438">438: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJ.html">MatCreateSeqAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line439">439: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateAIJ.html">MatCreateAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line440">440: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJWithArrays.html">MatCreateMPIAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line441">441: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatUpdateMPIAIJWithArrays.html">MatUpdateMPIAIJWithArrays</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line442">442: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatUpdateMPIAIJWithArray.html">MatUpdateMPIAIJWithArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line443">443: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJWithSplitArrays.html">MatCreateMPIAIJWithSplitArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line444">444: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJWithSeqAIJ.html">MatCreateMPIAIJWithSeqAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line446">446: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqBAIJ.html">MatCreateSeqBAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line447">447: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateBAIJ.html">MatCreateBAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line448">448: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIBAIJWithArrays.html">MatCreateMPIBAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line450">450: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetPreallocationCOO.html">MatSetPreallocationCOO</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscCount.html">PetscCount</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line451">451: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetPreallocationCOOLocal.html">MatSetPreallocationCOOLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscCount.html">PetscCount</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line452">452: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesCOO.html">MatSetValuesCOO</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line454">454: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAdj.html">MatCreateMPIAdj</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line455">455: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqSBAIJ.html">MatCreateSeqSBAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line457">457: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSBAIJ.html">MatCreateSBAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line458">458: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPISBAIJWithArrays.html">MatCreateMPISBAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line459">459: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSBAIJSetPreallocationCSR.html">MatSeqSBAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line460">460: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPISBAIJSetPreallocationCSR.html">MatMPISBAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line461">461: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatXAIJSetPreallocation.html">MatXAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line463">463: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateShell.html">MatCreateShell</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, void *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line464">464: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateCentering.html">MatCreateCentering</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line465">465: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateNormal.html">MatCreateNormal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line466">466: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateNormalHermitian.html">MatCreateNormalHermitian</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line467">467: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateLRC.html">MatCreateLRC</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line468">468: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLRCGetMats.html">MatLRCGetMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Vec/Vec.html">Vec</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line469">469: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLRCSetMats.html">MatLRCSetMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line470">470: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateIS.html">MatCreateIS</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line471">471: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJCRL.html">MatCreateSeqAIJCRL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line472">472: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJCRL.html">MatCreateMPIAIJCRL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line474">474: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateScatter.html">MatCreateScatter</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/PetscSF/VecScatter.html">VecScatter</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line475">475: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatScatterSetVecScatter.html">MatScatterSetVecScatter</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/PetscSF/VecScatter.html">VecScatter</a>)</font></strong>;
<a name="line476">476: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatScatterGetVecScatter.html">MatScatterGetVecScatter</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/PetscSF/VecScatter.html">VecScatter</a> *)</font></strong>;
<a name="line477">477: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateBlockMat.html">MatCreateBlockMat</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line478">478: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeAddMat.html">MatCompositeAddMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line479">479: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeMerge.html">MatCompositeMerge</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line480">480: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line481">481: </a> MAT_COMPOSITE_MERGE_RIGHT,
<a name="line482">482: </a> MAT_COMPOSITE_MERGE_LEFT
<a name="line483">483: </a>} MatCompositeMergeType;
<a name="line484">484: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeSetMergeType.html">MatCompositeSetMergeType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatCompositeMergeType)</font></strong>;
<a name="line485">485: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateComposite.html">MatCreateComposite</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line486">486: </a><font color="#B22222">/*E</font>
<a name="line487">487: </a><font color="#B22222"> <a href="../manualpages/Mat/MatCompositeType.html">MatCompositeType</a> - indicates what type of `<a href="../manualpages/Mat/MATCOMPOSITE.html">MATCOMPOSITE</a>` is used</font>
<a name="line489">489: </a><font color="#B22222"> Values:</font>
<a name="line490">490: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatCompositeType.html">MAT_COMPOSITE_ADDITIVE</a>` - sum of matrices (default)</font>
<a name="line491">491: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatCompositeType.html">MAT_COMPOSITE_MULTIPLICATIVE</a>` - product of matrices</font>
<a name="line493">493: </a><font color="#B22222"> Level: beginner</font>
<a name="line495">495: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MATCOMPOSITE.html">MATCOMPOSITE</a>`, `<a href="../manualpages/Mat/MatCompositeSetType.html">MatCompositeSetType</a>()`, `<a href="../manualpages/Mat/MatCompositeGetType.html">MatCompositeGetType</a>()`</font>
<a name="line496">496: </a><font color="#B22222">E*/</font>
<a name="line497">497: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line498">498: </a> <a href="../manualpages/Mat/MatCompositeType.html">MAT_COMPOSITE_ADDITIVE</a>,
<a name="line499">499: </a> <a href="../manualpages/Mat/MatCompositeType.html">MAT_COMPOSITE_MULTIPLICATIVE</a>
<a name="line500">500: </a>} <a href="../manualpages/Mat/MatCompositeType.html">MatCompositeType</a>;
<a name="line501">501: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeSetType.html">MatCompositeSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatCompositeType.html">MatCompositeType</a>)</font></strong>;
<a name="line502">502: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeGetType.html">MatCompositeGetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatCompositeType.html">MatCompositeType</a> *)</font></strong>;
<a name="line503">503: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeSetMatStructure.html">MatCompositeSetMatStructure</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatStructure.html">MatStructure</a>)</font></strong>;
<a name="line504">504: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeGetMatStructure.html">MatCompositeGetMatStructure</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatStructure.html">MatStructure</a> *)</font></strong>;
<a name="line505">505: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeGetNumberMat.html">MatCompositeGetNumberMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line506">506: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeGetMat.html">MatCompositeGetMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line507">507: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCompositeSetScalings.html">MatCompositeSetScalings</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line509">509: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateFFT.html">MatCreateFFT</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line510">510: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqCUFFT.html">MatCreateSeqCUFFT</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line512">512: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateTranspose.html">MatCreateTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line513">513: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeGetMat.html">MatTransposeGetMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line514">514: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateHermitianTranspose.html">MatCreateHermitianTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line515">515: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHermitianTransposeGetMat.html">MatHermitianTransposeGetMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line516">516: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNormalGetMat.html">MatNormalGetMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line517">517: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNormalHermitianGetMat.html">MatNormalHermitianGetMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line518">518: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSubMatrixVirtual.html">MatCreateSubMatrixVirtual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line519">519: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSubMatrixVirtualUpdate.html">MatSubMatrixVirtualUpdate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>)</font></strong>;
<a name="line520">520: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateLocalRef.html">MatCreateLocalRef</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line521">521: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateConstantDiagonal.html">MatCreateConstantDiagonal</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line522">522: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateDiagonal.html">MatCreateDiagonal</a>(<a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line523">523: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalGetDiagonal.html">MatDiagonalGetDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line524">524: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalRestoreDiagonal.html">MatDiagonalRestoreDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line525">525: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalGetInverseDiagonal.html">MatDiagonalGetInverseDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line526">526: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalRestoreInverseDiagonal.html">MatDiagonalRestoreInverseDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line528">528: </a><font color="#A020F0">#if defined(PETSC_HAVE_HYPRE)</font>
<a name="line529">529: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHYPRESetPreallocation.html">MatHYPRESetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line530">530: </a><font color="#A020F0">#endif</font>
<a name="line532">532: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPythonSetType.html">MatPythonSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line533">533: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPythonGetType.html">MatPythonGetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char *[])</font></strong>;
<a name="line534">534: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPythonCreate.html">MatPythonCreate</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const char[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line536">536: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatResetPreallocation.html">MatResetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line537">537: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatResetHash.html">MatResetHash</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line538">538: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetUp.html">MatSetUp</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line539">539: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDestroy.html">MatDestroy</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line540">540: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetNonzeroState.html">MatGetNonzeroState</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscObjectState.html">PetscObjectState</a> *)</font></strong>;
<a name="line542">542: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatConjugate.html">MatConjugate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line543">543: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRealPart.html">MatRealPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line544">544: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatImaginaryPart.html">MatImaginaryPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line545">545: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetDiagonalBlock.html">MatGetDiagonalBlock</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line546">546: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetTrace.html">MatGetTrace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line547">547: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInvertBlockDiagonal.html">MatInvertBlockDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line548">548: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInvertVariableBlockDiagonal.html">MatInvertVariableBlockDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line549">549: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInvertBlockDiagonalMat.html">MatInvertBlockDiagonalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line550">550: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInvertVariableBlockEnvelope.html">MatInvertVariableBlockEnvelope</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line551">551: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatComputeVariableBlockEnvelope.html">MatComputeVariableBlockEnvelope</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line553">553: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line554">554: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesIS.html">MatSetValuesIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line555">555: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesBlocked.html">MatSetValuesBlocked</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line556">556: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesRow.html">MatSetValuesRow</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line557">557: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesRowLocal.html">MatSetValuesRowLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line558">558: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesBatch.html">MatSetValuesBatch</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line559">559: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetRandom.html">MatSetRandom</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscRandom.html">PetscRandom</a>)</font></strong>;
<a name="line561">561: </a><font color="#B22222">/*S</font>
<a name="line562">562: </a><font color="#B22222"> <a href="../manualpages/Mat/MatStencil.html">MatStencil</a> - Data structure (C struct) for storing information about rows and</font>
<a name="line563">563: </a><font color="#B22222"> columns of a matrix as indexed on an associated grid. These are arguments to `<a href="../manualpages/Mat/MatSetStencil.html">MatSetStencil</a>()` and `MatSetBlockStencil()`</font>
<a name="line565">565: </a><font color="#B22222"> Level: beginner</font>
<a name="line567">567: </a><font color="#B22222"> Notes:</font>
<a name="line568">568: </a><font color="#B22222"> The i,j, and k represent the logical coordinates over the entire grid (for 2 and 1 dimensional problems the k and j entries are ignored).</font>
<a name="line569">569: </a><font color="#B22222"> The c represents the degrees of freedom at each grid point (the dof argument to `DMDASetDOF()`). If dof is 1 then this entry is ignored.</font>
<a name="line571">571: </a><font color="#B22222"> For stencil access to vectors see `<a href="../manualpages/DMDA/DMDAVecGetArray.html">DMDAVecGetArray</a>()`</font>
<a name="line573">573: </a><font color="#B22222"> For staggered grids, see `<a href="../manualpages/DMStag/DMStagStencil.html">DMStagStencil</a>`</font>
<a name="line575">575: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatSetValuesStencil.html">MatSetValuesStencil</a>()`, `<a href="../manualpages/Mat/MatSetStencil.html">MatSetStencil</a>()`, `<a href="../manualpages/Mat/MatSetValuesBlockedStencil.html">MatSetValuesBlockedStencil</a>()`, `<a href="../manualpages/DMDA/DMDAVecGetArray.html">DMDAVecGetArray</a>()`</font>
<a name="line576">576: </a><font color="#B22222"> `<a href="../manualpages/DMStag/DMStagStencil.html">DMStagStencil</a>`</font>
<a name="line577">577: </a><font color="#B22222">S*/</font>
<a name="line578">578: </a><font color="#4169E1">typedef</font> <font color="#4169E1">struct</font> {
<a name="line579">579: </a> <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> k, j, i, c;
<a name="line580">580: </a>} <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>;
<a name="line582">582: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesStencil.html">MatSetValuesStencil</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line583">583: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesBlockedStencil.html">MatSetValuesBlockedStencil</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line584">584: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetStencil.html">MatSetStencil</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line586">586: </a><font color="#B22222">/*E</font>
<a name="line587">587: </a><font color="#B22222"> <a href="../manualpages/Mat/MatAssemblyType.html">MatAssemblyType</a> - Indicates if the process of setting values into the matrix is complete, and the matrix is ready for use</font>
<a name="line589">589: </a><font color="#B22222"> Values:</font>
<a name="line590">590: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatAssemblyType.html">MAT_FLUSH_ASSEMBLY</a>` - you will continue to put values into the matrix</font>
<a name="line591">591: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatAssemblyType.html">MAT_FINAL_ASSEMBLY</a>` - you wish to use the matrix with the values currently inserted</font>
<a name="line593">593: </a><font color="#B22222"> Level: beginner</font>
<a name="line595">595: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>`, `<a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>()`, `<a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>()`</font>
<a name="line596">596: </a><font color="#B22222">E*/</font>
<a name="line597">597: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line598">598: </a> <a href="../manualpages/Mat/MatAssemblyType.html">MAT_FLUSH_ASSEMBLY</a> = 1,
<a name="line599">599: </a> <a href="../manualpages/Mat/MatAssemblyType.html">MAT_FINAL_ASSEMBLY</a> = 0
<a name="line600">600: </a>} <a href="../manualpages/Mat/MatAssemblyType.html">MatAssemblyType</a>;
<a name="line602">602: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatAssemblyType.html">MatAssemblyType</a>)</font></strong>;
<a name="line603">603: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatAssemblyType.html">MatAssemblyType</a>)</font></strong>;
<a name="line604">604: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAssembled.html">MatAssembled</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line606">606: </a><font color="#B22222">/*E</font>
<a name="line607">607: </a><font color="#B22222"> <a href="../manualpages/Mat/MatOption.html">MatOption</a> - Options that may be set for a matrix that indicate properties of the matrix or affect its behavior or storage</font>
<a name="line609">609: </a><font color="#B22222"> Level: beginner</font>
<a name="line611">611: </a><font color="#B22222"> Note:</font>
<a name="line612">612: </a><font color="#B22222"> See `<a href="../manualpages/Mat/MatSetOption.html">MatSetOption</a>()` for the use of the options</font>
<a name="line614">614: </a><font color="#B22222"> Developer Note:</font>
<a name="line615">615: </a><font color="#B22222"> Entries that are negative need not be called collectively by all processes.</font>
<a name="line617">617: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatSetOption.html">MatSetOption</a>()`</font>
<a name="line618">618: </a><font color="#B22222">E*/</font>
<a name="line619">619: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line620">620: </a> <a href="../manualpages/Mat/MatOption.html">MAT_OPTION_MIN</a> = -3,
<a name="line621">621: </a> <a href="../manualpages/Mat/MatOption.html">MAT_UNUSED_NONZERO_LOCATION_ERR</a> = -2,
<a name="line622">622: </a> <a href="../manualpages/Mat/MatOption.html">MAT_ROW_ORIENTED</a> = -1,
<a name="line623">623: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SYMMETRIC</a> = 1,
<a name="line624">624: </a> <a href="../manualpages/Mat/MatOption.html">MAT_STRUCTURALLY_SYMMETRIC</a> = 2,
<a name="line625">625: </a> <a href="../manualpages/Mat/MatOption.html">MAT_FORCE_DIAGONAL_ENTRIES</a> = 3,
<a name="line626">626: </a> <a href="../manualpages/Mat/MatOption.html">MAT_IGNORE_OFF_PROC_ENTRIES</a> = 4,
<a name="line627">627: </a> <a href="../manualpages/Mat/MatOption.html">MAT_USE_HASH_TABLE</a> = 5,
<a name="line628">628: </a> <a href="../manualpages/Mat/MatOption.html">MAT_KEEP_NONZERO_PATTERN</a> = 6,
<a name="line629">629: </a> <a href="../manualpages/Mat/MatOption.html">MAT_IGNORE_ZERO_ENTRIES</a> = 7,
<a name="line630">630: </a> <a href="../manualpages/Mat/MatOption.html">MAT_USE_INODES</a> = 8,
<a name="line631">631: </a> <a href="../manualpages/Mat/MatOption.html">MAT_HERMITIAN</a> = 9,
<a name="line632">632: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SYMMETRY_ETERNAL</a> = 10,
<a name="line633">633: </a> <a href="../manualpages/Mat/MatOption.html">MAT_NEW_NONZERO_LOCATION_ERR</a> = 11,
<a name="line634">634: </a> <a href="../manualpages/Mat/MatOption.html">MAT_IGNORE_LOWER_TRIANGULAR</a> = 12,
<a name="line635">635: </a> <a href="../manualpages/Mat/MatOption.html">MAT_ERROR_LOWER_TRIANGULAR</a> = 13,
<a name="line636">636: </a> <a href="../manualpages/Mat/MatOption.html">MAT_GETROW_UPPERTRIANGULAR</a> = 14,
<a name="line637">637: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SPD</a> = 15,
<a name="line638">638: </a> <a href="../manualpages/Mat/MatOption.html">MAT_NO_OFF_PROC_ZERO_ROWS</a> = 16,
<a name="line639">639: </a> <a href="../manualpages/Mat/MatOption.html">MAT_NO_OFF_PROC_ENTRIES</a> = 17,
<a name="line640">640: </a> <a href="../manualpages/Mat/MatOption.html">MAT_NEW_NONZERO_LOCATIONS</a> = 18,
<a name="line641">641: </a> <a href="../manualpages/Mat/MatOption.html">MAT_NEW_NONZERO_ALLOCATION_ERR</a> = 19,
<a name="line642">642: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SUBSET_OFF_PROC_ENTRIES</a> = 20,
<a name="line643">643: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SUBMAT_SINGLEIS</a> = 21,
<a name="line644">644: </a> <a href="../manualpages/Mat/MatOption.html">MAT_STRUCTURE_ONLY</a> = 22,
<a name="line645">645: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SORTED_FULL</a> = 23,
<a name="line646">646: </a> <a href="../manualpages/Mat/MatOption.html">MAT_FORM_EXPLICIT_TRANSPOSE</a> = 24,
<a name="line647">647: </a> <a href="../manualpages/Mat/MatOption.html">MAT_STRUCTURAL_SYMMETRY_ETERNAL</a> = 25,
<a name="line648">648: </a> <a href="../manualpages/Mat/MatOption.html">MAT_SPD_ETERNAL</a> = 26,
<a name="line649">649: </a> <a href="../manualpages/Mat/MatOption.html">MAT_OPTION_MAX</a> = 27
<a name="line650">650: </a>} <a href="../manualpages/Mat/MatOption.html">MatOption</a>;
<a name="line652">652: </a>PETSC_EXTERN const char *const *MatOptions;
<a name="line653">653: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetOption.html">MatSetOption</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatOption.html">MatOption</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line654">654: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOption.html">MatGetOption</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatOption.html">MatOption</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line655">655: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPropagateSymmetryOptions.html">MatPropagateSymmetryOptions</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line656">656: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetType.html">MatGetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a> *)</font></strong>;
<a name="line658">658: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetValues.html">MatGetValues</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line659">659: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRow.html">MatGetRow</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line660">660: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreRow.html">MatRestoreRow</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line661">661: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowUpperTriangular.html">MatGetRowUpperTriangular</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line662">662: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreRowUpperTriangular.html">MatRestoreRowUpperTriangular</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line663">663: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnVector.html">MatGetColumnVector</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line664">664: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJGetArray.html">MatSeqAIJGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line665">665: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJGetArrayRead.html">MatSeqAIJGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line666">666: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJGetArrayWrite.html">MatSeqAIJGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line667">667: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJRestoreArray.html">MatSeqAIJRestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line668">668: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJRestoreArrayRead.html">MatSeqAIJRestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line669">669: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJRestoreArrayWrite.html">MatSeqAIJRestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line670">670: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJGetMaxRowNonzeros.html">MatSeqAIJGetMaxRowNonzeros</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line671">671: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSeqAIJSetValuesLocalFast(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line672">672: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJSetType.html">MatSeqAIJSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>)</font></strong>;
<a name="line673">673: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJKron.html">MatSeqAIJKron</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line674">674: </a><strong><font color="#4169E1"><a name="MatSeqAIJRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJRegister.html">MatSeqAIJRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>);
<a name="line675">675: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> MatSeqAIJList;
<a name="line676">676: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqBAIJGetArray.html">MatSeqBAIJGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line677">677: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqBAIJRestoreArray.html">MatSeqBAIJRestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line678">678: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSBAIJGetArray.html">MatSeqSBAIJGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line679">679: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSBAIJRestoreArray.html">MatSeqSBAIJRestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line680">680: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArray.html">MatDenseGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line681">681: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArray.html">MatDenseRestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line682">682: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDensePlaceArray.html">MatDensePlaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line683">683: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseReplaceArray.html">MatDenseReplaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line684">684: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseResetArray.html">MatDenseResetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line685">685: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArrayRead.html">MatDenseGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line686">686: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArrayRead.html">MatDenseRestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line687">687: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArrayWrite.html">MatDenseGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line688">688: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArrayWrite.html">MatDenseRestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line689">689: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArrayAndMemType.html">MatDenseGetArrayAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[], <a href="../manualpages/Sys/PetscMemType.html">PetscMemType</a> *)</font></strong>;
<a name="line690">690: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArrayAndMemType.html">MatDenseRestoreArrayAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line691">691: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArrayReadAndMemType.html">MatDenseGetArrayReadAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[], <a href="../manualpages/Sys/PetscMemType.html">PetscMemType</a> *)</font></strong>;
<a name="line692">692: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArrayReadAndMemType.html">MatDenseRestoreArrayReadAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line693">693: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetArrayWriteAndMemType.html">MatDenseGetArrayWriteAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[], <a href="../manualpages/Sys/PetscMemType.html">PetscMemType</a> *)</font></strong>;
<a name="line694">694: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreArrayWriteAndMemType.html">MatDenseRestoreArrayWriteAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line695">695: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetBlockSize.html">MatGetBlockSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line696">696: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetBlockSize.html">MatSetBlockSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line697">697: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetBlockSizes.html">MatGetBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line698">698: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetBlockSizes.html">MatSetBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line699">699: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetBlockSizesFromMats.html">MatSetBlockSizesFromMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line700">700: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetVariableBlockSizes.html">MatSetVariableBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line701">701: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetVariableBlockSizes.html">MatGetVariableBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line703">703: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetColumn.html">MatDenseGetColumn</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line704">704: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreColumn.html">MatDenseRestoreColumn</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *[])</font></strong>;
<a name="line705">705: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetColumnVec.html">MatDenseGetColumnVec</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line706">706: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreColumnVec.html">MatDenseRestoreColumnVec</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line707">707: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetColumnVecRead.html">MatDenseGetColumnVecRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line708">708: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreColumnVecRead.html">MatDenseRestoreColumnVecRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line709">709: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetColumnVecWrite.html">MatDenseGetColumnVecWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line710">710: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreColumnVecWrite.html">MatDenseRestoreColumnVecWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line711">711: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetSubMatrix.html">MatDenseGetSubMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line712">712: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseRestoreSubMatrix.html">MatDenseRestoreSubMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line714">714: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMult.html">MatMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line715">715: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultDiagonalBlock.html">MatMultDiagonalBlock</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line716">716: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultAdd.html">MatMultAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line717">717: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultTranspose.html">MatMultTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line718">718: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultHermitianTranspose.html">MatMultHermitianTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line719">719: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsTranspose.html">MatIsTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line720">720: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsHermitianTranspose.html">MatIsHermitianTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line721">721: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultTransposeAdd.html">MatMultTransposeAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line722">722: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultHermitianTransposeAdd.html">MatMultHermitianTransposeAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line723">723: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatSolve.html">MatMatSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line724">724: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatSolveTranspose.html">MatMatSolveTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line725">725: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatTransposeSolve.html">MatMatTransposeSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line726">726: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatResidual.html">MatResidual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line728">728: </a><font color="#B22222">/*E</font>
<a name="line729">729: </a><font color="#B22222"> <a href="../manualpages/Mat/MatDuplicateOption.html">MatDuplicateOption</a> - Indicates if a duplicated sparse matrix should have</font>
<a name="line730">730: </a><font color="#B22222"> its numerical values copied over or just its nonzero structure.</font>
<a name="line732">732: </a><font color="#B22222"> Values:</font>
<a name="line733">733: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatDuplicateOption.html">MAT_DO_NOT_COPY_VALUES</a>` - Create a matrix using the same nonzero pattern as the original matrix,</font>
<a name="line734">734: </a><font color="#B22222"> with zeros for the numerical values</font>
<a name="line735">735: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatDuplicateOption.html">MAT_COPY_VALUES</a>` - Create a matrix with the same nonzero pattern as the original matrix</font>
<a name="line736">736: </a><font color="#B22222"> and with the same numerical values.</font>
<a name="line737">737: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatDuplicateOption.html">MAT_SHARE_NONZERO_PATTERN</a>` - Create a matrix that shares the nonzero structure with the previous matrix</font>
<a name="line738">738: </a><font color="#B22222"> and does not copy it, using zeros for the numerical values. The parent and</font>
<a name="line739">739: </a><font color="#B22222"> child matrices will share their index (i and j) arrays, and you cannot</font>
<a name="line740">740: </a><font color="#B22222"> insert new nonzero entries into either matrix</font>
<a name="line742">742: </a><font color="#B22222"> Level: beginner</font>
<a name="line744">744: </a><font color="#B22222"> Note:</font>
<a name="line745">745: </a><font color="#B22222"> Many matrix types (including `<a href="../manualpages/Mat/MATSEQAIJ.html">MATSEQAIJ</a>`) do not support the `<a href="../manualpages/Mat/MatDuplicateOption.html">MAT_SHARE_NONZERO_PATTERN</a>` optimization; in</font>
<a name="line746">746: </a><font color="#B22222"> this case the behavior is as if `<a href="../manualpages/Mat/MatDuplicateOption.html">MAT_DO_NOT_COPY_VALUES</a>` has been specified.</font>
<a name="line748">748: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatDuplicate.html">MatDuplicate</a>()`</font>
<a name="line749">749: </a><font color="#B22222">E*/</font>
<a name="line750">750: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line751">751: </a> <a href="../manualpages/Mat/MatDuplicateOption.html">MAT_DO_NOT_COPY_VALUES</a>,
<a name="line752">752: </a> <a href="../manualpages/Mat/MatDuplicateOption.html">MAT_COPY_VALUES</a>,
<a name="line753">753: </a> <a href="../manualpages/Mat/MatDuplicateOption.html">MAT_SHARE_NONZERO_PATTERN</a>
<a name="line754">754: </a>} <a href="../manualpages/Mat/MatDuplicateOption.html">MatDuplicateOption</a>;
<a name="line756">756: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatConvert.html">MatConvert</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line757">757: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDuplicate.html">MatDuplicate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatDuplicateOption.html">MatDuplicateOption</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line759">759: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCopy.html">MatCopy</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatStructure.html">MatStructure</a>)</font></strong>;
<a name="line760">760: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatView.html">MatView</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line761">761: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsSymmetric.html">MatIsSymmetric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line762">762: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsStructurallySymmetric.html">MatIsStructurallySymmetric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line763">763: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsHermitian.html">MatIsHermitian</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line764">764: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsSymmetricKnown.html">MatIsSymmetricKnown</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line765">765: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsHermitianKnown.html">MatIsHermitianKnown</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line766">766: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsStructurallySymmetricKnown.html">MatIsStructurallySymmetricKnown</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line767">767: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsSPDKnown.html">MatIsSPDKnown</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line768">768: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMissingDiagonal.html">MatMissingDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line769">769: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLoad.html">MatLoad</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line771">771: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowIJ.html">MatGetRowIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line772">772: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreRowIJ.html">MatRestoreRowIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line773">773: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnIJ.html">MatGetColumnIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line774">774: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreColumnIJ.html">MatRestoreColumnIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line776">776: </a><font color="#B22222">/*S</font>
<a name="line777">777: </a><font color="#B22222"> <a href="../manualpages/Mat/MatInfo.html">MatInfo</a> - Context of matrix information, used with `<a href="../manualpages/Mat/MatGetInfo.html">MatGetInfo</a>()`</font>
<a name="line779">779: </a><font color="#B22222"> Level: intermediate</font>
<a name="line781">781: </a><font color="#B22222"> Fortran Note:</font>
<a name="line782">782: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatInfo.html">MatInfo</a>` is a derived type, use e.g. `matinfo%nz_allocated` to access its components.</font>
<a name="line784">784: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatGetInfo.html">MatGetInfo</a>()`, `<a href="../manualpages/Mat/MatInfoType.html">MatInfoType</a>`</font>
<a name="line785">785: </a><font color="#B22222">S*/</font>
<a name="line786">786: </a><font color="#4169E1">typedef</font> <font color="#4169E1">struct</font> {
<a name="line787">787: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> block_size; <font color="#B22222">/* block size */</font>
<a name="line788">788: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> nz_allocated, nz_used, nz_unneeded; <font color="#B22222">/* number of nonzeros */</font>
<a name="line789">789: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> memory; <font color="#B22222">/* memory allocated */</font>
<a name="line790">790: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> assemblies; <font color="#B22222">/* number of matrix assemblies called */</font>
<a name="line791">791: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> mallocs; <font color="#B22222">/* number of mallocs during <a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>() */</font>
<a name="line792">792: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> fill_ratio_given, fill_ratio_needed; <font color="#B22222">/* fill ratio for LU/ILU */</font>
<a name="line793">793: </a> <a href="../manualpages/Sys/PetscLogDouble.html">PetscLogDouble</a> factor_mallocs; <font color="#B22222">/* number of mallocs during factorization */</font>
<a name="line794">794: </a>} <a href="../manualpages/Mat/MatInfo.html">MatInfo</a>;
<a name="line796">796: </a><font color="#B22222">/*E</font>
<a name="line797">797: </a><font color="#B22222"> <a href="../manualpages/Mat/MatInfoType.html">MatInfoType</a> - Indicates if you want information about the local part of the matrix,</font>
<a name="line798">798: </a><font color="#B22222"> the entire parallel matrix or the maximum over all the local parts.</font>
<a name="line800">800: </a><font color="#B22222"> Values:</font>
<a name="line801">801: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatInfoType.html">MAT_LOCAL</a>` - values for each MPI process part of the matrix</font>
<a name="line802">802: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatInfoType.html">MAT_GLOBAL_MAX</a>` - maximum of each value over all MPI processes</font>
<a name="line803">803: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatInfoType.html">MAT_GLOBAL_SUM</a>` - sum of each value over all MPI processes</font>
<a name="line805">805: </a><font color="#B22222"> Level: beginner</font>
<a name="line807">807: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatGetInfo.html">MatGetInfo</a>()`, `<a href="../manualpages/Mat/MatInfo.html">MatInfo</a>`</font>
<a name="line808">808: </a><font color="#B22222">E*/</font>
<a name="line809">809: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line810">810: </a> <a href="../manualpages/Mat/MatInfoType.html">MAT_LOCAL</a> = 1,
<a name="line811">811: </a> <a href="../manualpages/Mat/MatInfoType.html">MAT_GLOBAL_MAX</a> = 2,
<a name="line812">812: </a> <a href="../manualpages/Mat/MatInfoType.html">MAT_GLOBAL_SUM</a> = 3
<a name="line813">813: </a>} <a href="../manualpages/Mat/MatInfoType.html">MatInfoType</a>;
<a name="line814">814: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetInfo.html">MatGetInfo</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatInfoType.html">MatInfoType</a>, <a href="../manualpages/Mat/MatInfo.html">MatInfo</a> *)</font></strong>;
<a name="line815">815: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetDiagonal.html">MatGetDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line816">816: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowMax.html">MatGetRowMax</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line817">817: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowMin.html">MatGetRowMin</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line818">818: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowMaxAbs.html">MatGetRowMaxAbs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line819">819: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowSumAbs.html">MatGetRowSumAbs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line820">820: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowMinAbs.html">MatGetRowMinAbs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line821">821: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetRowSum.html">MatGetRowSum</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line822">822: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTranspose.html">MatTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line823">823: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeSymbolic.html">MatTransposeSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line824">824: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeSetPrecursor.html">MatTransposeSetPrecursor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line825">825: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHermitianTranspose.html">MatHermitianTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line826">826: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPermute.html">MatPermute</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line827">827: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalScale.html">MatDiagonalScale</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line828">828: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalSet.html">MatDiagonalSet</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line830">830: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatEqual.html">MatEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line831">831: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultEqual.html">MatMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line832">832: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultAddEqual.html">MatMultAddEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line833">833: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultTransposeEqual.html">MatMultTransposeEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line834">834: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultTransposeAddEqual.html">MatMultTransposeAddEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line835">835: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultHermitianTransposeEqual.html">MatMultHermitianTransposeEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line836">836: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMultHermitianTransposeAddEqual.html">MatMultHermitianTransposeAddEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line837">837: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatMultEqual.html">MatMatMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line838">838: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeMatMultEqual.html">MatTransposeMatMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line839">839: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatTransposeMultEqual.html">MatMatTransposeMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line840">840: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPtAPMultEqual.html">MatPtAPMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line841">841: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRARtMultEqual.html">MatRARtMultEqual</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line842">842: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsLinear.html">MatIsLinear</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line844">844: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNorm.html">MatNorm</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/NormType.html">NormType</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line845">845: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnNorms.html">MatGetColumnNorms</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/NormType.html">NormType</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line846">846: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnSums.html">MatGetColumnSums</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line847">847: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnSumsRealPart.html">MatGetColumnSumsRealPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line848">848: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnSumsImaginaryPart.html">MatGetColumnSumsImaginaryPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line849">849: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnMeans.html">MatGetColumnMeans</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line850">850: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnMeansRealPart.html">MatGetColumnMeansRealPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line851">851: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnMeansImaginaryPart.html">MatGetColumnMeansImaginaryPart</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line852">852: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetColumnReductions.html">MatGetColumnReductions</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line853">853: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroEntries.html">MatZeroEntries</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line854">854: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSetInf(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line855">855: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRows.html">MatZeroRows</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line856">856: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsIS.html">MatZeroRowsIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line857">857: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsStencil.html">MatZeroRowsStencil</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line858">858: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsColumnsStencil.html">MatZeroRowsColumnsStencil</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Mat/MatStencil.html">MatStencil</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line859">859: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsColumns.html">MatZeroRowsColumns</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line860">860: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsColumnsIS.html">MatZeroRowsColumnsIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line862">862: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetSize.html">MatGetSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line863">863: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetLocalSize.html">MatGetLocalSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line864">864: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOwnershipRange.html">MatGetOwnershipRange</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line865">865: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOwnershipRanges.html">MatGetOwnershipRanges</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **)</font></strong>;
<a name="line866">866: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOwnershipRangeColumn.html">MatGetOwnershipRangeColumn</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line867">867: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOwnershipRangesColumn.html">MatGetOwnershipRangesColumn</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **)</font></strong>;
<a name="line868">868: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOwnershipIS.html">MatGetOwnershipIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line870">870: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], const <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *[])</font></strong>;
<a name="line871">871: </a>PETSC_DEPRECATED_FUNCTION(3, 8, 0, <font color="#666666">"<a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatGetSubMatrices(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> n, const <a href="../manualpages/IS/IS.html">IS</a> irow[], const <a href="../manualpages/IS/IS.html">IS</a> icol[], <a href="../manualpages/Mat/MatReuse.html">MatReuse</a> scall, <a href="../manualpages/Mat/Mat.html">Mat</a> *submat[])
<a name="line872">872: </a>{
<a name="line873">873: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatCreateSubMatrices.html">MatCreateSubMatrices</a>(mat, n, irow, icol, scall, submat);
<a name="line874">874: </a>}
<a name="line875">875: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSubMatricesMPI.html">MatCreateSubMatricesMPI</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], const <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *[])</font></strong>;
<a name="line876">876: </a>PETSC_DEPRECATED_FUNCTION(3, 8, 0, <font color="#666666">"<a href="../manualpages/Mat/MatCreateSubMatricesMPI.html">MatCreateSubMatricesMPI</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatGetSubMatricesMPI(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> n, const <a href="../manualpages/IS/IS.html">IS</a> irow[], const <a href="../manualpages/IS/IS.html">IS</a> icol[], <a href="../manualpages/Mat/MatReuse.html">MatReuse</a> scall, <a href="../manualpages/Mat/Mat.html">Mat</a> *submat[])
<a name="line877">877: </a>{
<a name="line878">878: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatCreateSubMatricesMPI.html">MatCreateSubMatricesMPI</a>(mat, n, irow, icol, scall, submat);
<a name="line879">879: </a>}
<a name="line880">880: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDestroyMatrices.html">MatDestroyMatrices</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *[])</font></strong>;
<a name="line881">881: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDestroySubMatrices.html">MatDestroySubMatrices</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *[])</font></strong>;
<a name="line882">882: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSubMatrix.html">MatCreateSubMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line883">883: </a>PETSC_DEPRECATED_FUNCTION(3, 8, 0, <font color="#666666">"<a href="../manualpages/Mat/MatCreateSubMatrix.html">MatCreateSubMatrix</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatGetSubMatrix(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/IS/IS.html">IS</a> isrow, <a href="../manualpages/IS/IS.html">IS</a> iscol, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a> cll, <a href="../manualpages/Mat/Mat.html">Mat</a> *newmat)
<a name="line884">884: </a>{
<a name="line885">885: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatCreateSubMatrix.html">MatCreateSubMatrix</a>(mat, isrow, iscol, cll, newmat);
<a name="line886">886: </a>}
<a name="line887">887: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetLocalSubMatrix.html">MatGetLocalSubMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line888">888: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreLocalSubMatrix.html">MatRestoreLocalSubMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line889">889: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetSeqNonzeroStructure.html">MatGetSeqNonzeroStructure</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line890">890: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDestroySeqNonzeroStructure.html">MatDestroySeqNonzeroStructure</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line892">892: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIAIJSumSeqAIJ.html">MatCreateMPIAIJSumSeqAIJ</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line893">893: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatCreateMPIAIJSumSeqAIJSymbolic(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line894">894: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatCreateMPIAIJSumSeqAIJNumeric(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line895">895: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJGetLocalMat.html">MatMPIAIJGetLocalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line896">896: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAIJGetLocalMat.html">MatAIJGetLocalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line897">897: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJGetLocalMatCondensed.html">MatMPIAIJGetLocalMatCondensed</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line898">898: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJGetLocalMatMerge.html">MatMPIAIJGetLocalMatMerge</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line899">899: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJGetNumberNonzeros.html">MatMPIAIJGetNumberNonzeros</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscCount.html">PetscCount</a> *)</font></strong>;
<a name="line900">900: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetBrowsOfAcols.html">MatGetBrowsOfAcols</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line901">901: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetGhosts.html">MatGetGhosts</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line903">903: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIncreaseOverlap.html">MatIncreaseOverlap</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line904">904: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIncreaseOverlapSplit.html">MatIncreaseOverlapSplit</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line905">905: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJSetUseScalableIncreaseOverlap.html">MatMPIAIJSetUseScalableIncreaseOverlap</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line907">907: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatMult.html">MatMatMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line909">909: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatMatMult.html">MatMatMatMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line910">910: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGalerkin.html">MatGalerkin</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line912">912: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPtAP.html">MatPtAP</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line913">913: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRARt.html">MatRARt</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line915">915: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeMatMult.html">MatTransposeMatMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line916">916: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatTransposeMult.html">MatMatTransposeMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line918">918: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAXPY.html">MatAXPY</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatStructure.html">MatStructure</a>)</font></strong>;
<a name="line919">919: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatAYPX.html">MatAYPX</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatStructure.html">MatStructure</a>)</font></strong>;
<a name="line921">921: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatScale.html">MatScale</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>)</font></strong>;
<a name="line922">922: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShift.html">MatShift</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>)</font></strong>;
<a name="line924">924: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetLocalToGlobalMapping.html">MatSetLocalToGlobalMapping</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a>)</font></strong>;
<a name="line925">925: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetLocalToGlobalMapping.html">MatGetLocalToGlobalMapping</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a> *, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a> *)</font></strong>;
<a name="line926">926: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetLayouts.html">MatGetLayouts</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/PetscLayout.html">PetscLayout</a> *, <a href="../manualpages/IS/PetscLayout.html">PetscLayout</a> *)</font></strong>;
<a name="line927">927: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetLayouts.html">MatSetLayouts</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/PetscLayout.html">PetscLayout</a>, <a href="../manualpages/IS/PetscLayout.html">PetscLayout</a>)</font></strong>;
<a name="line928">928: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsLocal.html">MatZeroRowsLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line929">929: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsLocalIS.html">MatZeroRowsLocalIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line930">930: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsColumnsLocal.html">MatZeroRowsColumnsLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line931">931: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatZeroRowsColumnsLocalIS.html">MatZeroRowsColumnsLocalIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line932">932: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetValuesLocal.html">MatGetValuesLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line933">933: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line934">934: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValuesBlockedLocal.html">MatSetValuesBlockedLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/InsertMode.html">InsertMode</a>)</font></strong>;
<a name="line936">936: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatStashSetInitialSize.html">MatStashSetInitialSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line937">937: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatStashGetInfo.html">MatStashGetInfo</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line939">939: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInterpolate.html">MatInterpolate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line940">940: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInterpolateAdd.html">MatInterpolateAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line941">941: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestrict.html">MatRestrict</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line942">942: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatInterpolate.html">MatMatInterpolate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line943">943: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatInterpolateAdd.html">MatMatInterpolateAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line944">944: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMatRestrict.html">MatMatRestrict</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line945">945: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateVecs.html">MatCreateVecs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line946">946: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/Mat/MatCreateVecs.html">MatCreateVecs</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatGetVecs(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Vec/Vec.html">Vec</a> *x, <a href="../manualpages/Vec/Vec.html">Vec</a> *y)
<a name="line947">947: </a>{
<a name="line948">948: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatCreateVecs.html">MatCreateVecs</a>(mat, x, y);
<a name="line949">949: </a>}
<a name="line950">950: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateRedundantMatrix.html">MatCreateRedundantMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line951">951: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetMultiProcBlock.html">MatGetMultiProcBlock</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line952">952: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFindZeroDiagonals.html">MatFindZeroDiagonals</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line953">953: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFindOffBlockDiagonalEntries.html">MatFindOffBlockDiagonalEntries</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line954">954: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMPIMatConcatenateSeqMat.html">MatCreateMPIMatConcatenateSeqMat</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/MatReuse.html">MatReuse</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line956">956: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCopyHashToXAIJ.html">MatCopyHashToXAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Mat/Mat.html">Mat</a> B)</font></strong>;
<a name="line957">957: </a><font color="#B22222">/*@C</font>
<a name="line958">958: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSetValue.html">MatSetValue</a> - Set a single entry into a matrix.</font>
<a name="line960">960: </a><font color="#B22222"> Not Collective</font>
<a name="line962">962: </a><font color="#B22222"> Input Parameters:</font>
<a name="line963">963: </a><font color="#B22222">+ mat - the matrix</font>
<a name="line964">964: </a><font color="#B22222">. i - the row location of the entry</font>
<a name="line965">965: </a><font color="#B22222">. j - the column location of the entry</font>
<a name="line966">966: </a><font color="#B22222">. va - the value to insert</font>
<a name="line967">967: </a><font color="#B22222">- mode - either `<a href="../manualpages/Sys/INSERT_VALUES.html">INSERT_VALUES</a>` or `<a href="../manualpages/Sys/ADD_VALUES.html">ADD_VALUES</a>`</font>
<a name="line969">969: </a><font color="#B22222"> Level: beginner</font>
<a name="line971">971: </a><font color="#B22222"> Notes:</font>
<a name="line972">972: </a><font color="#B22222"> This value may be cached, so `<a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>()` and `<a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>()`</font>
<a name="line973">973: </a><font color="#B22222"> MUST be called after all calls to `<a href="../manualpages/Mat/MatSetValue.html">MatSetValue</a>()` have been completed.</font>
<a name="line975">975: </a><font color="#B22222"> For efficiency one should use `<a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>()` and set several values simultaneously.</font>
<a name="line977">977: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>()`, `<a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>()`, `<a href="../manualpages/Sys/InsertMode.html">InsertMode</a>`, `<a href="../manualpages/Mat/MatGetValue.html">MatGetValue</a>()`, `<a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>()`,</font>
<a name="line978">978: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatSetValueLocal.html">MatSetValueLocal</a>()`, `<a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>()`</font>
<a name="line979">979: </a><font color="#B22222">@*/</font>
<a name="line980">980: </a><strong><font color="#4169E1"><a name="MatSetValue"></a>static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValue.html">MatSetValue</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> i, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> j, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> va, <a href="../manualpages/Sys/InsertMode.html">InsertMode</a> mode)</font></strong>
<a name="line981">981: </a>{
<a name="line982">982: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>(mat, 1, &i, 1, &j, &va, mode);
<a name="line983">983: </a>}
<a name="line985">985: </a><font color="#B22222">/*@C</font>
<a name="line986">986: </a><font color="#B22222"> <a href="../manualpages/Mat/MatGetValue.html">MatGetValue</a> - Gets a single value from a matrix</font>
<a name="line988">988: </a><font color="#B22222"> Not Collective; can only return a value owned by the given process</font>
<a name="line990">990: </a><font color="#B22222"> Input Parameters:</font>
<a name="line991">991: </a><font color="#B22222">+ mat - the matrix</font>
<a name="line992">992: </a><font color="#B22222">. row - the row location of the entry</font>
<a name="line993">993: </a><font color="#B22222">- col - the column location of the entry</font>
<a name="line995">995: </a><font color="#B22222"> Output Parameter:</font>
<a name="line996">996: </a><font color="#B22222">. va - the value</font>
<a name="line998">998: </a><font color="#B22222"> Level: advanced</font>
<a name="line1000">1000: </a><font color="#B22222"> Notes:</font>
<a name="line1001">1001: </a><font color="#B22222"> The matrix must have been assembled with `<a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>()` and `<a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>()` before this call</font>
<a name="line1003">1003: </a><font color="#B22222"> For efficiency one should use `<a href="../manualpages/Mat/MatGetValues.html">MatGetValues</a>()` and get several values simultaneously.</font>
<a name="line1005">1005: </a><font color="#B22222"> See notes for `<a href="../manualpages/Mat/MatGetValues.html">MatGetValues</a>()`.</font>
<a name="line1007">1007: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatAssemblyBegin.html">MatAssemblyBegin</a>()`, `<a href="../manualpages/Mat/MatAssemblyEnd.html">MatAssemblyEnd</a>()`, `<a href="../manualpages/Mat/MatSetValue.html">MatSetValue</a>()`, `<a href="../manualpages/Mat/MatGetValuesLocal.html">MatGetValuesLocal</a>()`, `<a href="../manualpages/Mat/MatGetValues.html">MatGetValues</a>()`</font>
<a name="line1008">1008: </a><font color="#B22222">@*/</font>
<a name="line1009">1009: </a><strong><font color="#4169E1"><a name="MatGetValue"></a>static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetValue.html">MatGetValue</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> row, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> col, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *va)</font></strong>
<a name="line1010">1010: </a>{
<a name="line1011">1011: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatGetValues.html">MatGetValues</a>(mat, 1, &row, 1, &col, va);
<a name="line1012">1012: </a>}
<a name="line1014">1014: </a><font color="#B22222">/*@C</font>
<a name="line1015">1015: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSetValueLocal.html">MatSetValueLocal</a> - Inserts or adds a single value into a matrix, using a local numbering of the nodes.</font>
<a name="line1017">1017: </a><font color="#B22222"> Not Collective</font>
<a name="line1019">1019: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1020">1020: </a><font color="#B22222">+ mat - the matrix</font>
<a name="line1021">1021: </a><font color="#B22222">. i - the row location of the entry</font>
<a name="line1022">1022: </a><font color="#B22222">. j - the column location of the entry</font>
<a name="line1023">1023: </a><font color="#B22222">. va - the value to insert</font>
<a name="line1024">1024: </a><font color="#B22222">- mode - either `<a href="../manualpages/Sys/INSERT_VALUES.html">INSERT_VALUES</a>` or `<a href="../manualpages/Sys/ADD_VALUES.html">ADD_VALUES</a>`</font>
<a name="line1026">1026: </a><font color="#B22222"> Level: intermediate</font>
<a name="line1028">1028: </a><font color="#B22222"> Notes:</font>
<a name="line1029">1029: </a><font color="#B22222"> For efficiency one should use `<a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>()` and set several values simultaneously.</font>
<a name="line1031">1031: </a><font color="#B22222"> See notes for `<a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>()` for additional information on when and how this function can be used.</font>
<a name="line1033">1033: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatSetValue.html">MatSetValue</a>()`, `<a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>()`</font>
<a name="line1034">1034: </a><font color="#B22222">@*/</font>
<a name="line1035">1035: </a><strong><font color="#4169E1"><a name="MatSetValueLocal"></a>static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetValueLocal.html">MatSetValueLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a> mat, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> i, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> j, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> va, <a href="../manualpages/Sys/InsertMode.html">InsertMode</a> mode)</font></strong>
<a name="line1036">1036: </a>{
<a name="line1037">1037: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatSetValuesLocal.html">MatSetValuesLocal</a>(mat, 1, &i, 1, &j, &va, mode);
<a name="line1038">1038: </a>}
<a name="line1040">1040: </a><font color="#B22222">/*MC</font>
<a name="line1041">1041: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a> - Begins the block of code that will count the number of nonzeros per</font>
<a name="line1042">1042: </a><font color="#B22222"> row in a matrix providing the data that one can use to correctly preallocate the matrix.</font>
<a name="line1044">1044: </a><font color="#B22222"> Synopsis:</font>
<a name="line1045">1045: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1046">1046: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a> comm, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1048">1048: </a><font color="#B22222"> Collective</font>
<a name="line1050">1050: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1051">1051: </a><font color="#B22222">+ comm - the communicator that will share the eventually allocated matrix</font>
<a name="line1052">1052: </a><font color="#B22222">. nrows - the number of LOCAL rows in the matrix</font>
<a name="line1053">1053: </a><font color="#B22222">- ncols - the number of LOCAL columns in the matrix</font>
<a name="line1055">1055: </a><font color="#B22222"> Output Parameters:</font>
<a name="line1056">1056: </a><font color="#B22222">+ dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1057">1057: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1059">1059: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1061">1061: </a><font color="#B22222"> Notes:</font>
<a name="line1062">1062: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1063">1063: </a><font color="#B22222"> the use of this routine</font>
<a name="line1065">1065: </a><font color="#B22222"> This is a macro that handles its own error checking, it does not return an error code.</font>
<a name="line1067">1067: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz`, that is handled internally by these routines</font>
<a name="line1069">1069: </a><font color="#B22222"> Developer Note:</font>
<a name="line1070">1070: </a><font color="#B22222"> This is a MACRO, not a function, because it has a leading { that is closed by `PetscPreallocateFinalize()`.</font>
<a name="line1072">1072: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`,</font>
<a name="line1073">1073: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`</font>
<a name="line1074">1074: </a><font color="#B22222">M*/</font>
<a name="line1075">1075: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>(comm, nrows, ncols, dnz, onz) \</font></strong>
<a name="line1076">1076: </a><strong><font color="#228B22"> do { \</font></strong>
<a name="line1077">1077: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __nrows = (nrows), __ncols = (ncols), __rstart, __end = 0; \</font></strong>
<a name="line1078">1078: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> PETSC_UNUSED __start; \</font></strong>
<a name="line1079">1079: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Sys/PetscCalloc2.html">PetscCalloc2</a>(__nrows, &(dnz), __nrows, &(onz))); \</font></strong>
<a name="line1080">1080: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscCallMPI.html">PetscCallMPI</a>(<a href="http://www.mpich.org/static/docs/latest/www3/MPI_Scan.html#MPI_Scan">MPI_Scan</a>(&__ncols, &__end, 1, <a href="../manualpages/Sys/MPIU_INT.html">MPIU_INT</a>, MPI_SUM, comm)); \</font></strong>
<a name="line1081">1081: </a><strong><font color="#228B22"> __start = __end - __ncols; \</font></strong>
<a name="line1082">1082: </a><strong><font color="#228B22"> (void)__start; \</font></strong>
<a name="line1083">1083: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscCallMPI.html">PetscCallMPI</a>(<a href="http://www.mpich.org/static/docs/latest/www3/MPI_Scan.html#MPI_Scan">MPI_Scan</a>(&__nrows, &__rstart, 1, <a href="../manualpages/Sys/MPIU_INT.html">MPIU_INT</a>, MPI_SUM, comm)); \</font></strong>
<a name="line1084">1084: </a><strong><font color="#228B22"> __rstart -= __nrows</font></strong>
<a name="line1086">1086: </a><strong><font color="#228B22">#define MatPreallocateInitialize(...) PETSC_DEPRECATED_MACRO(3, 18, 0, </font><font color="#666666">"<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()"</font><font color="#228B22">, ) <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>(__VA_ARGS__)</font></strong>
<a name="line1088">1088: </a><font color="#B22222">/*MC</font>
<a name="line1089">1089: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1090">1090: </a><font color="#B22222"> inserted using a local number of the rows and columns</font>
<a name="line1092">1092: </a><font color="#B22222"> Synopsis:</font>
<a name="line1093">1093: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1094">1094: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>(ISLocalToGlobalMappping map,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1096">1096: </a><font color="#B22222"> Not Collective</font>
<a name="line1098">1098: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1099">1099: </a><font color="#B22222">+ map - the row mapping from local numbering to global numbering</font>
<a name="line1100">1100: </a><font color="#B22222">. nrows - the number of rows indicated</font>
<a name="line1101">1101: </a><font color="#B22222">. rows - the indices of the rows</font>
<a name="line1102">1102: </a><font color="#B22222">. cmap - the column mapping from local to global numbering</font>
<a name="line1103">1103: </a><font color="#B22222">. ncols - the number of columns in the matrix</font>
<a name="line1104">1104: </a><font color="#B22222">. cols - the columns indicated</font>
<a name="line1105">1105: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1106">1106: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1108">1108: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1110">1110: </a><font color="#B22222"> Notes:</font>
<a name="line1111">1111: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1112">1112: </a><font color="#B22222"> the use of this routine</font>
<a name="line1114">1114: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz`, that is handled internally by these routines</font>
<a name="line1116">1116: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`</font>
<a name="line1117">1117: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocalRemoveDups.html">MatPreallocateSetLocalRemoveDups</a>()`</font>
<a name="line1118">1118: </a><font color="#B22222">M*/</font>
<a name="line1119">1119: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>(rmap, nrows, rows, cmap, ncols, cols, dnz, onz) \</font></strong>
<a name="line1120">1120: </a><strong><font color="#228B22"> PetscMacroReturnStandard(<a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApply.html">ISLocalToGlobalMappingApply</a>(rmap, nrows, rows, rows)); <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApply.html">ISLocalToGlobalMappingApply</a>(cmap, ncols, cols, cols)); for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __l = 0; __l < nrows; __l++) <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>((rows)[__l], ncols, cols, dnz, onz));)</font></strong>
<a name="line1122">1122: </a><font color="#B22222">/*MC</font>
<a name="line1123">1123: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSetLocalRemoveDups.html">MatPreallocateSetLocalRemoveDups</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1124">1124: </a><font color="#B22222"> inserted using a local number of the rows and columns. This version removes any duplicate columns in cols</font>
<a name="line1126">1126: </a><font color="#B22222"> Synopsis:</font>
<a name="line1127">1127: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1128">1128: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSetLocalRemoveDups.html">MatPreallocateSetLocalRemoveDups</a>(ISLocalToGlobalMappping map,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1130">1130: </a><font color="#B22222"> Not Collective</font>
<a name="line1132">1132: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1133">1133: </a><font color="#B22222">+ map - the row mapping from local numbering to global numbering</font>
<a name="line1134">1134: </a><font color="#B22222">. nrows - the number of rows indicated</font>
<a name="line1135">1135: </a><font color="#B22222">. rows - the indices of the rows (these values are mapped to the global values)</font>
<a name="line1136">1136: </a><font color="#B22222">. cmap - the column mapping from local to global numbering</font>
<a name="line1137">1137: </a><font color="#B22222">. ncols - the number of columns in the matrix (this value will be changed if duplicate columns are found)</font>
<a name="line1138">1138: </a><font color="#B22222">. cols - the columns indicated (these values are mapped to the global values, they are then sorted and duplicates removed)</font>
<a name="line1139">1139: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1140">1140: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1142">1142: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1144">1144: </a><font color="#B22222"> Notes:</font>
<a name="line1145">1145: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1146">1146: </a><font color="#B22222"> the use of this routine</font>
<a name="line1148">1148: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz`, that is handled internally by these routines</font>
<a name="line1150">1150: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`</font>
<a name="line1151">1151: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`</font>
<a name="line1152">1152: </a><font color="#B22222">M*/</font>
<a name="line1153">1153: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSetLocalRemoveDups.html">MatPreallocateSetLocalRemoveDups</a>(rmap, nrows, rows, cmap, ncols, cols, dnz, onz) \</font></strong>
<a name="line1154">1154: </a><strong><font color="#228B22"> PetscMacroReturnStandard(<a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApply.html">ISLocalToGlobalMappingApply</a>(rmap, nrows, rows, rows)); <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApply.html">ISLocalToGlobalMappingApply</a>(cmap, ncols, cols, cols)); <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Sys/PetscSortRemoveDupsInt.html">PetscSortRemoveDupsInt</a>(&ncols, cols)); for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __l = 0; __l < nrows; __l++) <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>((rows)[__l], ncols, cols, dnz, onz));)</font></strong>
<a name="line1156">1156: </a><font color="#B22222">/*MC</font>
<a name="line1157">1157: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSetLocalBlock.html">MatPreallocateSetLocalBlock</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1158">1158: </a><font color="#B22222"> inserted using a local number of the rows and columns</font>
<a name="line1160">1160: </a><font color="#B22222"> Synopsis:</font>
<a name="line1161">1161: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1162">1162: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSetLocalBlock.html">MatPreallocateSetLocalBlock</a>(ISLocalToGlobalMappping map,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1164">1164: </a><font color="#B22222"> Not Collective</font>
<a name="line1166">1166: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1167">1167: </a><font color="#B22222">+ map - the row mapping from local numbering to global numbering</font>
<a name="line1168">1168: </a><font color="#B22222">. nrows - the number of rows indicated</font>
<a name="line1169">1169: </a><font color="#B22222">. rows - the indices of the rows</font>
<a name="line1170">1170: </a><font color="#B22222">. cmap - the column mapping from local to global numbering</font>
<a name="line1171">1171: </a><font color="#B22222">. ncols - the number of columns in the matrix</font>
<a name="line1172">1172: </a><font color="#B22222">. cols - the columns indicated</font>
<a name="line1173">1173: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1174">1174: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1176">1176: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1178">1178: </a><font color="#B22222"> Notes:</font>
<a name="line1179">1179: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1180">1180: </a><font color="#B22222"> the use of this routine</font>
<a name="line1182">1182: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz`, that is handled internally by these routines</font>
<a name="line1184">1184: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`</font>
<a name="line1185">1185: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`</font>
<a name="line1186">1186: </a><font color="#B22222">M*/</font>
<a name="line1187">1187: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSetLocalBlock.html">MatPreallocateSetLocalBlock</a>(rmap, nrows, rows, cmap, ncols, cols, dnz, onz) \</font></strong>
<a name="line1188">1188: </a><strong><font color="#228B22"> PetscMacroReturnStandard(<a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApplyBlock.html">ISLocalToGlobalMappingApplyBlock</a>(rmap, nrows, rows, rows)); <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApplyBlock.html">ISLocalToGlobalMappingApplyBlock</a>(cmap, ncols, cols, cols)); for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __l = 0; __l < nrows; __l++) <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>((rows)[__l], ncols, cols, dnz, onz));)</font></strong>
<a name="line1190">1190: </a><font color="#B22222">/*MC</font>
<a name="line1191">1191: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1192">1192: </a><font color="#B22222"> inserted using a local number of the rows and columns</font>
<a name="line1194">1194: </a><font color="#B22222"> Synopsis:</font>
<a name="line1195">1195: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1196">1196: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>(ISLocalToGlobalMappping map,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1198">1198: </a><font color="#B22222"> Not Collective</font>
<a name="line1200">1200: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1201">1201: </a><font color="#B22222">+ map - the mapping between local numbering and global numbering</font>
<a name="line1202">1202: </a><font color="#B22222">. nrows - the number of rows indicated</font>
<a name="line1203">1203: </a><font color="#B22222">. rows - the indices of the rows</font>
<a name="line1204">1204: </a><font color="#B22222">. ncols - the number of columns in the matrix</font>
<a name="line1205">1205: </a><font color="#B22222">. cols - the columns indicated</font>
<a name="line1206">1206: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1207">1207: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1209">1209: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1211">1211: </a><font color="#B22222"> Notes:</font>
<a name="line1212">1212: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1213">1213: </a><font color="#B22222"> the use of this routine</font>
<a name="line1215">1215: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz` that is handled internally by these routines</font>
<a name="line1217">1217: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`</font>
<a name="line1218">1218: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`</font>
<a name="line1219">1219: </a><font color="#B22222">M*/</font>
<a name="line1220">1220: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>(map, nrows, rows, ncols, cols, dnz, onz) \</font></strong>
<a name="line1221">1221: </a><strong><font color="#228B22"> PetscMacroReturnStandard(<a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApplyBlock.html">ISLocalToGlobalMappingApplyBlock</a>(map, nrows, rows, rows)); <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/IS/ISLocalToGlobalMappingApplyBlock.html">ISLocalToGlobalMappingApplyBlock</a>(map, ncols, cols, cols)); for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __l = 0; __l < nrows; __l++) <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>((rows)[__l], ncols, cols, dnz, onz));)</font></strong>
<a name="line1223">1223: </a><font color="#B22222">/*MC</font>
<a name="line1224">1224: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1225">1225: </a><font color="#B22222"> inserted using a local number of the rows and columns</font>
<a name="line1227">1227: </a><font color="#B22222"> Synopsis:</font>
<a name="line1228">1228: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1229">1229: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1231">1231: </a><font color="#B22222"> Not Collective</font>
<a name="line1233">1233: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1234">1234: </a><font color="#B22222">+ row - the row</font>
<a name="line1235">1235: </a><font color="#B22222">. ncols - the number of columns in the matrix</font>
<a name="line1236">1236: </a><font color="#B22222">- cols - the columns indicated</font>
<a name="line1238">1238: </a><font color="#B22222"> Output Parameters:</font>
<a name="line1239">1239: </a><font color="#B22222">+ dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1240">1240: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1242">1242: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1244">1244: </a><font color="#B22222"> Notes:</font>
<a name="line1245">1245: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1246">1246: </a><font color="#B22222"> the use of this routine</font>
<a name="line1248">1248: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz` that is handled internally by these routines</font>
<a name="line1250">1250: </a><font color="#B22222"> This is a MACRO, not a function, because it uses variables declared in <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>().</font>
<a name="line1252">1252: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`</font>
<a name="line1253">1253: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`</font>
<a name="line1254">1254: </a><font color="#B22222">M*/</font>
<a name="line1255">1255: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>(row, nc, cols, dnz, onz) \</font></strong>
<a name="line1256">1256: </a><strong><font color="#228B22"> PetscMacroReturnStandard(<a href="../manualpages/Sys/PetscCheck.html">PetscCheck</a>(row >= __rstart, <a href="../manualpages/Sys/PETSC_COMM_SELF.html">PETSC_COMM_SELF</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PETSC_ERR_ARG_OUTOFRANGE</a>, </font><font color="#666666">"Trying to set preallocation for row %"</font><font color="#228B22"> PetscInt_FMT </font><font color="#666666">" less than first local row %"</font><font color="#228B22"> PetscInt_FMT, row, __rstart); <a href="../manualpages/Sys/PetscCheck.html">PetscCheck</a>(row < __rstart + __nrows, <a href="../manualpages/Sys/PETSC_COMM_SELF.html">PETSC_COMM_SELF</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PETSC_ERR_ARG_OUTOFRANGE</a>, </font><font color="#666666">"Trying to set preallocation for row %"</font><font color="#228B22"> PetscInt_FMT </font><font color="#666666">" greater than last local row %"</font><font color="#228B22"> PetscInt_FMT, row, __rstart + __nrows - 1); for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __i = 0; __i < nc; ++__i) { \</font></strong>
<a name="line1257">1257: </a><strong><font color="#228B22"> if ((cols)[__i] < __start || (cols)[__i] >= __end) onz[row - __rstart]++; \</font></strong>
<a name="line1258">1258: </a><strong><font color="#228B22"> else if (dnz[row - __rstart] < __ncols) dnz[row - __rstart]++; \</font></strong>
<a name="line1259">1259: </a><strong><font color="#228B22"> })</font></strong>
<a name="line1261">1261: </a><font color="#B22222">/*MC</font>
<a name="line1262">1262: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a> - Indicates the locations (rows and columns) in the matrix where nonzeros will be</font>
<a name="line1263">1263: </a><font color="#B22222"> inserted using a local number of the rows and columns</font>
<a name="line1265">1265: </a><font color="#B22222"> Synopsis:</font>
<a name="line1266">1266: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1267">1267: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> nrows, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *rows,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1269">1269: </a><font color="#B22222"> Not Collective</font>
<a name="line1271">1271: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1272">1272: </a><font color="#B22222">+ nrows - the number of rows indicated</font>
<a name="line1273">1273: </a><font color="#B22222">. rows - the indices of the rows</font>
<a name="line1274">1274: </a><font color="#B22222">. ncols - the number of columns in the matrix</font>
<a name="line1275">1275: </a><font color="#B22222">. cols - the columns indicated</font>
<a name="line1276">1276: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1277">1277: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1279">1279: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1281">1281: </a><font color="#B22222"> Notes:</font>
<a name="line1282">1282: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1283">1283: </a><font color="#B22222"> the use of this routine</font>
<a name="line1285">1285: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz` that is handled internally by these routines</font>
<a name="line1287">1287: </a><font color="#B22222"> This is a MACRO, not a function, because it uses variables declared in <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>().</font>
<a name="line1289">1289: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`,</font>
<a name="line1290">1290: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`</font>
<a name="line1291">1291: </a><font color="#B22222">M*/</font>
<a name="line1292">1292: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>(row, nc, cols, dnz, onz) \</font></strong>
<a name="line1293">1293: </a><strong><font color="#228B22"> PetscMacroReturnStandard(for (<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> __i = 0; __i < nc; __i++) { \</font></strong>
<a name="line1294">1294: </a><strong><font color="#228B22"> if (cols[__i] >= __end) onz[row - __rstart]++; \</font></strong>
<a name="line1295">1295: </a><strong><font color="#228B22"> else if (cols[__i] >= row && dnz[row - __rstart] < __ncols) dnz[row - __rstart]++; \</font></strong>
<a name="line1296">1296: </a><strong><font color="#228B22"> })</font></strong>
<a name="line1298">1298: </a><font color="#B22222">/*MC</font>
<a name="line1299">1299: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateLocation.html">MatPreallocateLocation</a> - An alternative to <a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>() that puts the nonzero locations into the matrix if it exists</font>
<a name="line1301">1301: </a><font color="#B22222"> Synopsis:</font>
<a name="line1302">1302: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1303">1303: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPreallocateLocations(<a href="../manualpages/Mat/Mat.html">Mat</a> A,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> row,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> ncols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *cols,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz,<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1305">1305: </a><font color="#B22222"> Not Collective</font>
<a name="line1307">1307: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1308">1308: </a><font color="#B22222">+ A - matrix</font>
<a name="line1309">1309: </a><font color="#B22222">. row - row where values exist (must be local to this process)</font>
<a name="line1310">1310: </a><font color="#B22222">. ncols - number of columns</font>
<a name="line1311">1311: </a><font color="#B22222">. cols - columns with nonzeros</font>
<a name="line1312">1312: </a><font color="#B22222">. dnz - the array that will be passed to the matrix preallocation routines</font>
<a name="line1313">1313: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1315">1315: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1317">1317: </a><font color="#B22222"> Notes:</font>
<a name="line1318">1318: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1319">1319: </a><font color="#B22222"> the use of this routine</font>
<a name="line1321">1321: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz` that is handled internally by these routines</font>
<a name="line1323">1323: </a><font color="#B22222"> Developer Note:</font>
<a name="line1324">1324: </a><font color="#B22222"> This is a MACRO, not a function, because it uses a bunch of variables private to the MatPreallocation.... routines.</font>
<a name="line1326">1326: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`,</font>
<a name="line1327">1327: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`</font>
<a name="line1328">1328: </a><font color="#B22222">M*/</font>
<a name="line1329">1329: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateLocation.html">MatPreallocateLocation</a>(A, row, ncols, cols, dnz, onz) (A ? <a href="../manualpages/Mat/MatSetValues.html">MatSetValues</a>(A, 1, &row, ncols, cols, NULL, <a href="../manualpages/Sys/INSERT_VALUES.html">INSERT_VALUES</a>) : <a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>(row, ncols, cols, dnz, onz))</font></strong>
<a name="line1331">1331: </a><font color="#B22222">/*MC</font>
<a name="line1332">1332: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a> - Ends the block of code that will count the number of nonzeros per</font>
<a name="line1333">1333: </a><font color="#B22222"> row in a matrix providing the data that one can use to correctly preallocate the matrix.</font>
<a name="line1335">1335: </a><font color="#B22222"> Synopsis:</font>
<a name="line1336">1336: </a>#include <A href="../include/petscmat.h.html"><petscmat.h></A>
<a name="line1337">1337: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *dnz, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *onz)</font>
<a name="line1339">1339: </a><font color="#B22222"> Collective</font>
<a name="line1341">1341: </a><font color="#B22222"> Input Parameters:</font>
<a name="line1342">1342: </a><font color="#B22222">+ dnz - the array that was be passed to the matrix preallocation routines</font>
<a name="line1343">1343: </a><font color="#B22222">- onz - the other array passed to the matrix preallocation routines</font>
<a name="line1345">1345: </a><font color="#B22222"> Level: deprecated (since v3.19)</font>
<a name="line1347">1347: </a><font color="#B22222"> Notes:</font>
<a name="line1348">1348: </a><font color="#B22222"> This routine is no longer needed since assembling matrices without explicit preallocation will not be slower than</font>
<a name="line1349">1349: </a><font color="#B22222"> the use of this routine</font>
<a name="line1351">1351: </a><font color="#B22222"> Do not malloc or free `dnz` and `onz`, that is handled internally by these routines</font>
<a name="line1353">1353: </a><font color="#B22222"> Developer Note:</font>
<a name="line1354">1354: </a><font color="#B22222"> This is a MACRO, not a function, because it closes the { started in <a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>().</font>
<a name="line1356">1356: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatPreallocateBegin.html">MatPreallocateBegin</a>()`, `<a href="../manualpages/Mat/MatPreallocateSet.html">MatPreallocateSet</a>()`, `<a href="../manualpages/Mat/MatPreallocateSymmetricSetBlock.html">MatPreallocateSymmetricSetBlock</a>()`, `<a href="../manualpages/Mat/MatPreallocateSetLocal.html">MatPreallocateSetLocal</a>()`,</font>
<a name="line1357">1357: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPreallocateSymmetricSetLocalBlock.html">MatPreallocateSymmetricSetLocalBlock</a>()`</font>
<a name="line1358">1358: </a><font color="#B22222">M*/</font>
<a name="line1359">1359: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>(dnz, onz) \</font></strong>
<a name="line1360">1360: </a><strong><font color="#228B22"> <a href="../manualpages/Sys/PetscCall.html">PetscCall</a>(<a href="../manualpages/Sys/PetscFree2.html">PetscFree2</a>(dnz, onz)); \</font></strong>
<a name="line1361">1361: </a><strong><font color="#228B22"> } \</font></strong>
<a name="line1362">1362: </a><strong><font color="#228B22"> while (0)</font></strong>
<a name="line1364">1364: </a><strong><font color="#228B22">#define MatPreallocateFinalize(...) PETSC_DEPRECATED_MACRO(3, 18, 0, </font><font color="#666666">"<a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>()"</font><font color="#228B22">, ) <a href="../manualpages/Mat/MatPreallocateEnd.html">MatPreallocateEnd</a>(__VA_ARGS__)</font></strong>
<a name="line1366">1366: </a><font color="#B22222">/* Routines unique to particular data structures */</font>
<a name="line1367">1367: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellGetContext.html">MatShellGetContext</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, void *)</font></strong>;
<a name="line1369">1369: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatInodeAdjustForInodes(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1370">1370: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatInodeGetInodeSizes.html">MatInodeGetInodeSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1372">1372: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJSetColumnIndices.html">MatSeqAIJSetColumnIndices</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1373">1373: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqBAIJSetColumnIndices.html">MatSeqBAIJSetColumnIndices</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1374">1374: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJWithArrays.html">MatCreateSeqAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1375">1375: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqBAIJWithArrays.html">MatCreateSeqBAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1376">1376: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqSBAIJWithArrays.html">MatCreateSeqSBAIJWithArrays</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1377">1377: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJFromTriple.html">MatCreateSeqAIJFromTriple</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Sys/PetscCount.html">PetscCount</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line1379">1379: </a><strong><font color="#228B22">#define MAT_SKIP_ALLOCATION -4</font></strong>
<a name="line1381">1381: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqBAIJSetPreallocation.html">MatSeqBAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1382">1382: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSBAIJSetPreallocation.html">MatSeqSBAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1383">1383: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJSetPreallocation.html">MatSeqAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1384">1384: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJSetTotalPreallocation.html">MatSeqAIJSetTotalPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1386">1386: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIBAIJSetPreallocation.html">MatMPIBAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1387">1387: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPISBAIJSetPreallocation.html">MatMPISBAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1388">1388: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJSetPreallocation.html">MatMPIAIJSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1389">1389: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJSetPreallocationCSR.html">MatSeqAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1390">1390: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqBAIJSetPreallocationCSR.html">MatSeqBAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1391">1391: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJSetPreallocationCSR.html">MatMPIAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1392">1392: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIBAIJSetPreallocationCSR.html">MatMPIBAIJSetPreallocationCSR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1393">1393: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAdjSetPreallocation.html">MatMPIAdjSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1394">1394: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAdjToSeq.html">MatMPIAdjToSeq</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1395">1395: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAdjToSeqRankZero.html">MatMPIAdjToSeqRankZero</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1396">1396: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIDenseSetPreallocation.html">MatMPIDenseSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1397">1397: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqDenseSetPreallocation.html">MatSeqDenseSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line1398">1398: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAIJGetSeqAIJ.html">MatMPIAIJGetSeqAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line1399">1399: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatMPIBAIJGetSeqBAIJ(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line1400">1400: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIAdjCreateNonemptySubcommMat.html">MatMPIAdjCreateNonemptySubcommMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1402">1402: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetLDA.html">MatDenseGetLDA</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1403">1403: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseSetLDA.html">MatDenseSetLDA</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1404">1404: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/Mat/MatDenseSetLDA.html">MatDenseSetLDA</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSeqDenseSetLDA(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> lda)
<a name="line1405">1405: </a>{
<a name="line1406">1406: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatDenseSetLDA.html">MatDenseSetLDA</a>(A, lda);
<a name="line1407">1407: </a>}
<a name="line1408">1408: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseGetLocalMatrix.html">MatDenseGetLocalMatrix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1410">1410: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatBlockMatSetPreallocation.html">MatBlockMatSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1412">1412: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatStoreValues.html">MatStoreValues</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1413">1413: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRetrieveValues.html">MatRetrieveValues</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1415">1415: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFindNonzeroRows.html">MatFindNonzeroRows</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1416">1416: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFindZeroRows.html">MatFindZeroRows</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1417">1417: </a><font color="#B22222">/*</font>
<a name="line1418">1418: </a><font color="#B22222"> These routines are not usually accessed directly, rather solving is</font>
<a name="line1419">1419: </a><font color="#B22222"> done through the <a href="../manualpages/KSP/KSP.html">KSP</a> and <a href="../manualpages/PC/PC.html">PC</a> interfaces.</font>
<a name="line1420">1420: </a><font color="#B22222">*/</font>
<a name="line1422">1422: </a><font color="#B22222">/*J</font>
<a name="line1423">1423: </a><font color="#B22222"> <a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a> - String with the name of a PETSc matrix ordering. These orderings are most commonly used</font>
<a name="line1424">1424: </a><font color="#B22222"> to reduce fill in sparse factorizations.</font>
<a name="line1426">1426: </a><font color="#B22222"> Level: beginner</font>
<a name="line1428">1428: </a><font color="#B22222"> Notes:</font>
<a name="line1429">1429: </a><font color="#B22222"> If `MATORDERINGEXTERNAL` is used then PETSc does not compute an ordering and instead the external factorization solver package called utilizes one</font>
<a name="line1430">1430: </a><font color="#B22222"> of its own.</font>
<a name="line1432">1432: </a><font color="#B22222"> There is no `MatOrdering` object, the ordering is obtained directly from the matrix with `<a href="../manualpages/MatGraphOperations/MatGetOrdering.html">MatGetOrdering</a>()`</font>
<a name="line1434">1434: </a><font color="#B22222"> Developer Note:</font>
<a name="line1435">1435: </a><font color="#B22222"> This API should be converted to an API similar to those for `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>` and `<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>`</font>
<a name="line1437">1437: </a><font color="#B22222">.seealso: [](ch_matrices), [](sec_graph), `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/MatGraphOperations/MatGetOrdering.html">MatGetOrdering</a>()`, `<a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a>`, `<a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a>`, `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`, `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`,</font>
<a name="line1438">1438: </a><font color="#B22222"> `PCFactorSetOrderingType()`</font>
<a name="line1439">1439: </a><font color="#B22222">J*/</font>
<a name="line1440">1440: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>;</font>
<a name="line1441">1441: </a><strong><font color="#228B22">#define MATORDERINGNATURAL </font><font color="#666666">"natural"</font><font color="#228B22"></font></strong>
<a name="line1442">1442: </a><strong><font color="#228B22">#define MATORDERINGND </font><font color="#666666">"nd"</font><font color="#228B22"></font></strong>
<a name="line1443">1443: </a><strong><font color="#228B22">#define MATORDERING1WD </font><font color="#666666">"1wd"</font><font color="#228B22"></font></strong>
<a name="line1444">1444: </a><strong><font color="#228B22">#define MATORDERINGRCM </font><font color="#666666">"rcm"</font><font color="#228B22"></font></strong>
<a name="line1445">1445: </a><strong><font color="#228B22">#define MATORDERINGQMD </font><font color="#666666">"qmd"</font><font color="#228B22"></font></strong>
<a name="line1446">1446: </a><strong><font color="#228B22">#define MATORDERINGROWLENGTH </font><font color="#666666">"rowlength"</font><font color="#228B22"></font></strong>
<a name="line1447">1447: </a><strong><font color="#228B22">#define MATORDERINGWBM </font><font color="#666666">"wbm"</font><font color="#228B22"></font></strong>
<a name="line1448">1448: </a><strong><font color="#228B22">#define MATORDERINGSPECTRAL </font><font color="#666666">"spectral"</font><font color="#228B22"></font></strong>
<a name="line1449">1449: </a><strong><font color="#228B22">#define MATORDERINGAMD </font><font color="#666666">"amd"</font><font color="#228B22"> </font><font color="#B22222">/* only works if UMFPACK is installed with PETSc */</font><font color="#228B22"></font></strong>
<a name="line1450">1450: </a><strong><font color="#228B22">#define MATORDERINGMETISND </font><font color="#666666">"metisnd"</font><font color="#228B22"> </font><font color="#B22222">/* only works if METIS is installed with PETSc */</font><font color="#228B22"></font></strong>
<a name="line1451">1451: </a><strong><font color="#228B22">#define MATORDERINGNATURAL_OR_ND </font><font color="#666666">"natural_or_nd"</font><font color="#228B22"> </font><font color="#B22222">/* special coase used for Cholesky and ICC, allows ND when AIJ matrix is used but Natural when SBAIJ is used */</font><font color="#228B22"></font></strong>
<a name="line1452">1452: </a><strong><font color="#228B22">#define MATORDERINGEXTERNAL </font><font color="#666666">"external"</font><font color="#228B22"> </font><font color="#B22222">/* uses an ordering type internal to the factorization package */</font><font color="#228B22"></font></strong>
<a name="line1454">1454: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatGetOrdering.html">MatGetOrdering</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1455">1455: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatGetOrderingList(<a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> *)</font></strong>;
<a name="line1456">1456: </a><strong><font color="#4169E1"><a name="MatOrderingRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatOrderingRegister.html">MatOrderingRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>, <a href="../manualpages/IS/IS.html">IS</a> *, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>);
<a name="line1457">1457: </a>PETSC_EXTERN <a href="../manualpages/Sys/PetscFunctionList.html">PetscFunctionList</a> MatOrderingList;
<a name="line1459">1459: </a><font color="#A020F0">#include </font><font color="#666666">"petscmatcoarsen.h"</font><font color="#A020F0"></font>
<a name="line1461">1461: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatReorderForNonzeroDiagonal.html">MatReorderForNonzeroDiagonal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>)</font></strong>;
<a name="line1462">1462: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatCreateLaplacian.html">MatCreateLaplacian</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1464">1464: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetPreferredOrdering.html">MatFactorGetPreferredOrdering</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFactorType.html">MatFactorType</a>, <a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a> *)</font></strong>;
<a name="line1466">1466: </a><font color="#B22222">/*S</font>
<a name="line1467">1467: </a><font color="#B22222"> <a href="../manualpages/Mat/MatFactorShiftType.html">MatFactorShiftType</a> - Type of numeric shift used for factorizations</font>
<a name="line1469">1469: </a><font color="#B22222"> Values:</font>
<a name="line1470">1470: </a><font color="#B22222">+ `MAT_SHIFT_NONE` - do not shift the matrix diagonal entries</font>
<a name="line1471">1471: </a><font color="#B22222">. `MAT_SHIFT_NONZERO` - shift the entries to be non-zero</font>
<a name="line1472">1472: </a><font color="#B22222">. `MAT_SHIFT_POSITIVE_DEFINITE` - shift the entries to force the factorization to be positive definite</font>
<a name="line1473">1473: </a><font color="#B22222">- `MAT_SHIFT_INBLOCKS` - only shift the factors inside the small dense diagonal blocks of the matrix, for example with `<a href="../manualpages/Mat/MATBAIJ.html">MATBAIJ</a>`</font>
<a name="line1475">1475: </a><font color="#B22222"> Level: intermediate</font>
<a name="line1477">1477: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/PC/PCFactorSetShiftType.html">PCFactorSetShiftType</a>()`</font>
<a name="line1478">1478: </a><font color="#B22222">S*/</font>
<a name="line1479">1479: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1480">1480: </a> MAT_SHIFT_NONE,
<a name="line1481">1481: </a> MAT_SHIFT_NONZERO,
<a name="line1482">1482: </a> MAT_SHIFT_POSITIVE_DEFINITE,
<a name="line1483">1483: </a> MAT_SHIFT_INBLOCKS
<a name="line1484">1484: </a>} <a href="../manualpages/Mat/MatFactorShiftType.html">MatFactorShiftType</a>;
<a name="line1485">1485: </a>PETSC_EXTERN const char *const MatFactorShiftTypes[];
<a name="line1486">1486: </a>PETSC_EXTERN const char *const MatFactorShiftTypesDetail[];
<a name="line1488">1488: </a><font color="#B22222">/*S</font>
<a name="line1489">1489: </a><font color="#B22222"> <a href="../manualpages/Mat/MatFactorError.html">MatFactorError</a> - indicates what type of error was generated in a matrix factorization</font>
<a name="line1491">1491: </a><font color="#B22222"> Values:</font>
<a name="line1492">1492: </a><font color="#B22222">+ `MAT_FACTOR_NOERROR` - there was no error during the factorization</font>
<a name="line1493">1493: </a><font color="#B22222">. `MAT_FACTOR_STRUCT_ZEROPIVOT` - there was a missing entry in a diagonal location of the matrix</font>
<a name="line1494">1494: </a><font color="#B22222">. `MAT_FACTOR_NUMERIC_ZEROPIVOT` - there was a (near) zero pivot during the factorization</font>
<a name="line1495">1495: </a><font color="#B22222">. `MAT_FACTOR_OUTMEMORY` - the factorization has run out of memory</font>
<a name="line1496">1496: </a><font color="#B22222">- `MAT_FACTOR_OTHER` - some other error has occurred.</font>
<a name="line1498">1498: </a><font color="#B22222"> Level: intermediate</font>
<a name="line1500">1500: </a><font color="#B22222"> Note:</font>
<a name="line1501">1501: </a><font color="#B22222"> When a factorization is done in a preconditioner `<a href="../manualpages/PC/PC.html">PC</a>` the error may be propagated up to a `<a href="../manualpages/PC/PCFailedReason.html">PCFailedReason</a>` or a `<a href="../manualpages/KSP/KSPConvergedReason.html">KSPConvergedReason</a>`</font>
<a name="line1503">1503: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/Mat/MatFactorGetError.html">MatFactorGetError</a>()`, `<a href="../manualpages/Mat/MatFactorGetErrorZeroPivot.html">MatFactorGetErrorZeroPivot</a>()`, `<a href="../manualpages/Mat/MatFactorClearError.html">MatFactorClearError</a>()`,</font>
<a name="line1504">1504: </a><font color="#B22222"> `<a href="../manualpages/PC/PCFailedReason.html">PCFailedReason</a>`, `<a href="../manualpages/PC/PCGetFailedReason.html">PCGetFailedReason</a>()`, `<a href="../manualpages/KSP/KSPConvergedReason.html">KSPConvergedReason</a>`</font>
<a name="line1505">1505: </a><font color="#B22222">S*/</font>
<a name="line1506">1506: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1507">1507: </a> MAT_FACTOR_NOERROR,
<a name="line1508">1508: </a> MAT_FACTOR_STRUCT_ZEROPIVOT,
<a name="line1509">1509: </a> MAT_FACTOR_NUMERIC_ZEROPIVOT,
<a name="line1510">1510: </a> MAT_FACTOR_OUTMEMORY,
<a name="line1511">1511: </a> MAT_FACTOR_OTHER
<a name="line1512">1512: </a>} <a href="../manualpages/Mat/MatFactorError.html">MatFactorError</a>;
<a name="line1514">1514: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetError.html">MatFactorGetError</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFactorError.html">MatFactorError</a> *)</font></strong>;
<a name="line1515">1515: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorClearError.html">MatFactorClearError</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1516">1516: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetErrorZeroPivot.html">MatFactorGetErrorZeroPivot</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1518">1518: </a><font color="#B22222">/*S</font>
<a name="line1519">1519: </a><font color="#B22222"> <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> - Data passed into the matrix factorization routines, and information about the resulting factorization</font>
<a name="line1521">1521: </a><font color="#B22222"> Level: developer</font>
<a name="line1523">1523: </a><font color="#B22222"> Note:</font>
<a name="line1524">1524: </a><font color="#B22222"> You can use `<a href="../manualpages/Mat/MatFactorInfoInitialize.html">MatFactorInfoInitialize</a>()` to set default values.</font>
<a name="line1526">1526: </a><font color="#B22222"> Fortran Note:</font>
<a name="line1527">1527: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a>` is a derived type, use e.g. `matfactorinfo%dt` to access its components.</font>
<a name="line1529">1529: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatInfo.html">MatInfo</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/Mat/MatLUFactorSymbolic.html">MatLUFactorSymbolic</a>()`, `<a href="../manualpages/Mat/MatILUFactorSymbolic.html">MatILUFactorSymbolic</a>()`, `<a href="../manualpages/Mat/MatCholeskyFactorSymbolic.html">MatCholeskyFactorSymbolic</a>()`,</font>
<a name="line1530">1530: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatICCFactorSymbolic.html">MatICCFactorSymbolic</a>()`, `<a href="../manualpages/Mat/MatICCFactor.html">MatICCFactor</a>()`, `<a href="../manualpages/Mat/MatFactorInfoInitialize.html">MatFactorInfoInitialize</a>()`</font>
<a name="line1531">1531: </a><font color="#B22222">S*/</font>
<a name="line1532">1532: </a><font color="#4169E1">typedef</font> <font color="#4169E1">struct</font> {
<a name="line1533">1533: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> diagonal_fill; <font color="#B22222">/* force diagonal to fill in if initially not filled */</font>
<a name="line1534">1534: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> usedt;
<a name="line1535">1535: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> dt; <font color="#B22222">/* drop tolerance */</font>
<a name="line1536">1536: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> dtcol; <font color="#B22222">/* tolerance for pivoting */</font>
<a name="line1537">1537: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> dtcount; <font color="#B22222">/* maximum nonzeros to be allowed per row */</font>
<a name="line1538">1538: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> fill; <font color="#B22222">/* expected fill, nonzeros in factored matrix/nonzeros in original matrix */</font>
<a name="line1539">1539: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> levels; <font color="#B22222">/* ICC/ILU(levels) */</font>
<a name="line1540">1540: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> pivotinblocks; <font color="#B22222">/* BAIJ and SBAIJ matrices pivot in factorization on blocks, default 1.0 factorization may be faster if do not pivot */</font>
<a name="line1541">1541: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> zeropivot; <font color="#B22222">/* pivot is called zero if less than this */</font>
<a name="line1542">1542: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> shifttype; <font color="#B22222">/* type of shift added to matrix factor to prevent zero pivots */</font>
<a name="line1543">1543: </a> <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> shiftamount; <font color="#B22222">/* how large the shift is */</font>
<a name="line1544">1544: </a> <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> factoronhost; <font color="#B22222">/* do factorization on host instead of device (for device matrix types) */</font>
<a name="line1545">1545: </a> <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> solveonhost; <font color="#B22222">/* do mat solve on host with the factor (for device matrix types) */</font>
<a name="line1546">1546: </a>} <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a>;
<a name="line1548">1548: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorInfoInitialize.html">MatFactorInfoInitialize</a>(<a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1549">1549: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCholeskyFactor.html">MatCholeskyFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1550">1550: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCholeskyFactorSymbolic.html">MatCholeskyFactorSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1551">1551: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCholeskyFactorNumeric.html">MatCholeskyFactorNumeric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1552">1552: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLUFactor.html">MatLUFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1553">1553: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatILUFactor.html">MatILUFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1554">1554: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLUFactorSymbolic.html">MatLUFactorSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1555">1555: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatILUFactorSymbolic.html">MatILUFactorSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1556">1556: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatICCFactorSymbolic.html">MatICCFactorSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1557">1557: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatICCFactor.html">MatICCFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1558">1558: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatLUFactorNumeric.html">MatLUFactorNumeric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1559">1559: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatQRFactor.html">MatQRFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1560">1560: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatQRFactorSymbolic.html">MatQRFactorSymbolic</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1561">1561: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatQRFactorNumeric.html">MatQRFactorNumeric</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Mat/MatFactorInfo.html">MatFactorInfo</a> *)</font></strong>;
<a name="line1562">1562: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetInertia.html">MatGetInertia</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1563">1563: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolve.html">MatSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1564">1564: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatForwardSolve.html">MatForwardSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1565">1565: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatBackwardSolve.html">MatBackwardSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1566">1566: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolveAdd.html">MatSolveAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1567">1567: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolveTranspose.html">MatSolveTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1568">1568: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolveTransposeAdd.html">MatSolveTransposeAdd</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1569">1569: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSolves.html">MatSolves</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vecs.html">Vecs</a>, <a href="../manualpages/Vec/Vecs.html">Vecs</a>)</font></strong>;
<a name="line1570">1570: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetUnfactored.html">MatSetUnfactored</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1572">1572: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1573">1573: </a> MAT_FACTOR_SCHUR_UNFACTORED,
<a name="line1574">1574: </a> MAT_FACTOR_SCHUR_FACTORED,
<a name="line1575">1575: </a> MAT_FACTOR_SCHUR_INVERTED
<a name="line1576">1576: </a>} MatFactorSchurStatus;
<a name="line1577">1577: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorSetSchurIS.html">MatFactorSetSchurIS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>)</font></strong>;
<a name="line1578">1578: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorGetSchurComplement.html">MatFactorGetSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, MatFactorSchurStatus *)</font></strong>;
<a name="line1579">1579: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorRestoreSchurComplement.html">MatFactorRestoreSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, MatFactorSchurStatus)</font></strong>;
<a name="line1580">1580: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorInvertSchurComplement.html">MatFactorInvertSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1581">1581: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorCreateSchurComplement.html">MatFactorCreateSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *, MatFactorSchurStatus *)</font></strong>;
<a name="line1582">1582: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorSolveSchurComplement.html">MatFactorSolveSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1583">1583: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorSolveSchurComplementTranspose.html">MatFactorSolveSchurComplementTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1584">1584: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFactorFactorizeSchurComplement.html">MatFactorFactorizeSchurComplement</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1586">1586: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSeqDenseInvert(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1587">1587: </a><font color="#B22222">/*E</font>
<a name="line1588">1588: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSORType.html">MatSORType</a> - What type of (S)SOR to perform</font>
<a name="line1590">1590: </a><font color="#B22222"> Values:</font>
<a name="line1591">1591: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatSORType.html">SOR_FORWARD_SWEEP</a>` - do a sweep from the first row of the matrix to the last</font>
<a name="line1592">1592: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_BACKWARD_SWEEP</a>` - do a sweep from the last row to the first</font>
<a name="line1593">1593: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_SYMMETRIC_SWEEP</a>` - do a sweep from the first row to the last and then back to the first</font>
<a name="line1594">1594: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_FORWARD_SWEEP</a>` - each MPI process does its own forward sweep with no communication</font>
<a name="line1595">1595: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_BACKWARD_SWEEP</a>` - each MPI process does its own backward sweep with no communication</font>
<a name="line1596">1596: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_SYMMETRIC_SWEEP</a>` - each MPI process does its own symmetric sweep with no communication</font>
<a name="line1597">1597: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_ZERO_INITIAL_GUESS</a>` - indicates the initial solution is zero so the sweep can avoid unneeded computation</font>
<a name="line1598">1598: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_EISENSTAT</a>` - apply the Eisentat application of SOR, see `<a href="../manualpages/PC/PCEISENSTAT.html">PCEISENSTAT</a>`</font>
<a name="line1599">1599: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSORType.html">SOR_APPLY_UPPER</a>` - multiply by the upper triangular portion of the matrix</font>
<a name="line1600">1600: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatSORType.html">SOR_APPLY_LOWER</a>` - multiply by the lower triangular portion of the matrix</font>
<a name="line1602">1602: </a><font color="#B22222"> Level: beginner</font>
<a name="line1604">1604: </a><font color="#B22222"> Note:</font>
<a name="line1605">1605: </a><font color="#B22222"> These may be bitwise ORd together</font>
<a name="line1607">1607: </a><font color="#B22222"> Developer Note:</font>
<a name="line1608">1608: </a><font color="#B22222"> Since `<a href="../manualpages/Mat/MatSORType.html">MatSORType</a>` may be bitwise ORd together, so do not change the numerical values below</font>
<a name="line1610">1610: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatSOR.html">MatSOR</a>()`</font>
<a name="line1611">1611: </a><font color="#B22222">E*/</font>
<a name="line1612">1612: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1613">1613: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_FORWARD_SWEEP</a> = 1,
<a name="line1614">1614: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_BACKWARD_SWEEP</a> = 2,
<a name="line1615">1615: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_SYMMETRIC_SWEEP</a> = 3,
<a name="line1616">1616: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_FORWARD_SWEEP</a> = 4,
<a name="line1617">1617: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_BACKWARD_SWEEP</a> = 8,
<a name="line1618">1618: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_LOCAL_SYMMETRIC_SWEEP</a> = 12,
<a name="line1619">1619: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_ZERO_INITIAL_GUESS</a> = 16,
<a name="line1620">1620: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_EISENSTAT</a> = 32,
<a name="line1621">1621: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_APPLY_UPPER</a> = 64,
<a name="line1622">1622: </a> <a href="../manualpages/Mat/MatSORType.html">SOR_APPLY_LOWER</a> = 128
<a name="line1623">1623: </a>} <a href="../manualpages/Mat/MatSORType.html">MatSORType</a>;
<a name="line1624">1624: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSOR.html">MatSOR</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/MatSORType.html">MatSORType</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1626">1626: </a><font color="#B22222">/*S</font>
<a name="line1627">1627: </a><font color="#B22222"> <a href="../manualpages/Mat/MatColoring.html">MatColoring</a> - Object for managing the coloring of matrices.</font>
<a name="line1629">1629: </a><font color="#B22222"> Level: beginner</font>
<a name="line1631">1631: </a><font color="#B22222"> Notes:</font>
<a name="line1632">1632: </a><font color="#B22222"> Coloring of matrices can be computed directly from the sparse matrix nonzero structure via the `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>` object or from the mesh from which the</font>
<a name="line1633">1633: </a><font color="#B22222"> matrix comes from via `<a href="../manualpages/DM/DMCreateColoring.html">DMCreateColoring</a>()`. In general using the mesh produces a more optimal coloring (fewer colors).</font>
<a name="line1635">1635: </a><font color="#B22222"> Once a coloring is available `<a href="../manualpages/MatFD/MatFDColoringCreate.html">MatFDColoringCreate</a>()` creates an object that can be used to efficiently compute Jacobians using that coloring. This</font>
<a name="line1636">1636: </a><font color="#B22222"> same object can also be used to efficiently convert data created by Automatic Differentiation tools to PETSc sparse matrices.</font>
<a name="line1638">1638: </a><font color="#B22222">.seealso: [](ch_matrices), [](sec_graph), `<a href="../manualpages/MatFD/MatFDColoringCreate.html">MatFDColoringCreate</a>()`, `<a href="../manualpages/Mat/MatColoringWeightType.html">MatColoringWeightType</a>`, `<a href="../manualpages/IS/ISColoring.html">ISColoring</a>`, `<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>`, `<a href="../manualpages/DM/DMCreateColoring.html">DMCreateColoring</a>()`, `<a href="../manualpages/MatGraphOperations/MatColoringCreate.html">MatColoringCreate</a>()`,</font>
<a name="line1639">1639: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>`, `<a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a>`, `<a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a>`, `<a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>`, `<a href="../manualpages/MatGraphOperations/MatColoringSetWeightType.html">MatColoringSetWeightType</a>()`,</font>
<a name="line1640">1640: </a><font color="#B22222"> `MatColoringSetWeights()`, `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`, `<a href="../manualpages/Mat/MatCoarsen.html">MatCoarsen</a>`</font>
<a name="line1641">1641: </a><font color="#B22222">S*/</font>
<a name="line1642">1642: </a><font color="#4169E1">typedef struct _p_MatColoring *<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>;</font>
<a name="line1644">1644: </a><font color="#B22222">/*J</font>
<a name="line1645">1645: </a><font color="#B22222"> <a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a> - String with the name of a PETSc matrix coloring</font>
<a name="line1647">1647: </a><font color="#B22222"> Level: beginner</font>
<a name="line1649">1649: </a><font color="#B22222">.seealso: [](ch_matrices), [](sec_graph), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/MatFD/MatFDColoringCreate.html">MatFDColoringCreate</a>()`, `<a href="../manualpages/MatGraphOperations/MatColoringSetType.html">MatColoringSetType</a>()`, `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>`</font>
<a name="line1650">1650: </a><font color="#B22222">J*/</font>
<a name="line1651">1651: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a>;</font>
<a name="line1652">1652: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGJP.html">MATCOLORINGJP</a> </font><font color="#666666">"jp"</font><font color="#228B22"></font></strong>
<a name="line1653">1653: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGPOWER.html">MATCOLORINGPOWER</a> </font><font color="#666666">"power"</font><font color="#228B22"></font></strong>
<a name="line1654">1654: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGNATURAL.html">MATCOLORINGNATURAL</a> </font><font color="#666666">"natural"</font><font color="#228B22"></font></strong>
<a name="line1655">1655: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGSL.html">MATCOLORINGSL</a> </font><font color="#666666">"sl"</font><font color="#228B22"></font></strong>
<a name="line1656">1656: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGLF.html">MATCOLORINGLF</a> </font><font color="#666666">"lf"</font><font color="#228B22"></font></strong>
<a name="line1657">1657: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGID.html">MATCOLORINGID</a> </font><font color="#666666">"id"</font><font color="#228B22"></font></strong>
<a name="line1658">1658: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATCOLORINGGREEDY.html">MATCOLORINGGREEDY</a> </font><font color="#666666">"greedy"</font><font color="#228B22"></font></strong>
<a name="line1660">1660: </a><font color="#B22222">/*E</font>
<a name="line1661">1661: </a><font color="#B22222"> <a href="../manualpages/Mat/MatColoringWeightType.html">MatColoringWeightType</a> - Type of weight scheme used for the coloring algorithm</font>
<a name="line1663">1663: </a><font color="#B22222"> Values:</font>
<a name="line1664">1664: </a><font color="#B22222">+ `MAT_COLORING_RANDOM` - Random weights</font>
<a name="line1665">1665: </a><font color="#B22222">. `MAT_COLORING_LEXICAL` - Lexical weighting based upon global numbering.</font>
<a name="line1666">1666: </a><font color="#B22222">- `MAT_COLORING_LF` - Last-first weighting.</font>
<a name="line1668">1668: </a><font color="#B22222"> Level: intermediate</font>
<a name="line1670">1670: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>`, `<a href="../manualpages/MatGraphOperations/MatColoringCreate.html">MatColoringCreate</a>()`, `<a href="../manualpages/MatGraphOperations/MatColoringSetWeightType.html">MatColoringSetWeightType</a>()`, `MatColoringSetWeights()`</font>
<a name="line1671">1671: </a><font color="#B22222">E*/</font>
<a name="line1672">1672: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1673">1673: </a> <a href="../manualpages/Mat/MatColoringWeightType.html">MAT_COLORING_WEIGHT_RANDOM</a>,
<a name="line1674">1674: </a> <a href="../manualpages/Mat/MatColoringWeightType.html">MAT_COLORING_WEIGHT_LEXICAL</a>,
<a name="line1675">1675: </a> <a href="../manualpages/Mat/MatColoringWeightType.html">MAT_COLORING_WEIGHT_LF</a>,
<a name="line1676">1676: </a> <a href="../manualpages/Mat/MatColoringWeightType.html">MAT_COLORING_WEIGHT_SL</a>
<a name="line1677">1677: </a>} <a href="../manualpages/Mat/MatColoringWeightType.html">MatColoringWeightType</a>;
<a name="line1679">1679: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringCreate.html">MatColoringCreate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatColoring.html">MatColoring</a> *)</font></strong>;
<a name="line1680">1680: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatColoringGetDegrees(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1681">1681: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringDestroy.html">MatColoringDestroy</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a> *)</font></strong>;
<a name="line1682">1682: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringView.html">MatColoringView</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line1683">1683: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringSetType.html">MatColoringSetType</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a>)</font></strong>;
<a name="line1684">1684: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringSetFromOptions.html">MatColoringSetFromOptions</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>)</font></strong>;
<a name="line1685">1685: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringSetDistance.html">MatColoringSetDistance</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1686">1686: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringGetDistance.html">MatColoringGetDistance</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1687">1687: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringSetMaxColors.html">MatColoringSetMaxColors</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1688">1688: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringGetMaxColors.html">MatColoringGetMaxColors</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1689">1689: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringApply.html">MatColoringApply</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a> *)</font></strong>;
<a name="line1690">1690: </a><strong><font color="#4169E1"><a name="MatColoringRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringRegister.html">MatColoringRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>)</font></strong>);
<a name="line1691">1691: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatColoringPatch.html">MatColoringPatch</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, ISColoringValue[], <a href="../manualpages/IS/ISColoring.html">ISColoring</a> *)</font></strong>;
<a name="line1692">1692: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatColoringSetWeightType.html">MatColoringSetWeightType</a>(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Mat/MatColoringWeightType.html">MatColoringWeightType</a>)</font></strong>;
<a name="line1693">1693: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatColoringSetWeights(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1694">1694: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatColoringCreateWeights(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> **, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **lperm)</font></strong>;
<a name="line1695">1695: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatColoringTest(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a>)</font></strong>;
<a name="line1696">1696: </a>PETSC_DEPRECATED_FUNCTION(3, 10, 0, <font color="#666666">"MatColoringTest()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatColoringTestValid(<a href="../manualpages/Mat/MatColoring.html">MatColoring</a> matcoloring, <a href="../manualpages/IS/ISColoring.html">ISColoring</a> iscoloring)
<a name="line1697">1697: </a>{
<a name="line1698">1698: </a> <font color="#4169E1">return</font> MatColoringTest(matcoloring, iscoloring);
<a name="line1699">1699: </a>}
<a name="line1700">1700: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatISColoringTest(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a>)</font></strong>;
<a name="line1702">1702: </a><font color="#B22222">/*S</font>
<a name="line1703">1703: </a><font color="#B22222"> <a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a> - Object for computing a sparse Jacobian via finite differences with coloring</font>
<a name="line1705">1705: </a><font color="#B22222"> Level: beginner</font>
<a name="line1707">1707: </a><font color="#B22222"> Notes:</font>
<a name="line1708">1708: </a><font color="#B22222"> This object is creating utilizing a coloring provided by the `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>` object or `<a href="../manualpages/DM/DMCreateColoring.html">DMCreateColoring</a>()`</font>
<a name="line1710">1710: </a><font color="#B22222"> The `<a href="../manualpages/SNES/SNES.html">SNES</a>` option `-snes_fd_coloring` will cause the Jacobian needed by `<a href="../manualpages/SNES/SNES.html">SNES</a>` to be computed via a use of this object</font>
<a name="line1712">1712: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/MatFD/MatFDColoringCreate.html">MatFDColoringCreate</a>()`, `<a href="../manualpages/MatFD/MatFDColoringSetFunction.html">MatFDColoringSetFunction</a>()`, `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>`, `<a href="../manualpages/DM/DMCreateColoring.html">DMCreateColoring</a>()`</font>
<a name="line1713">1713: </a><font color="#B22222">S*/</font>
<a name="line1714">1714: </a><font color="#4169E1">typedef struct _p_MatFDColoring *<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>;</font>
<a name="line1716">1716: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringCreate.html">MatFDColoringCreate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a>, <a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a> *)</font></strong>;
<a name="line1717">1717: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringDestroy.html">MatFDColoringDestroy</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a> *)</font></strong>;
<a name="line1718">1718: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringView.html">MatFDColoringView</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line1719">1719: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetFunction.html">MatFDColoringSetFunction</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void), void *)</font></strong>;
<a name="line1720">1720: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringGetFunction.html">MatFDColoringGetFunction</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (**)(void), void **)</font></strong>;
<a name="line1721">1721: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetParameters.html">MatFDColoringSetParameters</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line1722">1722: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetFromOptions.html">MatFDColoringSetFromOptions</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>)</font></strong>;
<a name="line1723">1723: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringApply.html">MatFDColoringApply</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, void *)</font></strong>;
<a name="line1724">1724: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatFDColoringSetF(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line1725">1725: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringGetPerturbedColumns.html">MatFDColoringGetPerturbedColumns</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *[])</font></strong>;
<a name="line1726">1726: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetUp.html">MatFDColoringSetUp</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a>, <a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>)</font></strong>;
<a name="line1727">1727: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetBlockSize.html">MatFDColoringSetBlockSize</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1728">1728: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFDColoringSetValues.html">MatFDColoringSetValues</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line1730">1730: </a><font color="#B22222">/*S</font>
<a name="line1731">1731: </a><font color="#B22222"> <a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a> - Object for computing a sparse matrix product $C = A*B^T$ via coloring</font>
<a name="line1733">1733: </a><font color="#B22222"> Level: developer</font>
<a name="line1735">1735: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatProductType.html">MatProductType</a>`, `<a href="../manualpages/Mat/MatTransposeColoringCreate.html">MatTransposeColoringCreate</a>()`</font>
<a name="line1736">1736: </a><font color="#B22222">S*/</font>
<a name="line1737">1737: </a><font color="#4169E1">typedef struct _p_MatTransposeColoring *<a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a>;</font>
<a name="line1739">1739: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeColoringCreate.html">MatTransposeColoringCreate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISColoring.html">ISColoring</a>, <a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a> *)</font></strong>;
<a name="line1740">1740: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransColoringApplySpToDen.html">MatTransColoringApplySpToDen</a>(<a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1741">1741: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransColoringApplyDenToSp.html">MatTransColoringApplyDenToSp</a>(<a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1742">1742: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatTransposeColoringDestroy.html">MatTransposeColoringDestroy</a>(<a href="../manualpages/Mat/MatTransposeColoring.html">MatTransposeColoring</a> *)</font></strong>;
<a name="line1744">1744: </a><font color="#B22222">/*S</font>
<a name="line1745">1745: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a> - Object for managing the partitioning of a matrix or graph</font>
<a name="line1747">1747: </a><font color="#B22222"> Level: beginner</font>
<a name="line1749">1749: </a><font color="#B22222"> Note:</font>
<a name="line1750">1750: </a><font color="#B22222"> There is also a `<a href="../manualpages/MatGraphOperations/PetscPartitioner.html">PetscPartitioner</a>` object that provides the same functionality. It can utilize the `<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>` operations</font>
<a name="line1751">1751: </a><font color="#B22222"> via `<a href="../manualpages/MatGraphOperations/PetscPartitionerSetType.html">PetscPartitionerSetType</a>`(p,`<a href="../manualpages/MatGraphOperations/PETSCPARTITIONERMATPARTITIONING.html">PETSCPARTITIONERMATPARTITIONING</a>`)</font>
<a name="line1753">1753: </a><font color="#B22222"> Developer Note:</font>
<a name="line1754">1754: </a><font color="#B22222"> It is an extra maintenance and documentation cost to have two objects with the same functionality. `<a href="../manualpages/MatGraphOperations/PetscPartitioner.html">PetscPartitioner</a>` should be removed</font>
<a name="line1756">1756: </a><font color="#B22222">.seealso: [](ch_matrices), [](sec_graph), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/MatGraphOperations/MatPartitioningCreate.html">MatPartitioningCreate</a>()`, `<a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a>`, `<a href="../manualpages/Mat/MatColoring.html">MatColoring</a>`, `<a href="../manualpages/MatGraphOperations/MatGetOrdering.html">MatGetOrdering</a>()`, `<a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>`,</font>
<a name="line1757">1757: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`, `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`</font>
<a name="line1758">1758: </a><font color="#B22222">S*/</font>
<a name="line1759">1759: </a><font color="#4169E1">typedef struct _p_MatPartitioning *<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>;</font>
<a name="line1761">1761: </a><font color="#B22222">/*J</font>
<a name="line1762">1762: </a><font color="#B22222"> <a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a> - String with the name of a PETSc matrix partitioning</font>
<a name="line1764">1764: </a><font color="#B22222"> Level: beginner</font>
<a name="line1765">1765: </a><font color="#B22222">dm</font>
<a name="line1766">1766: </a><font color="#B22222">.seealso: [](ch_matrices), [](sec_graph), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/MatGraphOperations/MatPartitioningCreate.html">MatPartitioningCreate</a>()`, `<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>`, `<a href="../manualpages/MatGraphOperations/MatPartitioningSetType.html">MatPartitioningSetType</a>()`, `<a href="../manualpages/Mat/MatColoringType.html">MatColoringType</a>`, `<a href="../manualpages/Mat/MatOrderingType.html">MatOrderingType</a>`,</font>
<a name="line1767">1767: </a><font color="#B22222"> `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`, `<a href="../manualpages/Mat/MatCoarsenType.html">MatCoarsenType</a>`</font>
<a name="line1768">1768: </a><font color="#B22222">J*/</font>
<a name="line1769">1769: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a>;</font>
<a name="line1770">1770: </a><strong><font color="#228B22">#define MATPARTITIONINGCURRENT </font><font color="#666666">"current"</font><font color="#228B22"></font></strong>
<a name="line1771">1771: </a><strong><font color="#228B22">#define MATPARTITIONINGAVERAGE </font><font color="#666666">"average"</font><font color="#228B22"></font></strong>
<a name="line1772">1772: </a><strong><font color="#228B22">#define MATPARTITIONINGSQUARE </font><font color="#666666">"square"</font><font color="#228B22"></font></strong>
<a name="line1773">1773: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATPARTITIONINGPARMETIS.html">MATPARTITIONINGPARMETIS</a> </font><font color="#666666">"parmetis"</font><font color="#228B22"></font></strong>
<a name="line1774">1774: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATPARTITIONINGCHACO.html">MATPARTITIONINGCHACO</a> </font><font color="#666666">"chaco"</font><font color="#228B22"></font></strong>
<a name="line1775">1775: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATPARTITIONINGPARTY.html">MATPARTITIONINGPARTY</a> </font><font color="#666666">"party"</font><font color="#228B22"></font></strong>
<a name="line1776">1776: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATPARTITIONINGPTSCOTCH.html">MATPARTITIONINGPTSCOTCH</a> </font><font color="#666666">"ptscotch"</font><font color="#228B22"></font></strong>
<a name="line1777">1777: </a><strong><font color="#228B22">#define <a href="../manualpages/MatGraphOperations/MATPARTITIONINGHIERARCH.html">MATPARTITIONINGHIERARCH</a> </font><font color="#666666">"hierarch"</font><font color="#228B22"></font></strong>
<a name="line1779">1779: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningCreate.html">MatPartitioningCreate</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a> *)</font></strong>;
<a name="line1780">1780: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetType.html">MatPartitioningSetType</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a>)</font></strong>;
<a name="line1781">1781: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetNParts.html">MatPartitioningSetNParts</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1782">1782: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetAdjacency.html">MatPartitioningSetAdjacency</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line1783">1783: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetNumberVertexWeights.html">MatPartitioningSetNumberVertexWeights</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1784">1784: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetVertexWeights.html">MatPartitioningSetVertexWeights</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line1785">1785: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetPartitionWeights.html">MatPartitioningSetPartitionWeights</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[])</font></strong>;
<a name="line1786">1786: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetUseEdgeWeights.html">MatPartitioningSetUseEdgeWeights</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line1787">1787: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningGetUseEdgeWeights.html">MatPartitioningGetUseEdgeWeights</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line1788">1788: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningApply.html">MatPartitioningApply</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1789">1789: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningImprove.html">MatPartitioningImprove</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1790">1790: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningViewImbalance.html">MatPartitioningViewImbalance</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a>)</font></strong>;
<a name="line1791">1791: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningApplyND.html">MatPartitioningApplyND</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1792">1792: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningDestroy.html">MatPartitioningDestroy</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a> *)</font></strong>;
<a name="line1793">1793: </a><strong><font color="#4169E1"><a name="MatPartitioningRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningRegister.html">MatPartitioningRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>)</font></strong>);
<a name="line1794">1794: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningView.html">MatPartitioningView</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line1795">1795: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningViewFromOptions.html">MatPartitioningViewFromOptions</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscObject.html">PetscObject</a>, const char[])</font></strong>;
<a name="line1796">1796: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningSetFromOptions.html">MatPartitioningSetFromOptions</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>)</font></strong>;
<a name="line1797">1797: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningGetType.html">MatPartitioningGetType</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Mat/MatPartitioningType.html">MatPartitioningType</a> *)</font></strong>;
<a name="line1799">1799: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningParmetisSetRepartition.html">MatPartitioningParmetisSetRepartition</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>)</font></strong>;
<a name="line1800">1800: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningParmetisSetCoarseSequential.html">MatPartitioningParmetisSetCoarseSequential</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>)</font></strong>;
<a name="line1801">1801: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningParmetisGetEdgeCut.html">MatPartitioningParmetisGetEdgeCut</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1803">1803: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1804">1804: </a> MP_CHACO_MULTILEVEL = 1,
<a name="line1805">1805: </a> MP_CHACO_SPECTRAL = 2,
<a name="line1806">1806: </a> MP_CHACO_LINEAR = 4,
<a name="line1807">1807: </a> MP_CHACO_RANDOM = 5,
<a name="line1808">1808: </a> MP_CHACO_SCATTERED = 6
<a name="line1809">1809: </a>} MPChacoGlobalType;
<a name="line1810">1810: </a>PETSC_EXTERN const char *const MPChacoGlobalTypes[];
<a name="line1811">1811: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1812">1812: </a> MP_CHACO_KERNIGHAN = 1,
<a name="line1813">1813: </a> MP_CHACO_NONE = 2
<a name="line1814">1814: </a>} MPChacoLocalType;
<a name="line1815">1815: </a>PETSC_EXTERN const char *const MPChacoLocalTypes[];
<a name="line1816">1816: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1817">1817: </a> MP_CHACO_LANCZOS = 0,
<a name="line1818">1818: </a> MP_CHACO_RQI = 1
<a name="line1819">1819: </a>} MPChacoEigenType;
<a name="line1820">1820: </a>PETSC_EXTERN const char *const MPChacoEigenTypes[];
<a name="line1822">1822: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetGlobal.html">MatPartitioningChacoSetGlobal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoGlobalType)</font></strong>;
<a name="line1823">1823: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoGetGlobal.html">MatPartitioningChacoGetGlobal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoGlobalType *)</font></strong>;
<a name="line1824">1824: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetLocal.html">MatPartitioningChacoSetLocal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoLocalType)</font></strong>;
<a name="line1825">1825: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoGetLocal.html">MatPartitioningChacoGetLocal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoLocalType *)</font></strong>;
<a name="line1826">1826: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetCoarseLevel.html">MatPartitioningChacoSetCoarseLevel</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line1827">1827: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetEigenSolver.html">MatPartitioningChacoSetEigenSolver</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoEigenType)</font></strong>;
<a name="line1828">1828: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoGetEigenSolver.html">MatPartitioningChacoGetEigenSolver</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPChacoEigenType *)</font></strong>;
<a name="line1829">1829: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetEigenTol.html">MatPartitioningChacoSetEigenTol</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line1830">1830: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoGetEigenTol.html">MatPartitioningChacoGetEigenTol</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line1831">1831: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoSetEigenNumber.html">MatPartitioningChacoSetEigenNumber</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1832">1832: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningChacoGetEigenNumber.html">MatPartitioningChacoGetEigenNumber</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line1834">1834: </a><strong><font color="#228B22">#define MP_PARTY_OPT </font><font color="#666666">"opt"</font><font color="#228B22"></font></strong>
<a name="line1835">1835: </a><strong><font color="#228B22">#define MP_PARTY_LIN </font><font color="#666666">"lin"</font><font color="#228B22"></font></strong>
<a name="line1836">1836: </a><strong><font color="#228B22">#define MP_PARTY_SCA </font><font color="#666666">"sca"</font><font color="#228B22"></font></strong>
<a name="line1837">1837: </a><strong><font color="#228B22">#define MP_PARTY_RAN </font><font color="#666666">"ran"</font><font color="#228B22"></font></strong>
<a name="line1838">1838: </a><strong><font color="#228B22">#define MP_PARTY_GBF </font><font color="#666666">"gbf"</font><font color="#228B22"></font></strong>
<a name="line1839">1839: </a><strong><font color="#228B22">#define MP_PARTY_GCF </font><font color="#666666">"gcf"</font><font color="#228B22"></font></strong>
<a name="line1840">1840: </a><strong><font color="#228B22">#define MP_PARTY_BUB </font><font color="#666666">"bub"</font><font color="#228B22"></font></strong>
<a name="line1841">1841: </a><strong><font color="#228B22">#define MP_PARTY_DEF </font><font color="#666666">"def"</font><font color="#228B22"></font></strong>
<a name="line1842">1842: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPartySetGlobal.html">MatPartitioningPartySetGlobal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, const char *)</font></strong>;
<a name="line1843">1843: </a><strong><font color="#228B22">#define MP_PARTY_HELPFUL_SETS </font><font color="#666666">"hs"</font><font color="#228B22"></font></strong>
<a name="line1844">1844: </a><strong><font color="#228B22">#define MP_PARTY_KERNIGHAN_LIN </font><font color="#666666">"kl"</font><font color="#228B22"></font></strong>
<a name="line1845">1845: </a><strong><font color="#228B22">#define MP_PARTY_NONE </font><font color="#666666">"no"</font><font color="#228B22"></font></strong>
<a name="line1846">1846: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPartySetLocal.html">MatPartitioningPartySetLocal</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, const char *)</font></strong>;
<a name="line1847">1847: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPartySetCoarseLevel.html">MatPartitioningPartySetCoarseLevel</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line1848">1848: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPartySetBipart.html">MatPartitioningPartySetBipart</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line1849">1849: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPartySetMatchOptimization.html">MatPartitioningPartySetMatchOptimization</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line1851">1851: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1852">1852: </a> MP_PTSCOTCH_DEFAULT,
<a name="line1853">1853: </a> MP_PTSCOTCH_QUALITY,
<a name="line1854">1854: </a> MP_PTSCOTCH_SPEED,
<a name="line1855">1855: </a> MP_PTSCOTCH_BALANCE,
<a name="line1856">1856: </a> MP_PTSCOTCH_SAFETY,
<a name="line1857">1857: </a> MP_PTSCOTCH_SCALABILITY
<a name="line1858">1858: </a>} MPPTScotchStrategyType;
<a name="line1859">1859: </a>PETSC_EXTERN const char *const MPPTScotchStrategyTypes[];
<a name="line1861">1861: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPTScotchSetImbalance.html">MatPartitioningPTScotchSetImbalance</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line1862">1862: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPTScotchGetImbalance.html">MatPartitioningPTScotchGetImbalance</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line1863">1863: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPTScotchSetStrategy.html">MatPartitioningPTScotchSetStrategy</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPPTScotchStrategyType)</font></strong>;
<a name="line1864">1864: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatPartitioningPTScotchGetStrategy.html">MatPartitioningPTScotchGetStrategy</a>(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, MPPTScotchStrategyType *)</font></strong>;
<a name="line1866">1866: </a><font color="#B22222">/*</font>
<a name="line1867">1867: </a><font color="#B22222"> * hierarchical partitioning</font>
<a name="line1868">1868: </a><font color="#B22222"> */</font>
<a name="line1869">1869: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPartitioningHierarchicalGetFineparts(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1870">1870: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPartitioningHierarchicalGetCoarseparts(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line1871">1871: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPartitioningHierarchicalSetNcoarseparts(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1872">1872: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPartitioningHierarchicalSetNfineparts(<a href="../manualpages/Mat/MatPartitioning.html">MatPartitioning</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line1874">1874: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatGraphOperations/MatMeshToCellGraph.html">MatMeshToCellGraph</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line1876">1876: </a><font color="#B22222">/*</font>
<a name="line1877">1877: </a><font color="#B22222"> If any of the enum values are changed, also update dMatOps dict at src/binding/petsc4py/src/libpetsc4py/libpetsc4py.pyx</font>
<a name="line1878">1878: </a><font color="#B22222">*/</font>
<a name="line1879">1879: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line1880">1880: </a> MATOP_SET_VALUES = 0,
<a name="line1881">1881: </a> MATOP_GET_ROW = 1,
<a name="line1882">1882: </a> MATOP_RESTORE_ROW = 2,
<a name="line1883">1883: </a> MATOP_MULT = 3,
<a name="line1884">1884: </a> MATOP_MULT_ADD = 4,
<a name="line1885">1885: </a> MATOP_MULT_TRANSPOSE = 5,
<a name="line1886">1886: </a> MATOP_MULT_TRANSPOSE_ADD = 6,
<a name="line1887">1887: </a> MATOP_SOLVE = 7,
<a name="line1888">1888: </a> MATOP_SOLVE_ADD = 8,
<a name="line1889">1889: </a> MATOP_SOLVE_TRANSPOSE = 9,
<a name="line1890">1890: </a> MATOP_SOLVE_TRANSPOSE_ADD = 10,
<a name="line1891">1891: </a> MATOP_LUFACTOR = 11,
<a name="line1892">1892: </a> MATOP_CHOLESKYFACTOR = 12,
<a name="line1893">1893: </a> MATOP_SOR = 13,
<a name="line1894">1894: </a> MATOP_TRANSPOSE = 14,
<a name="line1895">1895: </a> MATOP_GETINFO = 15,
<a name="line1896">1896: </a> MATOP_EQUAL = 16,
<a name="line1897">1897: </a> MATOP_GET_DIAGONAL = 17,
<a name="line1898">1898: </a> MATOP_DIAGONAL_SCALE = 18,
<a name="line1899">1899: </a> MATOP_NORM = 19,
<a name="line1900">1900: </a> MATOP_ASSEMBLY_BEGIN = 20,
<a name="line1901">1901: </a> MATOP_ASSEMBLY_END = 21,
<a name="line1902">1902: </a> MATOP_SET_OPTION = 22,
<a name="line1903">1903: </a> MATOP_ZERO_ENTRIES = 23,
<a name="line1904">1904: </a> MATOP_ZERO_ROWS = 24,
<a name="line1905">1905: </a> MATOP_LUFACTOR_SYMBOLIC = 25,
<a name="line1906">1906: </a> MATOP_LUFACTOR_NUMERIC = 26,
<a name="line1907">1907: </a> MATOP_CHOLESKY_FACTOR_SYMBOLIC = 27,
<a name="line1908">1908: </a> MATOP_CHOLESKY_FACTOR_NUMERIC = 28,
<a name="line1909">1909: </a> MATOP_SETUP = 29,
<a name="line1910">1910: </a> MATOP_ILUFACTOR_SYMBOLIC = 30,
<a name="line1911">1911: </a> MATOP_ICCFACTOR_SYMBOLIC = 31,
<a name="line1912">1912: </a> MATOP_GET_DIAGONAL_BLOCK = 32,
<a name="line1913">1913: </a> MATOP_SET_INF = 33,
<a name="line1914">1914: </a> MATOP_DUPLICATE = 34,
<a name="line1915">1915: </a> MATOP_FORWARD_SOLVE = 35,
<a name="line1916">1916: </a> MATOP_BACKWARD_SOLVE = 36,
<a name="line1917">1917: </a> MATOP_ILUFACTOR = 37,
<a name="line1918">1918: </a> MATOP_ICCFACTOR = 38,
<a name="line1919">1919: </a> MATOP_AXPY = 39,
<a name="line1920">1920: </a> MATOP_CREATE_SUBMATRICES = 40,
<a name="line1921">1921: </a> MATOP_INCREASE_OVERLAP = 41,
<a name="line1922">1922: </a> MATOP_GET_VALUES = 42,
<a name="line1923">1923: </a> MATOP_COPY = 43,
<a name="line1924">1924: </a> MATOP_GET_ROW_MAX = 44,
<a name="line1925">1925: </a> MATOP_SCALE = 45,
<a name="line1926">1926: </a> MATOP_SHIFT = 46,
<a name="line1927">1927: </a> MATOP_DIAGONAL_SET = 47,
<a name="line1928">1928: </a> MATOP_ZERO_ROWS_COLUMNS = 48,
<a name="line1929">1929: </a> MATOP_SET_RANDOM = 49,
<a name="line1930">1930: </a> MATOP_GET_ROW_IJ = 50,
<a name="line1931">1931: </a> MATOP_RESTORE_ROW_IJ = 51,
<a name="line1932">1932: </a> MATOP_GET_COLUMN_IJ = 52,
<a name="line1933">1933: </a> MATOP_RESTORE_COLUMN_IJ = 53,
<a name="line1934">1934: </a> MATOP_FDCOLORING_CREATE = 54,
<a name="line1935">1935: </a> MATOP_COLORING_PATCH = 55,
<a name="line1936">1936: </a> MATOP_SET_UNFACTORED = 56,
<a name="line1937">1937: </a> MATOP_PERMUTE = 57,
<a name="line1938">1938: </a> MATOP_SET_VALUES_BLOCKED = 58,
<a name="line1939">1939: </a> MATOP_CREATE_SUBMATRIX = 59,
<a name="line1940">1940: </a> MATOP_DESTROY = 60,
<a name="line1941">1941: </a> MATOP_VIEW = 61,
<a name="line1942">1942: </a> MATOP_CONVERT_FROM = 62,
<a name="line1943">1943: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_63=63 */</font>
<a name="line1944">1944: </a> MATOP_MATMAT_MULT_SYMBOLIC = 64,
<a name="line1945">1945: </a> MATOP_MATMAT_MULT_NUMERIC = 65,
<a name="line1946">1946: </a> MATOP_SET_LOCAL_TO_GLOBAL_MAP = 66,
<a name="line1947">1947: </a> MATOP_SET_VALUES_LOCAL = 67,
<a name="line1948">1948: </a> MATOP_ZERO_ROWS_LOCAL = 68,
<a name="line1949">1949: </a> MATOP_GET_ROW_MAX_ABS = 69,
<a name="line1950">1950: </a> MATOP_GET_ROW_MIN_ABS = 70,
<a name="line1951">1951: </a> MATOP_CONVERT = 71,
<a name="line1952">1952: </a> MATOP_HAS_OPERATION = 72,
<a name="line1953">1953: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_73=73, */</font>
<a name="line1954">1954: </a> MATOP_SET_VALUES_ADIFOR = 74,
<a name="line1955">1955: </a> MATOP_FD_COLORING_APPLY = 75,
<a name="line1956">1956: </a> MATOP_SET_FROM_OPTIONS = 76,
<a name="line1957">1957: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_77=77, */</font>
<a name="line1958">1958: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_78=78, */</font>
<a name="line1959">1959: </a> MATOP_FIND_ZERO_DIAGONALS = 79,
<a name="line1960">1960: </a> MATOP_MULT_MULTIPLE = 80,
<a name="line1961">1961: </a> MATOP_SOLVE_MULTIPLE = 81,
<a name="line1962">1962: </a> MATOP_GET_INERTIA = 82,
<a name="line1963">1963: </a> MATOP_LOAD = 83,
<a name="line1964">1964: </a> MATOP_IS_SYMMETRIC = 84,
<a name="line1965">1965: </a> MATOP_IS_HERMITIAN = 85,
<a name="line1966">1966: </a> MATOP_IS_STRUCTURALLY_SYMMETRIC = 86,
<a name="line1967">1967: </a> MATOP_SET_VALUES_BLOCKEDLOCAL = 87,
<a name="line1968">1968: </a> MATOP_CREATE_VECS = 88,
<a name="line1969">1969: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_89=89, */</font>
<a name="line1970">1970: </a> MATOP_MAT_MULT_SYMBOLIC = 90,
<a name="line1971">1971: </a> MATOP_MAT_MULT_NUMERIC = 91,
<a name="line1972">1972: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_92=92, */</font>
<a name="line1973">1973: </a> MATOP_PTAP_SYMBOLIC = 93,
<a name="line1974">1974: </a> MATOP_PTAP_NUMERIC = 94,
<a name="line1975">1975: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_95=95, */</font>
<a name="line1976">1976: </a> MATOP_MAT_TRANSPOSE_MULT_SYMBO = 96,
<a name="line1977">1977: </a> MATOP_MAT_TRANSPOSE_MULT_NUMER = 97,
<a name="line1978">1978: </a> MATOP_BIND_TO_CPU = 98,
<a name="line1979">1979: </a> MATOP_PRODUCTSETFROMOPTIONS = 99,
<a name="line1980">1980: </a> MATOP_PRODUCTSYMBOLIC = 100,
<a name="line1981">1981: </a> MATOP_PRODUCTNUMERIC = 101,
<a name="line1982">1982: </a> MATOP_CONJUGATE = 102,
<a name="line1983">1983: </a> MATOP_VIEW_NATIVE = 103,
<a name="line1984">1984: </a> MATOP_SET_VALUES_ROW = 104,
<a name="line1985">1985: </a> MATOP_REAL_PART = 105,
<a name="line1986">1986: </a> MATOP_IMAGINARY_PART = 106,
<a name="line1987">1987: </a> MATOP_GET_ROW_UPPER_TRIANGULAR = 107,
<a name="line1988">1988: </a> MATOP_RESTORE_ROW_UPPER_TRIANG = 108,
<a name="line1989">1989: </a> MATOP_MAT_SOLVE = 109,
<a name="line1990">1990: </a> MATOP_MAT_SOLVE_TRANSPOSE = 110,
<a name="line1991">1991: </a> MATOP_GET_ROW_MIN = 111,
<a name="line1992">1992: </a> MATOP_GET_COLUMN_VECTOR = 112,
<a name="line1993">1993: </a> MATOP_MISSING_DIAGONAL = 113,
<a name="line1994">1994: </a> MATOP_GET_SEQ_NONZERO_STRUCTUR = 114,
<a name="line1995">1995: </a> MATOP_CREATE = 115,
<a name="line1996">1996: </a> MATOP_GET_GHOSTS = 116,
<a name="line1997">1997: </a> MATOP_GET_LOCAL_SUB_MATRIX = 117,
<a name="line1998">1998: </a> MATOP_RESTORE_LOCALSUB_MATRIX = 118,
<a name="line1999">1999: </a> MATOP_MULT_DIAGONAL_BLOCK = 119,
<a name="line2000">2000: </a> MATOP_HERMITIAN_TRANSPOSE = 120,
<a name="line2001">2001: </a> MATOP_MULT_HERMITIAN_TRANSPOSE = 121,
<a name="line2002">2002: </a> MATOP_MULT_HERMITIAN_TRANS_ADD = 122,
<a name="line2003">2003: </a> MATOP_GET_MULTI_PROC_BLOCK = 123,
<a name="line2004">2004: </a> MATOP_FIND_NONZERO_ROWS = 124,
<a name="line2005">2005: </a> MATOP_GET_COLUMN_NORMS = 125,
<a name="line2006">2006: </a> MATOP_INVERT_BLOCK_DIAGONAL = 126,
<a name="line2007">2007: </a> MATOP_INVERT_VBLOCK_DIAGONAL = 127,
<a name="line2008">2008: </a> MATOP_CREATE_SUB_MATRICES_MPI = 128,
<a name="line2009">2009: </a> MATOP_SET_VALUES_BATCH = 129,
<a name="line2010">2010: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_130=130, */</font>
<a name="line2011">2011: </a> MATOP_TRANSPOSE_MAT_MULT_SYMBO = 131,
<a name="line2012">2012: </a> MATOP_TRANSPOSE_MAT_MULT_NUMER = 132,
<a name="line2013">2013: </a> MATOP_TRANSPOSE_COLORING_CREAT = 133,
<a name="line2014">2014: </a> MATOP_TRANS_COLORING_APPLY_SPT = 134,
<a name="line2015">2015: </a> MATOP_TRANS_COLORING_APPLY_DEN = 135,
<a name="line2016">2016: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_136=136, */</font>
<a name="line2017">2017: </a> MATOP_RART_SYMBOLIC = 137,
<a name="line2018">2018: </a> MATOP_RART_NUMERIC = 138,
<a name="line2019">2019: </a> MATOP_SET_BLOCK_SIZES = 139,
<a name="line2020">2020: </a> MATOP_AYPX = 140,
<a name="line2021">2021: </a> MATOP_RESIDUAL = 141,
<a name="line2022">2022: </a> MATOP_FDCOLORING_SETUP = 142,
<a name="line2023">2023: </a> MATOP_FIND_OFFBLOCK_ENTRIES = 143,
<a name="line2024">2024: </a> MATOP_MPICONCATENATESEQ = 144,
<a name="line2025">2025: </a> MATOP_DESTROYSUBMATRICES = 145,
<a name="line2026">2026: </a> MATOP_MAT_TRANSPOSE_SOLVE = 146,
<a name="line2027">2027: </a> MATOP_GET_VALUES_LOCAL = 147,
<a name="line2028">2028: </a> MATOP_CREATE_GRAPH = 148,
<a name="line2029">2029: </a> <font color="#B22222">/* MATOP_PLACEHOLDER_149=149, */</font>
<a name="line2030">2030: </a> MATOP_TRANSPOSE_SYMBOLIC = 150,
<a name="line2031">2031: </a> MATOP_ELIMINATE_ZEROS = 151,
<a name="line2032">2032: </a> MATOP_GET_ROW_SUM_ABS = 152,
<a name="line2033">2033: </a> MATOP_GET_FACTOR = 153,
<a name="line2034">2034: </a> MATOP_GET_BLOCK_DIAGONAL = 154, <font color="#B22222">/* NOTE: caller of the two op functions owns the returned matrix */</font>
<a name="line2035">2035: </a> MATOP_GET_VBLOCK_DIAGONAL = 155 <font color="#B22222">/* and need to destroy it after use. */</font>
<a name="line2036">2036: </a>} MatOperation;
<a name="line2037">2037: </a><strong><font color="#4169E1"><a name="MatSetOperation"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetOperation.html">MatSetOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatOperation, void (*)(void)</font></strong>);
<a name="line2038">2038: </a><strong><font color="#4169E1"><a name="MatGetOperation"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetOperation.html">MatGetOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatOperation, void (**)(void)</font></strong>);
<a name="line2039">2039: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHasOperation.html">MatHasOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatOperation, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2040">2040: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHasCongruentLayouts.html">MatHasCongruentLayouts</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2041">2041: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/Mat/MatProductClear.html">MatProductClear</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatFreeIntermediateDataStructures(<a href="../manualpages/Mat/Mat.html">Mat</a> A)
<a name="line2042">2042: </a>{
<a name="line2043">2043: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatProductClear.html">MatProductClear</a>(A);
<a name="line2044">2044: </a>}
<a name="line2045">2045: </a><strong><font color="#4169E1"><a name="MatShellSetOperation"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetOperation.html">MatShellSetOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatOperation, void (*)(void)</font></strong>);
<a name="line2046">2046: </a><strong><font color="#4169E1"><a name="MatShellGetOperation"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellGetOperation.html">MatShellGetOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatOperation, void (**)(void)</font></strong>);
<a name="line2047">2047: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetContext.html">MatShellSetContext</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, void *)</font></strong>;
<a name="line2048">2048: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetContextDestroy.html">MatShellSetContextDestroy</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscCtxDestroyFn.html">PetscCtxDestroyFn</a> *)</font></strong>;
<a name="line2049">2049: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetVecType.html">MatShellSetVecType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/VecType.html">VecType</a>)</font></strong>;
<a name="line2050">2050: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellTestMult.html">MatShellTestMult</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>), <a href="../manualpages/Vec/Vec.html">Vec</a>, void *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2051">2051: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellTestMultTranspose.html">MatShellTestMultTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>), <a href="../manualpages/Vec/Vec.html">Vec</a>, void *, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2052">2052: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetManageScalingShifts.html">MatShellSetManageScalingShifts</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2053">2053: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatShellSetMatProductOperation.html">MatShellSetMatProductOperation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatProductType.html">MatProductType</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, void **), <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, void *), <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *), <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>)</font></strong>;
<a name="line2054">2054: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatIsShell.html">MatIsShell</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2056">2056: </a><font color="#B22222">/*</font>
<a name="line2057">2057: </a><font color="#B22222"> Codes for matrices stored on disk. By default they are</font>
<a name="line2058">2058: </a><font color="#B22222"> stored in a universal format. By changing the format with</font>
<a name="line2059">2059: </a><font color="#B22222"> <a href="../manualpages/Viewer/PetscViewerPushFormat.html">PetscViewerPushFormat</a>(viewer,<a href="../manualpages/Viewer/PetscViewerFormat.html">PETSC_VIEWER_NATIVE</a>); the matrices will</font>
<a name="line2060">2060: </a><font color="#B22222"> be stored in a way natural for the matrix, for example dense matrices</font>
<a name="line2061">2061: </a><font color="#B22222"> would be stored as dense. Matrices stored this way may only be</font>
<a name="line2062">2062: </a><font color="#B22222"> read into matrices of the same type.</font>
<a name="line2063">2063: </a><font color="#B22222">*/</font>
<a name="line2064">2064: </a><strong><font color="#228B22">#define MATRIX_BINARY_FORMAT_DENSE -1</font></strong>
<a name="line2066">2066: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMPIBAIJSetHashTableFactor.html">MatMPIBAIJSetHashTableFactor</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2068">2068: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISSetLocalMatType.html">MatISSetLocalMatType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>)</font></strong>;
<a name="line2069">2069: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISSetPreallocation.html">MatISSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[])</font></strong>;
<a name="line2070">2070: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISSetAllowRepeated.html">MatISSetAllowRepeated</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2071">2071: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISGetAllowRepeated.html">MatISGetAllowRepeated</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2072">2072: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISStoreL2L.html">MatISStoreL2L</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2073">2073: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISFixLocalEmpty.html">MatISFixLocalEmpty</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2074">2074: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISGetLocalMat.html">MatISGetLocalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2075">2075: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISRestoreLocalMat.html">MatISRestoreLocalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2076">2076: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISSetLocalMat.html">MatISSetLocalMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2077">2077: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatISGetLocalToGlobalMapping.html">MatISGetLocalToGlobalMapping</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a> *, <a href="../manualpages/IS/ISLocalToGlobalMapping.html">ISLocalToGlobalMapping</a> *)</font></strong>;
<a name="line2079">2079: </a><font color="#B22222">/*S</font>
<a name="line2080">2080: </a><font color="#B22222"> <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> - Object that removes a null space from a vector, i.e.</font>
<a name="line2081">2081: </a><font color="#B22222"> orthogonalizes the vector to a subspace</font>
<a name="line2083">2083: </a><font color="#B22222"> Level: advanced</font>
<a name="line2085">2085: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatNullSpaceCreate.html">MatNullSpaceCreate</a>()`, `<a href="../manualpages/Mat/MatNullSpaceSetFunction.html">MatNullSpaceSetFunction</a>()`, `<a href="../manualpages/Mat/MatGetNullSpace.html">MatGetNullSpace</a>()`, `<a href="../manualpages/Mat/MatSetNullSpace.html">MatSetNullSpace</a>()`</font>
<a name="line2086">2086: </a><font color="#B22222">S*/</font>
<a name="line2087">2087: </a><font color="#4169E1">typedef struct _p_MatNullSpace *<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>;</font>
<a name="line2089">2089: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceCreate.html">MatNullSpaceCreate</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Vec/Vec.html">Vec</a>[], <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2090">2090: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceSetFunction.html">MatNullSpaceSetFunction</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, void *), void *)</font></strong>;
<a name="line2091">2091: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceDestroy.html">MatNullSpaceDestroy</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2092">2092: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceRemove.html">MatNullSpaceRemove</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line2093">2093: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetNullSpace.html">MatGetNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2094">2094: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetTransposeNullSpace.html">MatGetTransposeNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2095">2095: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetTransposeNullSpace.html">MatSetTransposeNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>)</font></strong>;
<a name="line2096">2096: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetNullSpace.html">MatSetNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>)</font></strong>;
<a name="line2097">2097: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetNearNullSpace.html">MatSetNearNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>)</font></strong>;
<a name="line2098">2098: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetNearNullSpace.html">MatGetNearNullSpace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2099">2099: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetNullSpaces.html">MatGetNullSpaces</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>[], <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *[])</font></strong>;
<a name="line2100">2100: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatRestoreNullSpaces.html">MatRestoreNullSpaces</a>(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>[], <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *[])</font></strong>;
<a name="line2101">2101: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceTest.html">MatNullSpaceTest</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2102">2102: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceView.html">MatNullSpaceView</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>)</font></strong>;
<a name="line2103">2103: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceGetVecs.html">MatNullSpaceGetVecs</a>(<a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Vec/Vec.html">Vec</a> **)</font></strong>;
<a name="line2104">2104: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNullSpaceCreateRigidBody.html">MatNullSpaceCreateRigidBody</a>(<a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Mat/MatNullSpace.html">MatNullSpace</a> *)</font></strong>;
<a name="line2106">2106: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatReorderingSeqSBAIJ(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>)</font></strong>;
<a name="line2107">2107: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatMPISBAIJSetHashTableFactor(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2108">2108: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqSBAIJSetColumnIndices.html">MatSeqSBAIJSetColumnIndices</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2110">2110: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMAIJ.html">MatCreateMAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2111">2111: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMAIJRedimension.html">MatMAIJRedimension</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2112">2112: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMAIJGetAIJ.html">MatMAIJGetAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2114">2114: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatComputeOperator.html">MatComputeOperator</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2115">2115: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatComputeOperatorTranspose.html">MatComputeOperatorTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatType.html">MatType</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2117">2117: </a>PETSC_DEPRECATED_FUNCTION(3, 12, 0, <font color="#666666">"<a href="../manualpages/Mat/MatComputeOperator.html">MatComputeOperator</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatComputeExplicitOperator(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Mat/Mat.html">Mat</a> *B)
<a name="line2118">2118: </a>{
<a name="line2119">2119: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatComputeOperator.html">MatComputeOperator</a>(A, <a href="../manualpages/Sys/PETSC_NULLPTR.html">PETSC_NULLPTR</a>, B);
<a name="line2120">2120: </a>}
<a name="line2121">2121: </a>PETSC_DEPRECATED_FUNCTION(3, 12, 0, <font color="#666666">"<a href="../manualpages/Mat/MatComputeOperatorTranspose.html">MatComputeOperatorTranspose</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatComputeExplicitOperatorTranspose(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Mat/Mat.html">Mat</a> *B)
<a name="line2122">2122: </a>{
<a name="line2123">2123: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatComputeOperatorTranspose.html">MatComputeOperatorTranspose</a>(A, <a href="../manualpages/Sys/PETSC_NULLPTR.html">PETSC_NULLPTR</a>, B);
<a name="line2124">2124: </a>}
<a name="line2126">2126: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateKAIJ.html">MatCreateKAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2127">2127: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetAIJ.html">MatKAIJGetAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2128">2128: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetS.html">MatKAIJGetS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2129">2129: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetSRead.html">MatKAIJGetSRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2130">2130: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJRestoreS.html">MatKAIJRestoreS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2131">2131: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJRestoreSRead.html">MatKAIJRestoreSRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2132">2132: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetT.html">MatKAIJGetT</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2133">2133: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetTRead.html">MatKAIJGetTRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2134">2134: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJRestoreT.html">MatKAIJRestoreT</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2135">2135: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJRestoreTRead.html">MatKAIJRestoreTRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2136">2136: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJSetAIJ.html">MatKAIJSetAIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2137">2137: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJSetS.html">MatKAIJSetS</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line2138">2138: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJSetT.html">MatKAIJSetT</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[])</font></strong>;
<a name="line2139">2139: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatKAIJGetScaledIdentity.html">MatKAIJGetScaledIdentity</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2141">2141: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDiagonalScaleLocal.html">MatDiagonalScaleLocal</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line2143">2143: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDInitializePackage.html">MatMFFDInitializePackage</a>(void)</font></strong>;
<a name="line2144">2144: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDFinalizePackage.html">MatMFFDFinalizePackage</a>(void)</font></strong>;
<a name="line2146">2146: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateMFFD.html">MatCreateMFFD</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2147">2147: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetBase.html">MatMFFDSetBase</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line2148">2148: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetFunction.html">MatMFFDSetFunction</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>), void *)</font></strong>;
<a name="line2149">2149: </a><strong><font color="#4169E1"><a name="MatMFFDSetFunctioni"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetFunctioni.html">MatMFFDSetFunctioni</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>);
<a name="line2150">2150: </a><strong><font color="#4169E1"><a name="MatMFFDSetFunctioniBase"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetFunctioniBase.html">MatMFFDSetFunctioniBase</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>);
<a name="line2151">2151: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetHHistory.html">MatMFFDSetHHistory</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2152">2152: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDResetHHistory.html">MatMFFDResetHHistory</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2153">2153: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetFunctionError.html">MatMFFDSetFunctionError</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2154">2154: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetPeriod.html">MatMFFDSetPeriod</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2155">2155: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDGetH.html">MatMFFDGetH</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2156">2156: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetOptionsPrefix.html">MatMFFDSetOptionsPrefix</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const char[])</font></strong>;
<a name="line2157">2157: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDCheckPositivity.html">MatMFFDCheckPositivity</a>(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2158">2158: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetCheckh.html">MatMFFDSetCheckh</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(void *, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *), void *)</font></strong>;
<a name="line2160">2160: </a><font color="#B22222">/*S</font>
<a name="line2161">2161: </a><font color="#B22222"> <a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a> - A data structured used to manage the computation of the h differencing parameter for matrix-free</font>
<a name="line2162">2162: </a><font color="#B22222"> Jacobian vector products</font>
<a name="line2164">2164: </a><font color="#B22222"> Level: developer</font>
<a name="line2166">2166: </a><font color="#B22222"> Notes:</font>
<a name="line2167">2167: </a><font color="#B22222"> `<a href="../manualpages/Mat/MATMFFD.html">MATMFFD</a>` is a specific `<a href="../manualpages/Mat/MatType.html">MatType</a>` which uses the `<a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a>` data structure</font>
<a name="line2169">2169: </a><font color="#B22222"> <a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a>*() methods actually take the `<a href="../manualpages/Mat/Mat.html">Mat</a>` as their first argument. Not a `<a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a>` data structure</font>
<a name="line2171">2171: </a><font color="#B22222"> This functionality is often obtained using `<a href="../manualpages/SNES/MatCreateSNESMF.html">MatCreateSNESMF</a>()` or with `<a href="../manualpages/SNES/SNES.html">SNES</a>` solvers using `-snes_mf` or `-snes_mf_operator`</font>
<a name="line2173">2173: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatMFFDType.html">MatMFFDType</a>`, `<a href="../manualpages/Mat/MATMFFD.html">MATMFFD</a>`, `<a href="../manualpages/Mat/MatCreateMFFD.html">MatCreateMFFD</a>()`, `MatMFFDSetFuction()`, `<a href="../manualpages/Mat/MatMFFDSetType.html">MatMFFDSetType</a>()`, `<a href="../manualpages/Mat/MatMFFDRegister.html">MatMFFDRegister</a>()`,</font>
<a name="line2174">2174: </a><font color="#B22222"> `<a href="../manualpages/SNES/MatCreateSNESMF.html">MatCreateSNESMF</a>()`, `<a href="../manualpages/SNES/SNES.html">SNES</a>`, `-snes_mf`, `-snes_mf_operator`</font>
<a name="line2175">2175: </a><font color="#B22222">S*/</font>
<a name="line2176">2176: </a><font color="#4169E1">typedef struct _p_MatMFFD *<a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a>;</font>
<a name="line2178">2178: </a><font color="#B22222">/*J</font>
<a name="line2179">2179: </a><font color="#B22222"> <a href="../manualpages/Mat/MatMFFDType.html">MatMFFDType</a> - algorithm used to compute the `h` used in computing matrix-vector products via differencing of a function</font>
<a name="line2181">2181: </a><font color="#B22222"> Values:</font>
<a name="line2182">2182: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MATMFFD_DS.html">MATMFFD_DS</a>` - an algorithm described by Dennis and Schnabel {cite}`dennis:83`</font>
<a name="line2183">2183: </a><font color="#B22222">- `<a href="../manualpages/Mat/MATMFFD_WP.html">MATMFFD_WP</a>` - the Walker-Pernice {cite}`pw98` strategy.</font>
<a name="line2185">2185: </a><font color="#B22222"> Level: beginner</font>
<a name="line2187">2187: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatMFFDSetType.html">MatMFFDSetType</a>()`, `<a href="../manualpages/Mat/MatMFFDRegister.html">MatMFFDRegister</a>()`, `<a href="../manualpages/Mat/MatMFFDSetFunction.html">MatMFFDSetFunction</a>()`, `<a href="../manualpages/Mat/MatCreateMFFD.html">MatCreateMFFD</a>()`</font>
<a name="line2188">2188: </a><font color="#B22222">J*/</font>
<a name="line2189">2189: </a><font color="#4169E1">typedef const char *<a href="../manualpages/Mat/MatMFFDType.html">MatMFFDType</a>;</font>
<a name="line2190">2190: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMFFD_DS.html">MATMFFD_DS</a> </font><font color="#666666">"ds"</font><font color="#228B22"></font></strong>
<a name="line2191">2191: </a><strong><font color="#228B22">#define <a href="../manualpages/Mat/MATMFFD_WP.html">MATMFFD_WP</a> </font><font color="#666666">"wp"</font><font color="#228B22"></font></strong>
<a name="line2193">2193: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDSetType.html">MatMFFDSetType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatMFFDType.html">MatMFFDType</a>)</font></strong>;
<a name="line2194">2194: </a><strong><font color="#4169E1"><a name="MatMFFDRegister"></a>PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDRegister.html">MatMFFDRegister</a>(const char[], <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/Mat/MatMFFD.html">MatMFFD</a>)</font></strong>);
<a name="line2196">2196: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDDSSetUmin.html">MatMFFDDSSetUmin</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2197">2197: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMFFDWPSetComputeNormU.html">MatMFFDWPSetComputeNormU</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2199">2199: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/MatFD/MatFDColoringSetType.html">MatFDColoringSetType</a>(<a href="../manualpages/Mat/MatFDColoring.html">MatFDColoring</a>, <a href="../manualpages/Mat/MatMFFDType.html">MatMFFDType</a>)</font></strong>;
<a name="line2201">2201: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> PetscViewerMathematicaPutMatrix(<a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2202">2202: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> PetscViewerMathematicaPutCSRMatrix(<a href="../manualpages/Viewer/PetscViewer.html">PetscViewer</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2204">2204: </a><font color="#A020F0">#ifdef PETSC_HAVE_H2OPUS</font>
<a name="line2205">2205: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>(MatH2OpusKernelFn)(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], void *)</font></strong>;
<a name="line2206">2206: </a>PETSC_EXTERN_TYPEDEF <font color="#4169E1">typedef</font> MatH2OpusKernelFn *MatH2OpusKernel;
<a name="line2208">2208: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateH2OpusFromKernel.html">MatCreateH2OpusFromKernel</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, MatH2OpusKernelFn *, void *, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2209">2209: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateH2OpusFromMat.html">MatCreateH2OpusFromMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2210">2210: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusSetSamplingMat.html">MatH2OpusSetSamplingMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2211">2211: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusOrthogonalize.html">MatH2OpusOrthogonalize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2212">2212: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusCompress.html">MatH2OpusCompress</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2213">2213: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatH2OpusSetNativeMult(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2214">2214: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatH2OpusGetNativeMult(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2215">2215: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusGetIndexMap.html">MatH2OpusGetIndexMap</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line2216">2216: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusMapVec.html">MatH2OpusMapVec</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line2217">2217: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatH2OpusLowRankUpdate.html">MatH2OpusLowRankUpdate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>)</font></strong>;
<a name="line2218">2218: </a><font color="#A020F0">#endif</font>
<a name="line2220">2220: </a><font color="#A020F0">#ifdef PETSC_HAVE_HTOOL</font>
<a name="line2221">2221: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a>(MatHtoolKernelFn)(<a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *, void *)</font></strong>;
<a name="line2222">2222: </a>PETSC_EXTERN_TYPEDEF <font color="#4169E1">typedef</font> MatHtoolKernelFn *MatHtoolKernel;
<a name="line2224">2224: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateHtoolFromKernel.html">MatCreateHtoolFromKernel</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], MatHtoolKernelFn *, void *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2225">2225: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHtoolSetKernel.html">MatHtoolSetKernel</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, MatHtoolKernelFn *, void *)</font></strong>;
<a name="line2226">2226: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHtoolGetPermutationSource.html">MatHtoolGetPermutationSource</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line2227">2227: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHtoolGetPermutationTarget.html">MatHtoolGetPermutationTarget</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a> *)</font></strong>;
<a name="line2228">2228: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHtoolUsePermutation.html">MatHtoolUsePermutation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2230">2230: </a><font color="#B22222">/*E</font>
<a name="line2231">2231: </a><font color="#B22222"> <a href="../manualpages/Mat/MatHtoolCompressorType.html">MatHtoolCompressorType</a> - Indicates the type of compressor used by a `<a href="../manualpages/Mat/MATHTOOL.html">MATHTOOL</a>`</font>
<a name="line2233">2233: </a><font color="#B22222"> Values:</font>
<a name="line2234">2234: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_SYMPARTIAL_ACA</a>` (default) - symmetric partial adaptive cross approximation</font>
<a name="line2235">2235: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_FULL_ACA</a>` - full adaptive cross approximation</font>
<a name="line2236">2236: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_SVD</a>` - singular value decomposition</font>
<a name="line2238">2238: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2240">2240: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatCreateHtoolFromKernel.html">MatCreateHtoolFromKernel</a>()`, `<a href="../manualpages/Mat/MATHTOOL.html">MATHTOOL</a>`, `<a href="../manualpages/Mat/MatHtoolClusteringType.html">MatHtoolClusteringType</a>`</font>
<a name="line2241">2241: </a><font color="#B22222">E*/</font>
<a name="line2242">2242: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2243">2243: </a> <a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_SYMPARTIAL_ACA</a>,
<a name="line2244">2244: </a> <a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_FULL_ACA</a>,
<a name="line2245">2245: </a> <a href="../manualpages/Mat/MatHtoolCompressorType.html">MAT_HTOOL_COMPRESSOR_SVD</a>
<a name="line2246">2246: </a>} <a href="../manualpages/Mat/MatHtoolCompressorType.html">MatHtoolCompressorType</a>;
<a name="line2248">2248: </a><font color="#B22222">/*E</font>
<a name="line2249">2249: </a><font color="#B22222"> <a href="../manualpages/Mat/MatHtoolClusteringType.html">MatHtoolClusteringType</a> - Indicates the type of clustering used by a `<a href="../manualpages/Mat/MATHTOOL.html">MATHTOOL</a>`</font>
<a name="line2251">2251: </a><font color="#B22222"> Values:</font>
<a name="line2252">2252: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_PCA_REGULAR</a>` (default) - axis computed via principle component analysis, split uniformly</font>
<a name="line2253">2253: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_PCA_GEOMETRIC</a>` - axis computed via principle component analysis, split barycentrically</font>
<a name="line2254">2254: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_BOUNDING_BOX_1_REGULAR</a>` - axis along the largest extent of the bounding box, split uniformly</font>
<a name="line2255">2255: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_BOUNDING_BOX_1_GEOMETRIC</a>` - axis along the largest extent of the bounding box, split barycentrically</font>
<a name="line2257">2257: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2259">2259: </a><font color="#B22222"> Note:</font>
<a name="line2260">2260: </a><font color="#B22222"> Higher-dimensional clustering is not yet supported in Htool, but once it is, one should add BOUNDING_BOX_{2,3} types</font>
<a name="line2262">2262: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MatCreateHtoolFromKernel.html">MatCreateHtoolFromKernel</a>()`, `<a href="../manualpages/Mat/MATHTOOL.html">MATHTOOL</a>`, `<a href="../manualpages/Mat/MatHtoolCompressorType.html">MatHtoolCompressorType</a>`</font>
<a name="line2263">2263: </a><font color="#B22222">E*/</font>
<a name="line2264">2264: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2265">2265: </a> <a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_PCA_REGULAR</a>,
<a name="line2266">2266: </a> <a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_PCA_GEOMETRIC</a>,
<a name="line2267">2267: </a> <a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_BOUNDING_BOX_1_REGULAR</a>,
<a name="line2268">2268: </a> <a href="../manualpages/Mat/MatHtoolClusteringType.html">MAT_HTOOL_CLUSTERING_BOUNDING_BOX_1_GEOMETRIC</a>
<a name="line2269">2269: </a>} <a href="../manualpages/Mat/MatHtoolClusteringType.html">MatHtoolClusteringType</a>;
<a name="line2270">2270: </a><font color="#A020F0">#endif</font>
<a name="line2272">2272: </a><font color="#A020F0">#ifdef PETSC_HAVE_MUMPS</font>
<a name="line2273">2273: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsSetIcntl.html">MatMumpsSetIcntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2274">2274: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetIcntl.html">MatMumpsGetIcntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2275">2275: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsSetCntl.html">MatMumpsSetCntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2276">2276: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetCntl.html">MatMumpsGetCntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2278">2278: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetInfo.html">MatMumpsGetInfo</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2279">2279: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetInfog.html">MatMumpsGetInfog</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2280">2280: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetRinfo.html">MatMumpsGetRinfo</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2281">2281: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetRinfog.html">MatMumpsGetRinfog</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2282">2282: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetNullPivots.html">MatMumpsGetNullPivots</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **)</font></strong>;
<a name="line2283">2283: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetInverse.html">MatMumpsGetInverse</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2284">2284: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMumpsGetInverseTranspose.html">MatMumpsGetInverseTranspose</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2285">2285: </a><font color="#A020F0">#endif</font>
<a name="line2287">2287: </a><font color="#A020F0">#ifdef PETSC_HAVE_MKL_PARDISO</font>
<a name="line2288">2288: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMkl_PardisoSetCntl.html">MatMkl_PardisoSetCntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2289">2289: </a><font color="#A020F0">#endif</font>
<a name="line2291">2291: </a><font color="#A020F0">#ifdef PETSC_HAVE_MKL_CPARDISO</font>
<a name="line2292">2292: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatMkl_CPardisoSetCntl.html">MatMkl_CPardisoSetCntl</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2293">2293: </a><font color="#A020F0">#endif</font>
<a name="line2295">2295: </a><font color="#A020F0">#ifdef PETSC_HAVE_SUPERLU</font>
<a name="line2296">2296: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSuperluSetILUDropTol.html">MatSuperluSetILUDropTol</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2297">2297: </a><font color="#A020F0">#endif</font>
<a name="line2299">2299: </a><font color="#A020F0">#ifdef PETSC_HAVE_SUPERLU_DIST</font>
<a name="line2300">2300: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatSuperluDistGetDiagU(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2301">2301: </a><font color="#A020F0">#endif</font>
<a name="line2303">2303: </a><font color="#A020F0">#ifdef PETSC_HAVE_STRUMPACK</font>
<a name="line2304">2304: </a><font color="#B22222">/*E</font>
<a name="line2305">2305: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MatSTRUMPACKReordering</a> - sparsity reducing ordering to be used in `<a href="../manualpages/Mat/MATSOLVERSTRUMPACK.html">MATSOLVERSTRUMPACK</a>`</font>
<a name="line2307">2307: </a><font color="#B22222"> Values:</font>
<a name="line2308">2308: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_NATURAL</a>` - use the current ordering</font>
<a name="line2309">2309: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_METIS</a>` - use MeTis to compute an ordering</font>
<a name="line2310">2310: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_PARMETIS</a>` - use ParMeTis to compute an ordering</font>
<a name="line2311">2311: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_SCOTCH</a>` - use Scotch to compute an ordering</font>
<a name="line2312">2312: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_PTSCOTCH</a>` - use parallel Scotch to compute an ordering</font>
<a name="line2313">2313: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_RCM</a>` - use an RCM ordering</font>
<a name="line2314">2314: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_GEOMETRIC</a>` - use a geometric ordering (needs mesh info from user)</font>
<a name="line2315">2315: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_AMD</a>` - approximate minimum degree</font>
<a name="line2316">2316: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_MMD</a>` - multiple minimum degree</font>
<a name="line2317">2317: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_AND</a>` - approximate nested dissection</font>
<a name="line2318">2318: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_MLF</a>` - minimum local fill</font>
<a name="line2319">2319: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_SPECTRAL</a>` - spectral nested dissection</font>
<a name="line2321">2321: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2323">2323: </a><font color="#B22222"> Developer Note:</font>
<a name="line2324">2324: </a><font color="#B22222"> Should be called `MatSTRUMPACKReorderingType`</font>
<a name="line2326">2326: </a><font color="#B22222">.seealso: `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MATSOLVERSTRUMPACK.html">MATSOLVERSTRUMPACK</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/Mat/MatSTRUMPACKSetReordering.html">MatSTRUMPACKSetReordering</a>()`</font>
<a name="line2327">2327: </a><font color="#B22222">E*/</font>
<a name="line2328">2328: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2329">2329: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_NATURAL</a>,
<a name="line2330">2330: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_METIS</a>,
<a name="line2331">2331: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_PARMETIS</a>,
<a name="line2332">2332: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_SCOTCH</a>,
<a name="line2333">2333: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_PTSCOTCH</a>,
<a name="line2334">2334: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_RCM</a>,
<a name="line2335">2335: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_GEOMETRIC</a>,
<a name="line2336">2336: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_AMD</a>,
<a name="line2337">2337: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_MMD</a>,
<a name="line2338">2338: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_AND</a>,
<a name="line2339">2339: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_MLF</a>,
<a name="line2340">2340: </a> <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MAT_STRUMPACK_SPECTRAL</a>
<a name="line2341">2341: </a>} <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MatSTRUMPACKReordering</a>;
<a name="line2343">2343: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetReordering.html">MatSTRUMPACKSetReordering</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MatSTRUMPACKReordering</a>)</font></strong>;
<a name="line2344">2344: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetReordering.html">MatSTRUMPACKGetReordering</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSTRUMPACKReordering.html">MatSTRUMPACKReordering</a> *)</font></strong>;
<a name="line2345">2345: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetGeometricNxyz.html">MatSTRUMPACKSetGeometricNxyz</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2346">2346: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetGeometricComponents.html">MatSTRUMPACKSetGeometricComponents</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2347">2347: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetGeometricWidth.html">MatSTRUMPACKSetGeometricWidth</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2348">2348: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetColPerm.html">MatSTRUMPACKSetColPerm</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2349">2349: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetColPerm.html">MatSTRUMPACKGetColPerm</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2350">2350: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetGPU.html">MatSTRUMPACKSetGPU</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2351">2351: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetGPU.html">MatSTRUMPACKGetGPU</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2353">2353: </a><font color="#B22222">/*E</font>
<a name="line2354">2354: </a><font color="#B22222"> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MatSTRUMPACKCompressionType</a> - Compression used in the approximate sparse factorization solver `<a href="../manualpages/Mat/MATSOLVERSTRUMPACK.html">MATSOLVERSTRUMPACK</a>`</font>
<a name="line2356">2356: </a><font color="#B22222"> Values:</font>
<a name="line2357">2357: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_NONE</a>` - no compression, direct solver</font>
<a name="line2358">2358: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_HSS</a>` - hierarchically semi-separable</font>
<a name="line2359">2359: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_BLR</a>` - block low rank</font>
<a name="line2360">2360: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_HODLR</a>` - hierarchically off-diagonal low rank (requires ButterfyPACK support, configure with --download-butterflypack)</font>
<a name="line2361">2361: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_BLR_HODLR</a>` - hybrid of BLR and HODLR (requires ButterfyPACK support, configure with --download-butterflypack)</font>
<a name="line2362">2362: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_ZFP_BLR_HODLR</a>` - hybrid of lossy (ZFP), BLR and HODLR (requires ButterfyPACK and ZFP support, configure with --download-butterflypack --download-zfp)</font>
<a name="line2363">2363: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_LOSSLESS</a>` - lossless compression (requires ZFP support, configure with --download-zfp)</font>
<a name="line2364">2364: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_LOSSY</a>` - lossy compression (requires ZFP support, configure with --download-zfp)</font>
<a name="line2366">2366: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2368">2368: </a><font color="#B22222">.seealso: `<a href="../manualpages/Mat/Mat.html">Mat</a>`, `<a href="../manualpages/Mat/MATSOLVERSTRUMPACK.html">MATSOLVERSTRUMPACK</a>`, `<a href="../manualpages/Mat/MatGetFactor.html">MatGetFactor</a>()`, `<a href="../manualpages/Mat/MatSTRUMPACKSetCompression.html">MatSTRUMPACKSetCompression</a>()`</font>
<a name="line2369">2369: </a><font color="#B22222">E*/</font>
<a name="line2370">2370: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2371">2371: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_NONE</a>,
<a name="line2372">2372: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_HSS</a>,
<a name="line2373">2373: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_BLR</a>,
<a name="line2374">2374: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_HODLR</a>,
<a name="line2375">2375: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_BLR_HODLR</a>,
<a name="line2376">2376: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_ZFP_BLR_HODLR</a>,
<a name="line2377">2377: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_LOSSLESS</a>,
<a name="line2378">2378: </a> <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MAT_STRUMPACK_COMPRESSION_TYPE_LOSSY</a>
<a name="line2379">2379: </a>} <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MatSTRUMPACKCompressionType</a>;
<a name="line2381">2381: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompression.html">MatSTRUMPACKSetCompression</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MatSTRUMPACKCompressionType</a>)</font></strong>;
<a name="line2382">2382: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompression.html">MatSTRUMPACKGetCompression</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatSTRUMPACKCompressionType.html">MatSTRUMPACKCompressionType</a> *)</font></strong>;
<a name="line2383">2383: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompRelTol.html">MatSTRUMPACKSetCompRelTol</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2384">2384: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompRelTol.html">MatSTRUMPACKGetCompRelTol</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2385">2385: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompAbsTol.html">MatSTRUMPACKSetCompAbsTol</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line2386">2386: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompAbsTol.html">MatSTRUMPACKGetCompAbsTol</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;
<a name="line2387">2387: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompMinSepSize.html">MatSTRUMPACKSetCompMinSepSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2388">2388: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompMinSepSize.html">MatSTRUMPACKGetCompMinSepSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2389">2389: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompLeafSize.html">MatSTRUMPACKSetCompLeafSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2390">2390: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompLeafSize.html">MatSTRUMPACKGetCompLeafSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2391">2391: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompLossyPrecision.html">MatSTRUMPACKSetCompLossyPrecision</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2392">2392: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompLossyPrecision.html">MatSTRUMPACKGetCompLossyPrecision</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2393">2393: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKSetCompButterflyLevels.html">MatSTRUMPACKSetCompButterflyLevels</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2394">2394: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSTRUMPACKGetCompButterflyLevels.html">MatSTRUMPACKGetCompButterflyLevels</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2395">2395: </a><font color="#A020F0">#endif</font>
<a name="line2397">2397: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatBindToCPU.html">MatBindToCPU</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2398">2398: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatBoundToCPU.html">MatBoundToCPU</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2399">2399: </a>PETSC_DEPRECATED_FUNCTION(3, 13, 0, <font color="#666666">"<a href="../manualpages/Mat/MatBindToCPU.html">MatBindToCPU</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatPinToCPU(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> flg)
<a name="line2400">2400: </a>{
<a name="line2401">2401: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatBindToCPU.html">MatBindToCPU</a>(A, flg);
<a name="line2402">2402: </a>}
<a name="line2403">2403: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetBindingPropagates.html">MatSetBindingPropagates</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2404">2404: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatGetBindingPropagates.html">MatGetBindingPropagates</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line2406">2406: </a><font color="#A020F0">#ifdef PETSC_HAVE_CUDA</font>
<a name="line2407">2407: </a><font color="#B22222">/*E</font>
<a name="line2408">2408: </a><font color="#B22222"> <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MatCUSPARSEStorageFormat</a> - indicates the storage format for `<a href="../manualpages/Mat/MATAIJCUSPARSE.html">MATAIJCUSPARSE</a>` (GPU)</font>
<a name="line2409">2409: </a><font color="#B22222"> matrices.</font>
<a name="line2411">2411: </a><font color="#B22222"> Values:</font>
<a name="line2412">2412: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_CSR</a>` - Compressed Sparse Row</font>
<a name="line2413">2413: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_ELL</a>` - Ellpack (requires CUDA 4.2 or later).</font>
<a name="line2414">2414: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_HYB</a>` - Hybrid, a combination of Ellpack and Coordinate format (requires CUDA 4.2 or later).</font>
<a name="line2416">2416: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2418">2418: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MATAIJCUSPARSE.html">MATAIJCUSPARSE</a>`, `<a href="../manualpages/Mat/MatCUSPARSESetFormat.html">MatCUSPARSESetFormat</a>()`, `<a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MatCUSPARSEFormatOperation</a>`</font>
<a name="line2419">2419: </a><font color="#B22222">E*/</font>
<a name="line2421">2421: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2422">2422: </a> <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_CSR</a>,
<a name="line2423">2423: </a> <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_ELL</a>,
<a name="line2424">2424: </a> <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MAT_CUSPARSE_HYB</a>
<a name="line2425">2425: </a>} <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MatCUSPARSEStorageFormat</a>;
<a name="line2427">2427: </a><font color="#B22222">/* these will be strings associated with enumerated type defined above */</font>
<a name="line2428">2428: </a>PETSC_EXTERN const char *const MatCUSPARSEStorageFormats[];
<a name="line2430">2430: </a><font color="#B22222">/*E</font>
<a name="line2431">2431: </a><font color="#B22222"> <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MatCUSPARSEFormatOperation</a> - indicates the operation of `<a href="../manualpages/Mat/MATAIJCUSPARSE.html">MATAIJCUSPARSE</a>` (GPU)</font>
<a name="line2432">2432: </a><font color="#B22222"> matrices whose operation should use a particular storage format.</font>
<a name="line2434">2434: </a><font color="#B22222"> Values:</font>
<a name="line2435">2435: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT_DIAG</a>` - sets the storage format for the diagonal matrix in the parallel `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2436">2436: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT_OFFDIAG</a>` - sets the storage format for the off-diagonal matrix in the parallel `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2437">2437: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT</a>` - sets the storage format for the entire matrix in the serial (single GPU) `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2438">2438: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_ALL</a>` - sets the storage format for all `<a href="../manualpages/Mat/MATAIJCUSPARSE.html">MATAIJCUSPARSE</a>` (GPU) matrices</font>
<a name="line2440">2440: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2442">2442: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatCUSPARSESetFormat.html">MatCUSPARSESetFormat</a>()`, `<a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MatCUSPARSEStorageFormat</a>`</font>
<a name="line2443">2443: </a><font color="#B22222">E*/</font>
<a name="line2444">2444: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2445">2445: </a> <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT_DIAG</a>,
<a name="line2446">2446: </a> <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT_OFFDIAG</a>,
<a name="line2447">2447: </a> <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_MULT</a>,
<a name="line2448">2448: </a> <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MAT_CUSPARSE_ALL</a>
<a name="line2449">2449: </a>} <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MatCUSPARSEFormatOperation</a>;
<a name="line2451">2451: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJCUSPARSE.html">MatCreateSeqAIJCUSPARSE</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2452">2452: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateAIJCUSPARSE.html">MatCreateAIJCUSPARSE</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2453">2453: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCUSPARSESetFormat.html">MatCUSPARSESetFormat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatCUSPARSEFormatOperation.html">MatCUSPARSEFormatOperation</a>, <a href="../manualpages/Mat/MatCUSPARSEStorageFormat.html">MatCUSPARSEStorageFormat</a>)</font></strong>;
<a name="line2454">2454: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCUSPARSESetUseCPUSolve.html">MatCUSPARSESetUseCPUSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2455">2455: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSEGetIJ.html">MatSeqAIJCUSPARSEGetIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, const int **, const int **)</font></strong>;
<a name="line2456">2456: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSERestoreIJ.html">MatSeqAIJCUSPARSERestoreIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, const int **, const int **)</font></strong>;
<a name="line2457">2457: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSEGetArrayRead.html">MatSeqAIJCUSPARSEGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2458">2458: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSERestoreArrayRead.html">MatSeqAIJCUSPARSERestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2459">2459: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSEGetArrayWrite.html">MatSeqAIJCUSPARSEGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2460">2460: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSERestoreArrayWrite.html">MatSeqAIJCUSPARSERestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2461">2461: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSEGetArray.html">MatSeqAIJCUSPARSEGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2462">2462: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJCUSPARSERestoreArray.html">MatSeqAIJCUSPARSERestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2464">2464: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateDenseCUDA.html">MatCreateDenseCUDA</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2465">2465: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqDenseCUDA.html">MatCreateSeqDenseCUDA</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2466">2466: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAGetArrayWrite.html">MatDenseCUDAGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2467">2467: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAGetArrayRead.html">MatDenseCUDAGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2468">2468: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAGetArray.html">MatDenseCUDAGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2469">2469: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDARestoreArrayWrite.html">MatDenseCUDARestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2470">2470: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDARestoreArrayRead.html">MatDenseCUDARestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2471">2471: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDARestoreArray.html">MatDenseCUDARestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2472">2472: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAPlaceArray.html">MatDenseCUDAPlaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2473">2473: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAReplaceArray.html">MatDenseCUDAReplaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2474">2474: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDAResetArray.html">MatDenseCUDAResetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2475">2475: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseCUDASetPreallocation.html">MatDenseCUDASetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2477">2477: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatCreateSeqSELLCUDA(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2478">2478: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSELLCUDA.html">MatCreateSELLCUDA</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2479">2479: </a><font color="#A020F0">#endif</font>
<a name="line2481">2481: </a><font color="#A020F0">#ifdef PETSC_HAVE_HIP</font>
<a name="line2482">2482: </a><font color="#B22222">/*E</font>
<a name="line2483">2483: </a><font color="#B22222"> <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MatHIPSPARSEStorageFormat</a> - indicates the storage format for `<a href="../manualpages/Mat/MATAIJHIPSPARSE.html">MATAIJHIPSPARSE</a>` (GPU)</font>
<a name="line2484">2484: </a><font color="#B22222"> matrices.</font>
<a name="line2486">2486: </a><font color="#B22222"> Values:</font>
<a name="line2487">2487: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_CSR</a>` - Compressed Sparse Row</font>
<a name="line2488">2488: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_ELL</a>` - Ellpack</font>
<a name="line2489">2489: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_HYB</a>` - Hybrid, a combination of Ellpack and Coordinate format</font>
<a name="line2491">2491: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2493">2493: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatHIPSPARSESetFormat.html">MatHIPSPARSESetFormat</a>()`, `<a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MatHIPSPARSEFormatOperation</a>`</font>
<a name="line2494">2494: </a><font color="#B22222">E*/</font>
<a name="line2496">2496: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2497">2497: </a> <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_CSR</a>,
<a name="line2498">2498: </a> <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_ELL</a>,
<a name="line2499">2499: </a> <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MAT_HIPSPARSE_HYB</a>
<a name="line2500">2500: </a>} <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MatHIPSPARSEStorageFormat</a>;
<a name="line2502">2502: </a><font color="#B22222">/* these will be strings associated with enumerated type defined above */</font>
<a name="line2503">2503: </a>PETSC_EXTERN const char *const MatHIPSPARSEStorageFormats[];
<a name="line2505">2505: </a><font color="#B22222">/*E</font>
<a name="line2506">2506: </a><font color="#B22222"> <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MatHIPSPARSEFormatOperation</a> - indicates the operation of `<a href="../manualpages/Mat/MATAIJHIPSPARSE.html">MATAIJHIPSPARSE</a>` (GPU)</font>
<a name="line2507">2507: </a><font color="#B22222"> matrices whose operation should use a particular storage format.</font>
<a name="line2509">2509: </a><font color="#B22222"> Values:</font>
<a name="line2510">2510: </a><font color="#B22222">+ `<a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT_DIAG</a>` - sets the storage format for the diagonal matrix in the parallel `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2511">2511: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT_OFFDIAG</a>` - sets the storage format for the off-diagonal matrix in the parallel `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2512">2512: </a><font color="#B22222">. `<a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT</a>` - sets the storage format for the entire matrix in the serial (single GPU) `<a href="../manualpages/Mat/MatMult.html">MatMult</a>()`</font>
<a name="line2513">2513: </a><font color="#B22222">- `<a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_ALL</a>` - sets the storage format for all HIPSPARSE (GPU) matrices</font>
<a name="line2515">2515: </a><font color="#B22222"> Level: intermediate</font>
<a name="line2517">2517: </a><font color="#B22222">.seealso: [](ch_matrices), `<a href="../manualpages/Mat/MatHIPSPARSESetFormat.html">MatHIPSPARSESetFormat</a>()`, `<a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MatHIPSPARSEStorageFormat</a>`</font>
<a name="line2518">2518: </a><font color="#B22222">E*/</font>
<a name="line2519">2519: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {
<a name="line2520">2520: </a> <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT_DIAG</a>,
<a name="line2521">2521: </a> <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT_OFFDIAG</a>,
<a name="line2522">2522: </a> <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_MULT</a>,
<a name="line2523">2523: </a> <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MAT_HIPSPARSE_ALL</a>
<a name="line2524">2524: </a>} <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MatHIPSPARSEFormatOperation</a>;
<a name="line2526">2526: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJHIPSPARSE.html">MatCreateSeqAIJHIPSPARSE</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2527">2527: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateAIJHIPSPARSE.html">MatCreateAIJHIPSPARSE</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2528">2528: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHIPSPARSESetFormat.html">MatHIPSPARSESetFormat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/MatHIPSPARSEFormatOperation.html">MatHIPSPARSEFormatOperation</a>, <a href="../manualpages/Mat/MatHIPSPARSEStorageFormat.html">MatHIPSPARSEStorageFormat</a>)</font></strong>;
<a name="line2529">2529: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHIPSPARSESetUseCPUSolve.html">MatHIPSPARSESetUseCPUSolve</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2530">2530: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSEGetIJ.html">MatSeqAIJHIPSPARSEGetIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, const int **, const int **)</font></strong>;
<a name="line2531">2531: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSERestoreIJ.html">MatSeqAIJHIPSPARSERestoreIJ</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, const int **, const int **)</font></strong>;
<a name="line2532">2532: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSEGetArrayRead.html">MatSeqAIJHIPSPARSEGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2533">2533: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSERestoreArrayRead.html">MatSeqAIJHIPSPARSERestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2534">2534: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSEGetArrayWrite.html">MatSeqAIJHIPSPARSEGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2535">2535: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSERestoreArrayWrite.html">MatSeqAIJHIPSPARSERestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2536">2536: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSEGetArray.html">MatSeqAIJHIPSPARSEGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2537">2537: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJHIPSPARSERestoreArray.html">MatSeqAIJHIPSPARSERestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2539">2539: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateDenseHIP.html">MatCreateDenseHIP</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2540">2540: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqDenseHIP.html">MatCreateSeqDenseHIP</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2541">2541: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPGetArrayWrite.html">MatDenseHIPGetArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2542">2542: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPGetArrayRead.html">MatDenseHIPGetArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2543">2543: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPGetArray.html">MatDenseHIPGetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2544">2544: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPRestoreArrayWrite.html">MatDenseHIPRestoreArrayWrite</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2545">2545: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPRestoreArrayRead.html">MatDenseHIPRestoreArrayRead</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2546">2546: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPRestoreArray.html">MatDenseHIPRestoreArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **)</font></strong>;
<a name="line2547">2547: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPPlaceArray.html">MatDenseHIPPlaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2548">2548: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPReplaceArray.html">MatDenseHIPReplaceArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2549">2549: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPResetArray.html">MatDenseHIPResetArray</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2550">2550: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatDenseHIPSetPreallocation.html">MatDenseHIPSetPreallocation</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *)</font></strong>;
<a name="line2551">2551: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatCreateSeqSELLHIP(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2552">2552: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSELLHIP.html">MatCreateSELLHIP</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2553">2553: </a><font color="#A020F0">#endif</font>
<a name="line2555">2555: </a><font color="#A020F0">#if defined(PETSC_HAVE_VIENNACL)</font>
<a name="line2556">2556: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJViennaCL.html">MatCreateSeqAIJViennaCL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2557">2557: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateAIJViennaCL.html">MatCreateAIJViennaCL</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2558">2558: </a><font color="#A020F0">#endif</font>
<a name="line2560">2560: </a><font color="#A020F0">#if <a href="../manualpages/Sys/PetscDefined.html">PetscDefined</a>(HAVE_KOKKOS)</font>
<a name="line2561">2561: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateAIJKokkos.html">MatCreateAIJKokkos</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2562">2562: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateSeqAIJKokkos.html">MatCreateSeqAIJKokkos</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2563">2563: </a><font color="#A020F0">#endif</font>
<a name="line2565">2565: </a><font color="#A020F0">#if defined(PETSC_HAVE_FFTW)</font>
<a name="line2566">2566: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/VecScatterPetscToFFTW.html">VecScatterPetscToFFTW</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line2567">2567: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/VecScatterFFTWToPetsc.html">VecScatterFFTWToPetsc</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
<a name="line2568">2568: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateVecsFFTW.html">MatCreateVecsFFTW</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a> *, <a href="../manualpages/Vec/Vec.html">Vec</a> *, <a href="../manualpages/Vec/Vec.html">Vec</a> *)</font></strong>;
<a name="line2569">2569: </a><font color="#A020F0">#endif</font>
<a name="line2571">2571: </a><font color="#A020F0">#if defined(PETSC_HAVE_SCALAPACK)</font>
<a name="line2572">2572: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateScaLAPACK.html">MatCreateScaLAPACK</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2573">2573: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatScaLAPACKSetBlockSizes.html">MatScaLAPACKSetBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line2574">2574: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatScaLAPACKGetBlockSizes.html">MatScaLAPACKGetBlockSizes</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2575">2575: </a><font color="#A020F0">#endif</font>
<a name="line2577">2577: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateNest.html">MatCreateNest</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], const <a href="../manualpages/Mat/Mat.html">Mat</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2578">2578: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestGetSize.html">MatNestGetSize</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2579">2579: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestGetISs.html">MatNestGetISs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/IS/IS.html">IS</a>[])</font></strong>;
<a name="line2580">2580: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestGetLocalISs.html">MatNestGetLocalISs</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/IS/IS.html">IS</a>[])</font></strong>;
<a name="line2581">2581: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestGetSubMats.html">MatNestGetSubMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> ***)</font></strong>;
<a name="line2582">2582: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestGetSubMat.html">MatNestGetSubMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2583">2583: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestSetVecType.html">MatNestSetVecType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/VecType.html">VecType</a>)</font></strong>;
<a name="line2584">2584: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestSetSubMats.html">MatNestSetSubMats</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/IS/IS.html">IS</a>[], const <a href="../manualpages/Mat/Mat.html">Mat</a>[])</font></strong>;
<a name="line2585">2585: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatNestSetSubMat.html">MatNestSetSubMat</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2587">2587: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatFilter.html">MatFilter</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2588">2588: </a>PETSC_DEPRECATED_FUNCTION(3, 20, 0, <font color="#666666">"<a href="../manualpages/Mat/MatFilter.html">MatFilter</a>()"</font>, ) static inline <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> MatChop(<a href="../manualpages/Mat/Mat.html">Mat</a> A, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> tol)
<a name="line2589">2589: </a>{
<a name="line2590">2590: </a> <font color="#4169E1">return</font> <a href="../manualpages/Mat/MatFilter.html">MatFilter</a>(A, tol, <a href="../manualpages/Sys/PETSC_FALSE.html">PETSC_FALSE</a>, <a href="../manualpages/Sys/PETSC_FALSE.html">PETSC_FALSE</a>);
<a name="line2591">2591: </a>}
<a name="line2592">2592: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatComputeBandwidth.html">MatComputeBandwidth</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line2594">2594: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSubdomainsCreateCoalesce.html">MatSubdomainsCreateCoalesce</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/IS/IS.html">IS</a> **)</font></strong>;
<a name="line2596">2596: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatPreallocatorPreallocate.html">MatPreallocatorPreallocate</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Mat/Mat.html">Mat</a>)</font></strong>;
<a name="line2598">2598: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHeaderMerge.html">MatHeaderMerge</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2599">2599: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatHeaderReplace.html">MatHeaderReplace</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2601">2601: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSeqAIJGetCSRAndMemType.html">MatSeqAIJGetCSRAndMemType</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **, const <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> **, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> **, <a href="../manualpages/Sys/PetscMemType.html">PetscMemType</a> *)</font></strong>;
<a name="line2603">2603: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateGraph.html">MatCreateGraph</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>[], <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2604">2604: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatEliminateZeros.html">MatEliminateZeros</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line2606">2606: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatCreateDenseFromVecType.html">MatCreateDenseFromVecType</a>(<a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/Vec/VecType.html">VecType</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscScalar.html">PetscScalar</a> *, <a href="../manualpages/Mat/Mat.html">Mat</a> *)</font></strong>;
<a name="line2608">2608: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Mat/MatSetHPL.html">MatSetHPL</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, int)</font></strong>;
<a name="line2609">2609: </a><strong><font color="#228B22">#define PETSCBMHPL </font><font color="#666666">"hpl"</font><font color="#228B22"></font></strong>
<a name="line2611">2611: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/Tao/MatDFischer.html">MatDFischer</a>(<a href="../manualpages/Mat/Mat.html">Mat</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;
</pre>
</body>
</html>
|