You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.2 KiB
HTML
129 lines
3.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2008 (1.71)
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>psb_sizeof -- Memory occupation</TITLE>
|
|
<META NAME="description" CONTENT="psb_sizeof -- Memory occupation">
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
<LINK REL="next" HREF="node69.html">
|
|
<LINK REL="previous" HREF="node67.html">
|
|
<LINK REL="up" HREF="node42.html">
|
|
<LINK REL="next" HREF="node69.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html1028"
|
|
HREF="node69.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html1024"
|
|
HREF="node42.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html1018"
|
|
HREF="node67.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html1026"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1029"
|
|
HREF="node69.html">Sorting utilities</A>
|
|
<B> Up:</B> <A NAME="tex2html1025"
|
|
HREF="node42.html">Data management routines</A>
|
|
<B> Previous:</B> <A NAME="tex2html1019"
|
|
HREF="node67.html">psb_sp_getrow Extract</A>
|
|
<B> <A NAME="tex2html1027"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION000726000000000000000">
|
|
psb_sizeof -- Memory occupation</A>
|
|
</H2>
|
|
|
|
<P>
|
|
This function computes the memory occupation of a PSBLAS object.
|
|
|
|
<P>
|
|
<PRE>
|
|
isz = psb_sizeof(a)
|
|
isz = psb_sizeof(desc_a)
|
|
isz = psb_sizeof(prec)
|
|
</PRE>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG>Type:</STRONG></DT>
|
|
<DD>Asynchronous.
|
|
</DD>
|
|
<DT><STRONG><B>On Entry</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>a</STRONG></DT>
|
|
<DD>A sparse matrix
|
|
<IMG
|
|
WIDTH="16" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
|
SRC="img1.png"
|
|
ALT="$A$">.
|
|
<BR>
|
|
Scope: <B>local</B>
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
Intent: <B>in</B>.
|
|
<BR>
|
|
Specified as: a structured data of type spdata<TT>psb_spmat_type</TT>.
|
|
</DD>
|
|
<DT><STRONG>desc_a</STRONG></DT>
|
|
<DD>Communication descriptor.
|
|
<BR>
|
|
Scope: <B>local</B>
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
Intent: <B>in</B>.
|
|
<BR>
|
|
Specified as: a structured data of type descdata<TT>psb_desc_type</TT>.
|
|
</DD>
|
|
<DT><STRONG>prec</STRONG></DT>
|
|
<DD>Scope: <B>local</B>
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
Intent: <B>in</B>.
|
|
<BR>
|
|
Specified as: a preconditioner data structure precdata<TT>psb_prec_type</TT>.
|
|
</DD>
|
|
<DT><STRONG><B>On Return</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>Function value</STRONG></DT>
|
|
<DD>The memory occupation of the object specified in
|
|
the calling sequence, in bytes.
|
|
<BR>
|
|
Scope: <B>local</B>
|
|
<BR>
|
|
Returned as: an <code>integer(psb_long_int_k_)</code> number.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<BR><HR>
|
|
|
|
</BODY>
|
|
</HTML>
|