Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 1307

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkProcessGroup Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkProcessGroup Class Reference</h1><!-- doxytag: class="vtkProcessGroup" --><!-- doxytag: inherits="vtkObject" --><code>#include &lt;<a class="el" href="a05127.html">vtkProcessGroup.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkProcessGroup:</div>
<div class="dynsection">
<p><center><img src="a13423.png" border="0" usemap="#a13424" alt="Inheritance graph"></center>
<map name="a13424">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="30,80,110,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="15,6,124,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkProcessGroup:</div>
<div class="dynsection">
<p><center><img src="a13425.png" border="0" usemap="#a13426" alt="Collaboration graph"></center>
<map name="a13426">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a00293.html" title="Used to send/receive messages in a multiprocess environment." alt="" coords="148,173,276,200"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a13427.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A subgroup of processes from a communicator. 
<p>
This class is used for creating groups of processes. A <a class="el" href="a01304.html" title="A subgroup of processes from a communicator.">vtkProcessGroup</a> is initialized by passing the controller or communicator on which the group is based off of. You can then use the group to subset and reorder the the processes. Eventually, you can pass the group object to the CreateSubController method of <a class="el" href="a01062.html" title="Multiprocessing communication superclass.">vtkMultiProcessController</a> to create a controller for the defined group of processes. You must use the same controller (or attached communicator) from which this group was initialized with.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a01062.html" title="Multiprocessing communication superclass.">vtkMultiProcessController</a>, <a class="el" href="a00293.html" title="Used to send/receive messages in a multiprocess environment.">vtkCommunicator</a></dd></dl>
<dl class="user" compact><dt><b>Thanks:</b></dt><dd>This class was originally written by Kenneth Moreland (<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>) from Sandia National Laboratories.</dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_12.html#c2_vtk_t_vtkProcessGroup">vtkProcessGroup (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a05127.html#l00055">55</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01084.html">vtkObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#cbbfe7ddaae81b2a0f8967513443c9a3">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#a18f8df7177dfca550d6212b6dcc61a9">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#76d3375fff34657789974f1c88ad296e">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#80e8422ba80d1bc2aee7536e0bd59726">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#620f364ba1c0ee7307f4cd4c0c95b46a">SetCommunicator</a> (<a class="el" href="a00293.html">vtkCommunicator</a> *communicator)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#1271fe8cd2fe7cc7d4081a1346882bfe">GetProcessId</a> (int pos)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#79ab4539dfea80c5e0c7c8290abace87">GetLocalProcessId</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#2d0fc0d43696fe867503b976a25ee4b2">FindProcessId</a> (int processId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#481e33eb3bfbd48fe1074047d3758ee6">AddProcessId</a> (int processId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#eb7debbf1444d2d2ea22b8f9a4133d0e">RemoveProcessId</a> (int processId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#73111c1a1d902ac0c40d74af1f2c209a">RemoveAllProcessIds</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#e28d599817a3efa9ad732b5ec0878ce4">Copy</a> (<a class="el" href="a01304.html">vtkProcessGroup</a> *group)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#77602f0bea3a01e16f50c1942f3ade3e">Initialize</a> (<a class="el" href="a01062.html">vtkMultiProcessController</a> *controller)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#4d5b0222d9651ced8535f5143d754a18">Initialize</a> (<a class="el" href="a00293.html">vtkCommunicator</a> *communicator)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a00293.html">vtkCommunicator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#bbe562d39b38abb0d75c6d39db2872c4">GetCommunicator</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#5d9496e61641ba3a675bee9577a55faa">GetNumberOfProcessIds</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#de7175a293d9ffb719bcd4f455a69974">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01304.html">vtkProcessGroup</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#49e238e463da0debcd701292e0c968c3">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01304.html">vtkProcessGroup</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#4d1b675a2347d5ff876b932e2337b2af">New</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#785c61a2a58454a1439e68d9d30f5a86">vtkProcessGroup</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#db9d12b814d2c3446b7c0193abd0125e">~vtkProcessGroup</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#5c83c7ff7befcf53455731a44be0068a">ProcessIds</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#c51391929f3513307bc980ae60a941ac">NumberOfProcessIds</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00293.html">vtkCommunicator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01304.html#6d3a485fdbe190c68437061512b3ef2d">Communicator</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="cbbfe7ddaae81b2a0f8967513443c9a3"></a><!-- doxytag: member="vtkProcessGroup::Superclass" ref="cbbfe7ddaae81b2a0f8967513443c9a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkProcessGroup::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p>

<p>Definition at line <a class="el" href="a05127.html#l00058">58</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="785c61a2a58454a1439e68d9d30f5a86"></a><!-- doxytag: member="vtkProcessGroup::vtkProcessGroup" ref="785c61a2a58454a1439e68d9d30f5a86" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkProcessGroup::vtkProcessGroup           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="db9d12b814d2c3446b7c0193abd0125e"></a><!-- doxytag: member="vtkProcessGroup::~vtkProcessGroup" ref="db9d12b814d2c3446b7c0193abd0125e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkProcessGroup::~vtkProcessGroup           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a18f8df7177dfca550d6212b6dcc61a9"></a><!-- doxytag: member="vtkProcessGroup::GetClassName" ref="a18f8df7177dfca550d6212b6dcc61a9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkProcessGroup::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="de7175a293d9ffb719bcd4f455a69974"></a><!-- doxytag: member="vtkProcessGroup::IsTypeOf" ref="de7175a293d9ffb719bcd4f455a69974" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkProcessGroup::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="76d3375fff34657789974f1c88ad296e"></a><!-- doxytag: member="vtkProcessGroup::IsA" ref="76d3375fff34657789974f1c88ad296e" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkProcessGroup::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="49e238e463da0debcd701292e0c968c3"></a><!-- doxytag: member="vtkProcessGroup::SafeDownCast" ref="49e238e463da0debcd701292e0c968c3" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01304.html">vtkProcessGroup</a>* vtkProcessGroup::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="4d1b675a2347d5ff876b932e2337b2af"></a><!-- doxytag: member="vtkProcessGroup::New" ref="4d1b675a2347d5ff876b932e2337b2af" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01304.html">vtkProcessGroup</a>* vtkProcessGroup::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="80e8422ba80d1bc2aee7536e0bd59726"></a><!-- doxytag: member="vtkProcessGroup::PrintSelf" ref="80e8422ba80d1bc2aee7536e0bd59726" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkProcessGroup::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01084.html#bf3dbb4154289b56a12483eee3866263">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="77602f0bea3a01e16f50c1942f3ade3e"></a><!-- doxytag: member="vtkProcessGroup::Initialize" ref="77602f0bea3a01e16f50c1942f3ade3e" args="(vtkMultiProcessController *controller)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkProcessGroup::Initialize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01062.html">vtkMultiProcessController</a> *&nbsp;</td>
          <td class="paramname"> <em>controller</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize the group to the given controller or communicator. The group will be set to contain all of the processes in the controller/communicator in the same order. 
</div>
</div><p>
<a class="anchor" name="4d5b0222d9651ced8535f5143d754a18"></a><!-- doxytag: member="vtkProcessGroup::Initialize" ref="4d5b0222d9651ced8535f5143d754a18" args="(vtkCommunicator *communicator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkProcessGroup::Initialize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00293.html">vtkCommunicator</a> *&nbsp;</td>
          <td class="paramname"> <em>communicator</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialize the group to the given controller or communicator. The group will be set to contain all of the processes in the controller/communicator in the same order. 
</div>
</div><p>
<a class="anchor" name="bbe562d39b38abb0d75c6d39db2872c4"></a><!-- doxytag: member="vtkProcessGroup::GetCommunicator" ref="bbe562d39b38abb0d75c6d39db2872c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00293.html">vtkCommunicator</a>* vtkProcessGroup::GetCommunicator           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the communicator on which this group is based on. 
</div>
</div><p>
<a class="anchor" name="620f364ba1c0ee7307f4cd4c0c95b46a"></a><!-- doxytag: member="vtkProcessGroup::SetCommunicator" ref="620f364ba1c0ee7307f4cd4c0c95b46a" args="(vtkCommunicator *communicator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkProcessGroup::SetCommunicator           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00293.html">vtkCommunicator</a> *&nbsp;</td>
          <td class="paramname"> <em>communicator</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the communicator. This has the same effect as Initialize except that the contents of the group will not be modified (although they may be truncated if the new communicator is smaller than the current group). Note that this can lead to an invalid group if there are values in the group that are not valid in the new communicator. 
</div>
</div><p>
<a class="anchor" name="5d9496e61641ba3a675bee9577a55faa"></a><!-- doxytag: member="vtkProcessGroup::GetNumberOfProcessIds" ref="5d9496e61641ba3a675bee9577a55faa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkProcessGroup::GetNumberOfProcessIds           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the size of this group (the number of processes defined in it). 
</div>
</div><p>
<a class="anchor" name="1271fe8cd2fe7cc7d4081a1346882bfe"></a><!-- doxytag: member="vtkProcessGroup::GetProcessId" ref="1271fe8cd2fe7cc7d4081a1346882bfe" args="(int pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkProcessGroup::GetProcessId           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>pos</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a position in the group, returns the id of the process in the communicator this group is based on. For example, if this group contains {6, 2, 8, 1}, then GetProcessId(2) will return 8 and GetProcessId(3) will return 1. 
<p>Definition at line <a class="el" href="a05127.html#l00092">92</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="79ab4539dfea80c5e0c7c8290abace87"></a><!-- doxytag: member="vtkProcessGroup::GetLocalProcessId" ref="79ab4539dfea80c5e0c7c8290abace87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkProcessGroup::GetLocalProcessId           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the process id for the local process (as defined by the group's communicator). Returns -1 if the local process is not in the group. 
</div>
</div><p>
<a class="anchor" name="2d0fc0d43696fe867503b976a25ee4b2"></a><!-- doxytag: member="vtkProcessGroup::FindProcessId" ref="2d0fc0d43696fe867503b976a25ee4b2" args="(int processId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkProcessGroup::FindProcessId           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>processId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a process id in the communicator, this method returns its location in the group or -1 if it is not in the group. For example, if this group contains {6, 2, 8, 1}, then FindProcessId(2) will return 1 and FindProcessId(3) will return -1. 
</div>
</div><p>
<a class="anchor" name="481e33eb3bfbd48fe1074047d3758ee6"></a><!-- doxytag: member="vtkProcessGroup::AddProcessId" ref="481e33eb3bfbd48fe1074047d3758ee6" args="(int processId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkProcessGroup::AddProcessId           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>processId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a process id to the end of the group (if it is not already in the group). Returns the location where the id was stored. 
</div>
</div><p>
<a class="anchor" name="eb7debbf1444d2d2ea22b8f9a4133d0e"></a><!-- doxytag: member="vtkProcessGroup::RemoveProcessId" ref="eb7debbf1444d2d2ea22b8f9a4133d0e" args="(int processId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkProcessGroup::RemoveProcessId           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>processId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove the given process id from the group (assuming it is in the group). All ids to the "right" of the removed id are shifted over. Returns 1 if the process id was removed, 0 if the process id was not in the group in the first place. 
</div>
</div><p>
<a class="anchor" name="73111c1a1d902ac0c40d74af1f2c209a"></a><!-- doxytag: member="vtkProcessGroup::RemoveAllProcessIds" ref="73111c1a1d902ac0c40d74af1f2c209a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkProcessGroup::RemoveAllProcessIds           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Removes all the processes ids from the group, leaving the group empty. 
</div>
</div><p>
<a class="anchor" name="e28d599817a3efa9ad732b5ec0878ce4"></a><!-- doxytag: member="vtkProcessGroup::Copy" ref="e28d599817a3efa9ad732b5ec0878ce4" args="(vtkProcessGroup *group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkProcessGroup::Copy           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01304.html">vtkProcessGroup</a> *&nbsp;</td>
          <td class="paramname"> <em>group</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copies the given group's communicator and process ids. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="5c83c7ff7befcf53455731a44be0068a"></a><!-- doxytag: member="vtkProcessGroup::ProcessIds" ref="5c83c7ff7befcf53455731a44be0068a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="a01304.html#5c83c7ff7befcf53455731a44be0068a">vtkProcessGroup::ProcessIds</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05127.html#l00125">125</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="c51391929f3513307bc980ae60a941ac"></a><!-- doxytag: member="vtkProcessGroup::NumberOfProcessIds" ref="c51391929f3513307bc980ae60a941ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a01304.html#c51391929f3513307bc980ae60a941ac">vtkProcessGroup::NumberOfProcessIds</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05127.html#l00126">126</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6d3a485fdbe190c68437061512b3ef2d"></a><!-- doxytag: member="vtkProcessGroup::Communicator" ref="6d3a485fdbe190c68437061512b3ef2d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00293.html">vtkCommunicator</a>* <a class="el" href="a01304.html#6d3a485fdbe190c68437061512b3ef2d">vtkProcessGroup::Communicator</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05127.html#l00128">128</a> of file <a class="el" href="a05127.html">vtkProcessGroup.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Parallel/<a class="el" href="a05127.html">vtkProcessGroup.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:27:07 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>