<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>psb_spall &#8212; Allocates a sparse matrix</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<!-- html,3 --> 
<meta name="src" content="userhtml.tex"> 
<link rel="stylesheet" type="text/css" href="userhtml.css"> 
</head><body 
>
   <!--l. 547--><div class="crosslinks"><p class="noindent">[<a 
href="userhtmlsu40.html" >next</a>] [<a 
href="userhtmlsu35.html" >prev</a>] [<a 
href="userhtmlsu35.html#tailuserhtmlsu35.html" >prev-tail</a>] [<a 
href="userhtmlsu33.html#tailuserhtmlsu36.html">tail</a>] [<a 
href="userhtmlsu32.html#userhtmlsu39.html" >up</a>] </p></div>
   <h4 class="subsectionHead"><span class="titlemark">6.7   </span> <a 
 id="x47-840006.7"></a>psb_spall &#8212; Allocates a sparse matrix</h4>
                                                                  

                                                                  
   <div class="verbatim" id="verbatim-63">
call&#x00A0;psb_spall(a,&#x00A0;desc_a,&#x00A0;info,&#x00A0;nnz)
</div>
<!--l. 551--><p class="nopar" >
<!--l. 553--><p class="indent" >
     <dl class="description"><dt class="description">
<span 
class="cmbx-10">Type:</span> </dt><dd 
class="description">Synchronous.
     </dd><dt class="description">
<span 
class="cmbx-10">On Entry</span> </dt><dd 
class="description">
     </dd><dt class="description">
<span 
class="cmbx-10">desc</span><span 
class="cmbx-10">_a</span> </dt><dd 
class="description">the communication descriptor.<br 
class="newline" />Scope:<span 
class="cmbx-10">local</span>.<br 
class="newline" />Type:<span 
class="cmbx-10">required</span>.<br 
class="newline" />Intent: <span 
class="cmbx-10">in</span>.<br 
class="newline" />Specified as: a structured data of type <a 
href="userhtmlsu5.html#descdata"><span 
class="cmtt-10">psb</span><span 
class="cmtt-10">_desc</span><span 
class="cmtt-10">_type</span></a>.
     </dd><dt class="description">
<span 
class="cmbx-10">nnz</span> </dt><dd 
class="description">An estimate of the number of nonzeroes in the local part of the assembled
     matrix.<br 
class="newline" />Scope: <span 
class="cmbx-10">global</span>.<br 
class="newline" />Type: <span 
class="cmbx-10">optional</span>.<br 
class="newline" />Intent: <span 
class="cmbx-10">in</span>.<br 
class="newline" />Specified as: an integer value.</dd></dl>
<!--l. 569--><p class="indent" >
     <dl class="description"><dt class="description">
<span 
class="cmbx-10">On Return</span> </dt><dd 
class="description">
     </dd><dt class="description">
<span 
class="cmbx-10">a</span> </dt><dd 
class="description">the matrix to be allocated.<br 
class="newline" />Scope:<span 
class="cmbx-10">local</span><br 
class="newline" />Type:<span 
class="cmbx-10">required</span><br 
class="newline" />Intent: <span 
class="cmbx-10">out</span>.<br 
class="newline" />Specified as: a structured data of type <a 
href="userhtmlsu6.html#spdata"><span 
class="cmtt-10">psb</span><span 
class="cmtt-10">_Tspmat</span><span 
class="cmtt-10">_type</span></a>.
     </dd><dt class="description">
<span 
class="cmbx-10">info</span> </dt><dd 
class="description">Error code.<br 
class="newline" />Scope: <span 
class="cmbx-10">local </span><br 
class="newline" />Type: <span 
class="cmbx-10">required </span><br 
class="newline" />Intent: <span 
class="cmbx-10">out</span>.<br 
class="newline" />An integer value; 0 means no error has been detected.</dd></dl>
<!--l. 582--><p class="noindent" ><span 
class="cmbx-12">Notes</span>
     <ol  class="enumerate1" >
     <li 
  class="enumerate" id="x47-84002x1">On exit from this routine the sparse matrix is in the build state.
                                                                  

                                                                  
     </li>
     <li 
  class="enumerate" id="x47-84004x2">The descriptor may be in either the build or assembled state.
     </li>
     <li 
  class="enumerate" id="x47-84006x3">Providing  a  good  estimate  for  the  number  of  nonzeroes  <span 
class="cmmi-10">nnz  </span>in  the
     assembled matrix may substantially improve performance in the matrix
     build  phase,  as  it  will  reduce  or  eliminate  the  need  for  (potentially
     multiple) data reallocations.</li></ol>
                                                                  

                                                                  
                                                                  

                                                                  
   <!--l. 598--><div class="crosslinks"><p class="noindent">[<a 
href="userhtmlsu40.html" >next</a>] [<a 
href="userhtmlsu35.html" >prev</a>] [<a 
href="userhtmlsu35.html#tailuserhtmlsu35.html" >prev-tail</a>] [<a 
href="userhtmlsu36.html" >front</a>] [<a 
href="userhtmlsu32.html#userhtmlsu39.html" >up</a>] </p></div>
<!--l. 598--><p class="indent" >   <a 
 id="tailuserhtmlsu36.html"></a>  
</body></html>