File: dlinsolx2_8c.html

package info (click to toggle)
superlu 7.0.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,292 kB
  • sloc: ansic: 59,338; makefile: 413; csh: 141; f90: 125; fortran: 77
file content (233 lines) | stat: -rw-r--r-- 15,895 bytes parent folder | download
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
<!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/dlinsolx2.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">&#160;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&amp;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">dlinsolx2.c File Reference<div class="ingroups"><a class="el" href="group__Example.html">Example</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>DGSSVX to solve systems repeatedly with the same sparsity pattern of matrix A.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;getopt.h&gt;</code><br />
<code>#include &quot;<a class="el" href="slu__ddefs_8h_source.html">slu_ddefs.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for dlinsolx2.c:</div>
<div class="dyncontent">
<div class="center"><img src="dlinsolx2_8c__incl.png" border="0" usemap="#aEXAMPLE_2dlinsolx2_8c" alt=""/></div>
<map name="aEXAMPLE_2dlinsolx2_8c" id="aEXAMPLE_2dlinsolx2_8c">
<area shape="rect" title="DGSSVX to solve systems repeatedly with the same sparsity pattern of matrix A." alt="" coords="228,5,379,32"/>
<area shape="rect" title=" " alt="" coords="216,80,287,107"/>
<area shape="rect" href="slu__ddefs_8h.html" title="Header file for real operations." alt="" coords="311,80,402,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" 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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dlinsolx2_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">&#160;</td><td class="mdescRight">Parse command line options to get relaxed snode size, panel size, etc.  <a href="dlinsolx2_8c.html#a693ba86aac49435e82cf3a57a4412744">More...</a><br /></td></tr>
<tr class="separator:a693ba86aac49435e82cf3a57a4412744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dlinsolx2_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a0ddf1224851353fc92bfbff6f499fa97" name="a0ddf1224851353fc92bfbff6f499fa97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ddf1224851353fc92bfbff6f499fa97">&#9670;&nbsp;</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&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >The driver program DLINSOLX2.</p>
<p >This example illustrates how to use DGSSVX 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 DGSSVX: perm_c, etree</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="dlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph.png" border="0" usemap="#adlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph" alt=""/></div>
<map name="adlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph" id="adlinsolx2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph">
<area shape="rect" title=" " alt="" coords="5,1389,56,1416"/>
<area shape="rect" href="dutil_8c.html#a0a2a790bf8c793c9c0ea7aceb9532584" title="Supernodal LU factor related." alt="" coords="583,956,759,983"/>
<area shape="rect" href="dutil_8c.html#a12ac523141a258590a76bdad390928fd" title=" " alt="" coords="118,1389,277,1416"/>
<area shape="rect" href="util_8c.html#a27491a8171a480d6c98e6d1e535e1973" title="Deallocate SuperMatrix of type NC." alt="" coords="110,1440,285,1467"/>
<area shape="rect" href="util_8c.html#a301f89dc9483e5bcdc47fc96e8645cf7" title="Deallocate SuperMatrix of type DN." alt="" coords="119,1491,276,1517"/>
<area shape="rect" href="util_8c.html#aea724a390aed4ef00a4b8ed783c60014" title="Deallocate SuperMatrix of type SC." alt="" coords="104,1541,291,1568"/>
<area shape="rect" href="dutil_8c.html#a83b6ea01e8b7df0cc9c6fe5261647367" title="Let rhs[i] = sum of i&#45;th row of A, so the solution vector is all 1&#39;s." alt="" coords="160,419,235,445"/>
<area shape="rect" href="dutil_8c.html#acdfe40e3085c29fd483b63a15ed163c7" title=" " alt="" coords="154,1592,241,1619"/>
<area shape="rect" href="dgssvx_8c.html#ae9391c1ef1644a9f118a788639b840ea" title=" " alt="" coords="165,629,229,656"/>
<area shape="rect" href="memory_8c.html#aef293480a9ff932ae7bf49a1c7e52b15" title=" " alt="" coords="626,905,715,932"/>
<area shape="rect" href="SRC_2dmemory_8c.html#ac67b2ffe0b0c24cb28a82520689166b1" title=" " alt="" coords="807,804,907,831"/>
<area shape="rect" href="memory_8c.html#af80c9ccfaa9f16f21cdb5df589eb1692" title=" " alt="" coords="633,1161,708,1188"/>
<area shape="rect" href="dreadhb_8c.html#a23321d4083f9c3a19f6eef8c6d863a72" title="Auxiliary routines." alt="" coords="162,1339,233,1365"/>
<area shape="rect" href="dlinsolx2_8c.html#a693ba86aac49435e82cf3a57a4412744" title="Parse command line options to get relaxed snode size, panel size, etc." alt="" coords="123,1643,272,1669"/>
<area shape="rect" href="util_8c.html#a4792687285a879f7955029421ba99795" title="Set the default values for the options argument." alt="" coords="129,1693,266,1720"/>
<area shape="rect" href="util_8c.html#a7d50e009f6f1f4ba8a63cdd912a0d31d" title="Deallocate SuperLU stat." alt="" coords="161,1744,234,1771"/>
<area shape="rect" href="util_8c.html#a9b8745daf1fd22070364570977fe1ccc" title="Initialize SuperLU stat." alt="" coords="165,107,229,133"/>
<area shape="rect" href="util_8c.html#aef88fef229bf26ba82b50d99c20ad915" title="Display SuperLU stat." alt="" coords="161,1795,234,1821"/>
<area shape="rect" href="dsp__blas3_8c.html#a6c8c4772ca0f241a43c5561b646fb749" title=" " alt="" coords="393,259,481,285"/>
<area shape="rect" href="dsp__blas2_8c.html#a221dfb4c5cbc550095a989c61fec4993" title="Performs one of the matrix&#45;vector operations y := alpha*A*x + beta*y, or y := alpha*A&#39;*x + beta*y," alt="" coords="629,348,713,375"/>
<area shape="rect" href="input__error_8c.html#ad4e27444570b55672c6d20dc1adb12c0" title=" " alt="" coords="961,399,1047,425"/>
<area shape="rect" href="util_8c.html#a7285ca16a0b84b4333d71efeb65c0126" title="Deallocate SuperMatrix of type NCP." alt="" coords="339,461,535,488"/>
<area shape="rect" href="util_8c.html#ac16a0aea75cf99b4d38ec4ede6f13eb4" title="Deallocate SuperMatrix." alt="" coords="363,563,510,605"/>
<area shape="rect" href="dgscon_8c.html#a2c7a4267d306243d3ceb15531522033e" title=" " alt="" coords="404,680,469,707"/>
<area shape="rect" href="dgsequ_8c.html#aaf22b247cc134fb0ba90285e84ccebb4" title="Driver related." alt="" coords="404,309,469,336"/>
<area shape="rect" href="dmach_8c.html#a9619845d75710daa0aa4549c2862bae5" title=" " alt="" coords="639,399,702,425"/>
<area shape="rect" href="dgsrfs_8c.html#adb43f7a2408ddb763f36fbfcc0482f28" title=" " alt="" coords="407,629,466,656"/>
<area shape="rect" href="dgstrs_8c.html#a6e3eace519372b7dfcd053e0d3614fc1" title=" " alt="" coords="641,753,700,780"/>
<area shape="rect" href="SRC_2dgstrf_8c.html#a421512dfd49263d31f1e42fe315abd19" title=" " alt="" coords="409,781,465,808"/>
<area shape="rect" href="TESTING_2sp__ienv_8c.html#a21109476f1261abd6b256a393f5fd9e7" title=" " alt="" coords="637,208,705,235"/>
<area shape="rect" href="dlangs_8c.html#a75a53f4464b95c63adad9e1f63f44d1c" title=" " alt="" coords="406,883,467,909"/>
<area shape="rect" href="dlaqgs_8c.html#a07e1fa4926680eb02069087f0aa26fa1" title=" " alt="" coords="406,512,467,539"/>
<area shape="rect" href="dpivotgrowth_8c.html#a770618182a3841e8d10a26a4eb97418a" title=" " alt="" coords="385,360,488,387"/>
<area shape="rect" href="SRC_2dmemory_8c.html#ae94c561110fcc75c31cda89105fd0a6c" title=" " alt="" coords="385,208,489,235"/>
<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,1085,483,1112"/>
<area shape="rect" href="superlu__timer_8c.html#a901b1224789fec99ee424cbfde8fb301" title="Timer function." alt="" coords="611,1040,730,1067"/>
<area shape="rect" href="sp__preorder_8c.html#ad3a9a45f02456022c7eba79e17e215bc" title=" " alt="" coords="390,1136,483,1163"/>
<area shape="rect" href="dlacon2_8c.html#a2c302d4fb016bb92527dcd1e360198c3" title=" " alt="" coords="633,601,709,628"/>
<area shape="rect" href="SRC_2dmemory_8c.html#a032db6b3a4ed1f7c0f5375a7b87666ce" title=" " alt="" coords="955,753,1053,780"/>
<area shape="rect" href="dsp__blas2_8c.html#aaa92ff654356fe62f70ebef5815627e4" title="Solves one of the systems of equations A*x = b, or A&#39;*x = b." alt="" coords="821,703,893,729"/>
<area shape="rect" href="ilu__dcopy__to__ucol_8c.html#a24a0d368c78074384922e9d10b43f820" title=" " alt="" coords="824,551,889,577"/>
<area shape="rect" href="ilu__ddrop__row_8c.html#a5112358cf2de43341aaff9fba0066afc" title=" " alt="" coords="638,449,703,476"/>
<area shape="rect" href="SRC_2dmemory_8c.html#a9dfa1590b060d0f0ff664fb37fafa5f2" title="Allocate storage for original matrix A." alt="" coords="395,1440,479,1467"/>
<area shape="rect" href="dreadhb_8c.html#ab87732418a8ca2e99d65165ea7f9a2c5" title="Eat up the rest of the current line." alt="" coords="391,1592,482,1619"/>
<area shape="rect" href="dreadhb_8c.html#a341d1f00e157073d681d37e87c417e69" title=" " alt="" coords="369,1339,505,1365"/>
<area shape="rect" href="dreadhb_8c.html#a84a11fcb3558dba9f846610da6fbec2c" title=" " alt="" coords="376,1389,497,1416"/>
<area shape="rect" href="dreadhb_8c.html#acca1e3b19661f732344b530c8cbf25c3" title=" " alt="" coords="385,1491,488,1517"/>
<area shape="rect" href="dreadhb_8c.html#aa036f100005495ee183f8fd44b49c449" title=" " alt="" coords="395,1237,479,1264"/>
<area shape="rect" href="dreadhb_8c.html#a474c3ada8ad8a7fad38aee00e3b62b04" title=" " alt="" coords="391,1541,483,1568"/>
<area shape="rect" href="memory_8c.html#aaf3f8faaec1c91be7653f137844806e0" title=" " alt="" coords="393,5,481,32"/>
</map>
</div>

</div>
</div>
<a id="a693ba86aac49435e82cf3a57a4412744" name="a693ba86aac49435e82cf3a57a4412744"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a693ba86aac49435e82cf3a57a4412744">&#9670;&nbsp;</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&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>lwork</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</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> *&#160;</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> *&#160;</td>
          <td class="paramname"><em>trans</em>&#160;</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&#160;<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>