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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SuperLU: EXAMPLE/zlinsolx2.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">SuperLU<span id="projectnumber"> 7.0.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_2ed5cd83c419d7f3788213bde77ef248.html">EXAMPLE</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">zlinsolx2.c File Reference<div class="ingroups"><a class="el" href="group__Example.html">Example</a></div></div></div>
</div><!--header-->
<div class="contents">
<p>ZGSSVX to solve systems repeatedly with the same sparsity pattern of matrix A.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include <getopt.h></code><br />
<code>#include "<a class="el" href="slu__zdefs_8h_source.html">slu_zdefs.h</a>"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for zlinsolx2.c:</div>
<div class="dyncontent">
<div class="center"><img src="zlinsolx2_8c__incl.png" border="0" usemap="#aEXAMPLE_2zlinsolx2_8c" alt=""/></div>
<map name="aEXAMPLE_2zlinsolx2_8c" id="aEXAMPLE_2zlinsolx2_8c">
<area shape="rect" title="ZGSSVX to solve systems repeatedly with the same sparsity pattern of matrix A." alt="" coords="267,5,417,32"/>
<area shape="rect" title=" " alt="" coords="255,80,325,107"/>
<area shape="rect" href="slu__zdefs_8h.html" title="Header file for real operations." alt="" coords="349,80,439,107"/>
<area shape="rect" title=" " alt="" coords="5,155,68,181"/>
<area shape="rect" title=" " alt="" coords="93,155,157,181"/>
<area shape="rect" title=" " alt="" coords="95,229,157,256"/>
<area shape="rect" title=" " alt="" coords="181,229,245,256"/>
<area shape="rect" title=" " alt="" coords="432,155,497,181"/>
<area shape="rect" title=" " alt="" coords="552,229,617,256"/>
<area shape="rect" href="slu__Cnames_8h.html" title="Macros defining how C routines will be called." alt="" coords="522,155,629,181"/>
<area shape="rect" href="superlu__config_8h.html" title=" " alt="" coords="653,155,773,181"/>
<area shape="rect" href="supermatrix_8h.html" title="Matrix type definitions." alt="" coords="797,155,900,181"/>
<area shape="rect" href="slu__util_8h.html" title="Utility header file." alt="" coords="282,155,357,181"/>
<area shape="rect" href="slu__dcomplex_8h.html" title="Header file for complex operations." alt="" coords="925,155,1039,181"/>
<area shape="rect" title=" " alt="" coords="458,229,527,256"/>
<area shape="rect" href="superlu__enum__consts_8h.html" title="enum constants header file" alt="" coords="269,229,433,256"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a693ba86aac49435e82cf3a57a4412744"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="zlinsolx2_8c.html#a693ba86aac49435e82cf3a57a4412744">parse_command_line</a> (int argc, char *argv[], int *lwork, double *u, <a class="el" href="superlu__enum__consts_8h.html#ae6553118ce91b9c08f9376941ae1536f">yes_no_t</a> *equil, <a class="el" href="superlu__enum__consts_8h.html#a0c4e17b2d5cea33f9991ccc6a6678d62">trans_t</a> *trans)</td></tr>
<tr class="memdesc:a693ba86aac49435e82cf3a57a4412744"><td class="mdescLeft"> </td><td class="mdescRight">Parse command line options to get relaxed snode size, panel size, etc. <a href="zlinsolx2_8c.html#a693ba86aac49435e82cf3a57a4412744">More...</a><br /></td></tr>
<tr class="separator:a693ba86aac49435e82cf3a57a4412744"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="zlinsolx2_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a0ddf1224851353fc92bfbff6f499fa97" name="a0ddf1224851353fc92bfbff6f499fa97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ddf1224851353fc92bfbff6f499fa97">◆ </a></span>main()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char * </td>
<td class="paramname"><em>argv</em>[] </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p >The driver program ZLINSOLX2.</p>
<p >This example illustrates how to use ZGSSVX to solve systems repeatedly with the same sparsity pattern of matrix A. In this case, the column permutation vector perm_c is computed once. The following data structures will be reused in the subsequent call to ZGSSVX: perm_c, etree</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="zlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph.png" border="0" usemap="#azlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph" alt=""/></div>
<map name="azlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph" id="azlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph">
<area shape="rect" title=" " alt="" coords="5,828,56,855"/>
<area shape="rect" href="util_8c.html#a27491a8171a480d6c98e6d1e535e1973" title="Deallocate SuperMatrix of type NC." alt="" coords="110,27,285,54"/>
<area shape="rect" href="util_8c.html#a301f89dc9483e5bcdc47fc96e8645cf7" title="Deallocate SuperMatrix of type DN." alt="" coords="119,78,276,104"/>
<area shape="rect" href="util_8c.html#aea724a390aed4ef00a4b8ed783c60014" title="Deallocate SuperMatrix of type SC." alt="" coords="104,128,291,155"/>
<area shape="rect" href="zmemory_8c.html#abe25de7ac95d08769687751ffebc755b" title=" " alt="" coords="807,255,957,282"/>
<area shape="rect" href="memory_8c.html#aef293480a9ff932ae7bf49a1c7e52b15" title=" " alt="" coords="626,828,715,855"/>
<area shape="rect" href="memory_8c.html#af80c9ccfaa9f16f21cdb5df589eb1692" title=" " alt="" coords="845,1284,919,1311"/>
<area shape="rect" href="zlinsolx2_8c.html#a693ba86aac49435e82cf3a57a4412744" title="Parse command line options to get relaxed snode size, panel size, etc." alt="" coords="123,727,272,754"/>
<area shape="rect" href="util_8c.html#a4792687285a879f7955029421ba99795" title="Set the default values for the options argument." alt="" coords="129,778,266,804"/>
<area shape="rect" href="util_8c.html#a7d50e009f6f1f4ba8a63cdd912a0d31d" title="Deallocate SuperLU stat." alt="" coords="161,828,234,855"/>
<area shape="rect" href="util_8c.html#a9b8745daf1fd22070364570977fe1ccc" title="Initialize SuperLU stat." alt="" coords="165,407,229,434"/>
<area shape="rect" href="util_8c.html#aef88fef229bf26ba82b50d99c20ad915" title="Display SuperLU stat." alt="" coords="161,930,234,956"/>
<area shape="rect" href="zutil_8c.html#ad055a61ba199b5071804c15d32dae257" title="Supernodal LU factor related." alt="" coords="583,930,759,956"/>
<area shape="rect" href="zutil_8c.html#a8316b5e4832ca200a14d14f5ed164695" title=" " alt="" coords="118,1031,277,1058"/>
<area shape="rect" href="zutil_8c.html#acf2b404121b9a70942631f50b85fd8a1" title="Let rhs[i] = sum of i-th row of A, so the solution vector is all 1's." alt="" coords="161,980,234,1007"/>
<area shape="rect" href="zutil_8c.html#aa81fbc4bdd835def817191d94fb8b208" title=" " alt="" coords="155,1132,240,1159"/>
<area shape="rect" href="zgssvx_8c.html#aa1a03889e81dede4207fb30436127959" title=" " alt="" coords="166,610,229,636"/>
<area shape="rect" href="zreadhb_8c.html#a7d2e0add84b68d8ce02245b0332a0e5d" title="Auxiliary routines." alt="" coords="401,1563,472,1590"/>
<area shape="rect" href="memory_8c.html#aaf3f8faaec1c91be7653f137844806e0" title=" " alt="" coords="393,52,481,79"/>
<area shape="rect" href="TESTING_2sp__ienv_8c.html#a21109476f1261abd6b256a393f5fd9e7" title=" " alt="" coords="637,508,705,535"/>
<area shape="rect" href="input__error_8c.html#ad4e27444570b55672c6d20dc1adb12c0" title=" " alt="" coords="839,432,925,459"/>
<area shape="rect" href="zsp__blas3_8c.html#a2648905c9e6009b63d3bf0bb4d673e8e" title=" " alt="" coords="393,828,480,855"/>
<area shape="rect" href="zsp__blas2_8c.html#a9ea39731f07b4c2ab20e44c97ffd773c" title="Performs one of the matrix-vector operations y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y." alt="" coords="629,458,712,484"/>
<area shape="rect" href="util_8c.html#a7285ca16a0b84b4333d71efeb65c0126" title="Deallocate SuperMatrix of type NCP." alt="" coords="339,660,535,687"/>
<area shape="rect" href="util_8c.html#ac16a0aea75cf99b4d38ec4ede6f13eb4" title="Deallocate SuperMatrix." alt="" coords="363,712,510,753"/>
<area shape="rect" href="dmach_8c.html#a9619845d75710daa0aa4549c2862bae5" title=" " alt="" coords="639,255,702,282"/>
<area shape="rect" href="get__perm__c_8c.html#aaecb6e6e7a3e97356050bcfdf2573796" title="Obtains a permutation matrix by applying the multiple minimum degree ordering code." alt="" coords="391,1132,483,1159"/>
<area shape="rect" href="superlu__timer_8c.html#a901b1224789fec99ee424cbfde8fb301" title="Timer function." alt="" coords="611,980,730,1007"/>
<area shape="rect" href="sp__preorder_8c.html#ad3a9a45f02456022c7eba79e17e215bc" title=" " alt="" coords="390,1284,483,1311"/>
<area shape="rect" href="zgscon_8c.html#a6be8d109849b5406d8256de2419caf2e" title=" " alt="" coords="405,778,469,804"/>
<area shape="rect" href="zgsequ_8c.html#a55aa9c7e1576dc4bd1e5d3155f35598c" title="Driver related." alt="" coords="404,306,469,332"/>
<area shape="rect" href="zgsrfs_8c.html#ac21acad54459e74738cbca9f7f20a73b" title=" " alt="" coords="408,356,465,383"/>
<area shape="rect" href="zgstrs_8c.html#a7ddda3f91ee65762d0589d5d613f2795" title=" " alt="" coords="642,204,699,231"/>
<area shape="rect" href="zgstrf_8c.html#a9958cef7946c50ec8c5cba0dde894ebf" title=" " alt="" coords="409,879,464,906"/>
<area shape="rect" href="zlangs_8c.html#a37d1ec3ddab88e8c46872c5795ea5ada" title=" " alt="" coords="407,559,467,586"/>
<area shape="rect" href="zlaqgs_8c.html#a46f8eefc33139578d9b4f6d1444a993c" title=" " alt="" coords="407,154,467,180"/>
<area shape="rect" href="zpivotgrowth_8c.html#a713bc716e136b32dfad757a3fd7d3005" title=" " alt="" coords="386,204,487,231"/>
<area shape="rect" href="zmemory_8c.html#a286bf5eff2472576ba5fafe9d1daf835" title=" " alt="" coords="385,508,488,535"/>
<area shape="rect" href="get__perm__c_8c.html#a842fe36b4354a3434c1b340195c71e22" title="Form the structure of A'+A." alt="" coords="631,1284,711,1311"/>
<area shape="rect" href="mmd_8c.html#aaaff516b361a031e00ca2bc8e835eb54" title=" " alt="" coords="630,1082,711,1108"/>
<area shape="rect" href="get__perm__c_8c.html#a4d27a2c28e6a97a8480d587376f467de" title="Get COLAMD's permutation for matrix A." alt="" coords="625,1132,716,1159"/>
<area shape="rect" href="get__perm__c_8c.html#a4366ba634b60299b1172c0313c5e8aea" title="Get METIS' permutation for matrix B." alt="" coords="631,1183,711,1210"/>
<area shape="rect" href="get__perm__c_8c.html#a357185b632937f39cc4a3b64db5903c9" title="Form the structure of A'*A." alt="" coords="641,1031,700,1058"/>
<area shape="rect" href="zreadhb_8c.html#afe163c8afe875095907b8319c0530254" title=" " alt="" coords="629,1487,713,1514"/>
<area shape="rect" href="zreadhb_8c.html#a474c3ada8ad8a7fad38aee00e3b62b04" title=" " alt="" coords="625,1588,717,1615"/>
<area shape="rect" href="zmemory_8c.html#aa968733d38f78b47b26458dc907fa982" title="Allocate storage for original matrix A." alt="" coords="629,1386,713,1412"/>
<area shape="rect" href="zreadhb_8c.html#a4c9a9a1484351dcc1ae1a756a18081e7" title="Eat up the rest of the current line." alt="" coords="626,1639,715,1666"/>
<area shape="rect" href="zreadhb_8c.html#afb86c617e31fa765098b83fd74539b9b" title=" " alt="" coords="603,1690,739,1716"/>
<area shape="rect" href="zreadhb_8c.html#ab753ef9c907b1298d163150b6e658247" title=" " alt="" coords="611,1740,731,1767"/>
<area shape="rect" href="zreadhb_8c.html#a321d6efeb00f45e3e4c961dcc3aa0fcc" title="Read complex numbers as pairs of (real, imaginary)" alt="" coords="620,1538,721,1564"/>
</map>
</div>
</div>
</div>
<a id="a693ba86aac49435e82cf3a57a4412744" name="a693ba86aac49435e82cf3a57a4412744"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a693ba86aac49435e82cf3a57a4412744">◆ </a></span>parse_command_line()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void parse_command_line </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char * </td>
<td class="paramname"><em>argv</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>lwork</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double * </td>
<td class="paramname"><em>u</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="superlu__enum__consts_8h.html#ae6553118ce91b9c08f9376941ae1536f">yes_no_t</a> * </td>
<td class="paramname"><em>equil</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="superlu__enum__consts_8h.html#a0c4e17b2d5cea33f9991ccc6a6678d62">trans_t</a> * </td>
<td class="paramname"><em>trans</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
|