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.
103 lines
2.8 KiB
HTML
103 lines
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2012 (1.2)
|
|
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>get_local_cols -- Get number of local cols</TITLE>
|
|
<META NAME="description" CONTENT="get_local_cols -- Get number of local cols">
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
<LINK REL="next" HREF="node14.html">
|
|
<LINK REL="previous" HREF="node12.html">
|
|
<LINK REL="up" HREF="node10.html">
|
|
<LINK REL="next" HREF="node14.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html390"
|
|
HREF="node14.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html386"
|
|
HREF="node10.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html380"
|
|
HREF="node12.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html388"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html391"
|
|
HREF="node14.html">get_global_rows Get</A>
|
|
<B> Up:</B> <A NAME="tex2html387"
|
|
HREF="node10.html">Descriptor data structure</A>
|
|
<B> Previous:</B> <A NAME="tex2html381"
|
|
HREF="node12.html">get_local_rows Get</A>
|
|
<B> <A NAME="tex2html389"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H3><A NAME="SECTION00041300000000000000">
|
|
get_local_cols -- Get number of local cols</A>
|
|
</H3>
|
|
|
|
<P>
|
|
<PRE>
|
|
nc = desc%get_local_cols()
|
|
</PRE>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG>Type:</STRONG></DT>
|
|
<DD>Asynchronous.
|
|
</DD>
|
|
<DT><STRONG><B>On Entry</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>desc</STRONG></DT>
|
|
<DD>the communication descriptor.
|
|
<BR>
|
|
Scope: <B>local</B>.
|
|
<BR></DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG><B>On Return</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>Function value</STRONG></DT>
|
|
<DD>The number of local cols, i.e. the number of
|
|
indices used by the current process, including both local and halo
|
|
indices; as explained in <A HREF="node2.html#sec:intro">1</A>,
|
|
it is equal to <!-- MATH
|
|
$|{\cal I}_i| + |{\cal B}_i| +|{\cal H}_i|$
|
|
-->
|
|
<IMG
|
|
WIDTH="118" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
|
|
SRC="img11.png"
|
|
ALT="$\vert{\cal I}_i\vert + \vert{\cal B}_i\vert +\vert{\cal H}_i\vert$">. The
|
|
returned value is specific to the calling process.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<BR><HR>
|
|
|
|
</BODY>
|
|
</HTML>
|