<!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>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 v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="userhtml.css"> <LINK REL="next" HREF="node18.html"> <LINK REL="previous" HREF="node16.html"> <LINK REL="up" HREF="node15.html"> <LINK REL="next" HREF="node18.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html383" HREF="node18.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html379" HREF="node15.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html373" HREF="node16.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html381" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html384" HREF="node18.html">get_global_rows Get</A> <B> Up:</B> <A NAME="tex2html380" HREF="node15.html">Data structure query routines</A> <B> Previous:</B> <A NAME="tex2html374" HREF="node16.html">get_local_rows Get</A> <B> <A NAME="tex2html382" HREF="node1.html">Contents</A></B> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION00045200000000000000"> get_local_cols -- Get number of local cols</A> </H3> <P> <PRE> nc = desc%get_local_cols() </PRE> <P> <DL> <DT><STRONG><B>On Entry</B></STRONG></DT> <DD> </DD> <DT><STRONG>Type:</STRONG></DT> <DD>Asynchronous. </DD> <DT><STRONG>desc</STRONG></DT> <DD>the 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> </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>