Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b96b0d782c858619536ab397b702cc7e > files > 49

mpich2-doc-1.0.8-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPE_Num_colors</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPE_Num_colors"><H1>MPE_Num_colors</H1></A>
Gets the number of available colors 
<H2>Synopsis</H2>
<PRE>
#include "mpe.h" 
int MPE_Num_colors( handle, nc )
MPE_XGraph handle;
int        *nc;
</PRE>
<H2>Input Parameter</H2>
<DL><DT><B>handle </B> <DD> MPE graphics handle
</DL>
<P>
<H2>Output Parameter</H2>
<DL><DT><B>nc </B> <DD> Number of colors available on the display.
</DL>
<P>
<P>
<H2>Notes For Fortran Interface </H2>
The Fortran interface to this routine is different from its C
counterpart and it has an additional argument, ierr, at the end
of the argument list, i.e. the returned function value (the error
code) in C interface is returned as the additional argument in
Fortran interface.  The Fortran interface is invoked with the
CALL statement.
<P>
All MPI and MPE objects, MPI_Comm, MPE_XGraph and MPE_Color, are
of type INTEGER in Fortran.
<P><B>Location:</B>../src/graphics/src/mpe_graphics.c<P>
</BODY></HTML>