|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html >
|
|
|
|
<head><title>Method hierarchy_build</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)">
|
|
|
|
<!-- html,3 -->
|
|
|
|
<meta name="src" content="userhtml.tex">
|
|
|
|
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
|
|
|
</head><body
|
|
|
|
>
|
|
|
|
<!--l. 572--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlsu10.html" ><span
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlsu8.html" ><span
|
|
|
|
class="cmr-12">prev</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlsu8.html#tailuserhtmlsu8.html" ><span
|
|
|
|
class="cmr-12">prev-tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="#tailuserhtmlsu9.html"><span
|
|
|
|
class="cmr-12">tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse5.html#userhtmlsu9.html" ><span
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
<h4 class="subsectionHead"><span class="titlemark"><span
|
|
|
|
class="cmr-12">5.3 </span></span> <a
|
|
|
|
id="x18-170005.3"></a><span
|
|
|
|
class="cmr-12">Method hierarchy</span><span
|
|
|
|
class="cmr-12">_build</span></h4>
|
|
|
|
<div class="center"
|
|
|
|
>
|
|
|
|
<!--l. 574--><p class="noindent" >
|
|
|
|
<!--l. 575--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">call</span><span
|
|
|
|
class="cmtt-12"> p%hierarchy_build(a,desc_a,info)</span></span></span><br />
|
|
|
|
</div>
|
|
|
|
<!--l. 578--><p class="noindent" ><span
|
|
|
|
class="cmr-12">This method builds the hierarchy of matrices and restriction/prolongation operators for</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">the multilevel preconditioner </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">p</span></span></span><span
|
|
|
|
class="cmr-12">, according to the requirements made by the user</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">through the methods </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">init</span></span></span> <span
|
|
|
|
class="cmr-12">and </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">set</span></span></span><span
|
|
|
|
class="cmr-12">.</span>
|
|
|
|
<!--l. 583--><p class="noindent" ><span
|
|
|
|
class="cmbx-12">Arguments</span>
|
|
|
|
<div class="tabular"> <table id="TBL-11" class="tabular"
|
|
|
|
cellspacing="0" cellpadding="0"
|
|
|
|
><colgroup id="TBL-11-1g"><col
|
|
|
|
id="TBL-11-1"><col
|
|
|
|
id="TBL-11-2"></colgroup><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-1-"><td style="white-space:normal; text-align:left;" id="TBL-11-1-1"
|
|
|
|
class="td11"><!--l. 586--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">a</span></span></span> </td><td style="white-space:normal; text-align:left;" id="TBL-11-1-2"
|
|
|
|
class="td11"><!--l. 586--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">type(psb_</span></span></span><span
|
|
|
|
class="cmti-12">x</span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">spmat_type),</span><span
|
|
|
|
class="cmtt-12"> intent(in)</span></span></span><span
|
|
|
|
class="cmr-12">.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-2-"><td style="white-space:normal; text-align:left;" id="TBL-11-2-1"
|
|
|
|
class="td11"><!--l. 587--><p class="noindent" > </td><td style="white-space:normal; text-align:left;" id="TBL-11-2-2"
|
|
|
|
class="td11"><!--l. 587--><p class="noindent" ><span
|
|
|
|
class="cmr-12">The sparse matrix structure containing the local part of the matrix</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">to be preconditioned. Note that </span><span
|
|
|
|
class="cmti-12">x </span><span
|
|
|
|
class="cmr-12">must be chosen according to the</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">real/complex, single/double precision version of AMG4PSBLAS</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">under use. See the PSBLAS User’s Guide for details </span><span class="cite"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlli4.html#XPSBLASGUIDE"><span
|
|
|
|
class="cmr-12">16</span></a><span
|
|
|
|
class="cmr-12">]</span></span><span
|
|
|
|
class="cmr-12">.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-3-"><td style="white-space:normal; text-align:left;" id="TBL-11-3-1"
|
|
|
|
class="td11"><!--l. 592--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">desc_a</span></span></span></td><td style="white-space:normal; text-align:left;" id="TBL-11-3-2"
|
|
|
|
class="td11"><!--l. 592--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">type(psb_desc_type),</span><span
|
|
|
|
class="cmtt-12"> intent(in)</span></span></span><span
|
|
|
|
class="cmr-12">.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-4-"><td style="white-space:normal; text-align:left;" id="TBL-11-4-1"
|
|
|
|
class="td11"><!--l. 593--><p class="noindent" > </td><td style="white-space:normal; text-align:left;" id="TBL-11-4-2"
|
|
|
|
class="td11"><!--l. 593--><p class="noindent" ><span
|
|
|
|
class="cmr-12">The communication descriptor of </span><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">a</span></span></span><span
|
|
|
|
class="cmr-12">. See the PSBLAS User’s Guide</span>
|
|
|
|
<span
|
|
|
|
class="cmr-12">for details </span><span class="cite"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlli4.html#XPSBLASGUIDE"><span
|
|
|
|
class="cmr-12">16</span></a><span
|
|
|
|
class="cmr-12">]</span></span><span
|
|
|
|
class="cmr-12">.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-5-"><td style="white-space:normal; text-align:left;" id="TBL-11-5-1"
|
|
|
|
class="td11"><!--l. 596--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">info</span></span></span> </td><td style="white-space:normal; text-align:left;" id="TBL-11-5-2"
|
|
|
|
class="td11"><!--l. 596--><p class="noindent" ><span class="obeylines-h"><span class="verb"><span
|
|
|
|
class="cmtt-12">integer,</span><span
|
|
|
|
class="cmtt-12"> intent(out)</span></span></span><span
|
|
|
|
class="cmr-12">.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-6-"><td style="white-space:normal; text-align:left;" id="TBL-11-6-1"
|
|
|
|
class="td11"><!--l. 597--><p class="noindent" > </td><td style="white-space:normal; text-align:left;" id="TBL-11-6-2"
|
|
|
|
class="td11"><!--l. 597--><p class="noindent" ><span
|
|
|
|
class="cmr-12">Error code. If no error, 0 is returned. See Section</span><span
|
|
|
|
class="cmr-12"> </span><a
|
|
|
|
href="userhtmlse7.html#x26-300007"><span
|
|
|
|
class="cmr-12">7</span><!--tex4ht:ref: sec:errors --></a> <span
|
|
|
|
class="cmr-12">for details.</span> </td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-11-7-"><td style="white-space:normal; text-align:left;" id="TBL-11-7-1"
|
|
|
|
class="td11"> </td> </tr></table></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 603--><div class="crosslinks"><p class="noindent"><span
|
|
|
|
class="cmr-12">[</span><a
|
|
|
|
href="userhtmlsu10.html" ><span
|
|
|
|
class="cmr-12">next</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlsu8.html" ><span
|
|
|
|
class="cmr-12">prev</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlsu8.html#tailuserhtmlsu8.html" ><span
|
|
|
|
class="cmr-12">prev-tail</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlsu9.html" ><span
|
|
|
|
class="cmr-12">front</span></a><span
|
|
|
|
class="cmr-12">] [</span><a
|
|
|
|
href="userhtmlse5.html#userhtmlsu9.html" ><span
|
|
|
|
class="cmr-12">up</span></a><span
|
|
|
|
class="cmr-12">] </span></p></div>
|
|
|
|
<!--l. 603--><p class="indent" > <a
|
|
|
|
id="tailuserhtmlsu9.html"></a>
|
|
|
|
</body></html>
|