47 #ifndef __vtkProcessGroup_h
48 #define __vtkProcessGroup_h
50 #include "vtkParallelCoreModule.h"
51 #include "vtkObject.h"
61 virtual void PrintSelf(ostream &os, vtkIndent indent);
86 vtkGetMacro(NumberOfProcessIds,
int);
97 int GetLocalProcessId();
103 int FindProcessId(
int processId);
107 int AddProcessId(
int processId);
113 int RemoveProcessId(
int processId);
117 void RemoveAllProcessIds();
136 #endif //__vtkProcessGroup_h
vtkCommunicator * Communicator
int GetProcessId(int pos)
A subgroup of processes from a communicator.
Used to send/receive messages in a multiprocess environment.
Multiprocessing communication superclass.