45 #ifndef vtkProcessGroup_h 46 #define vtkProcessGroup_h 48 #include "vtkParallelCoreModule.h" 91 vtkGetMacro(NumberOfProcessIds,
int);
106 int GetLocalProcessId();
114 int FindProcessId(
int processId);
120 int AddProcessId(
int processId);
128 int RemoveProcessId(
int processId);
133 void RemoveAllProcessIds();
145 int NumberOfProcessIds;
154 #endif //vtkProcessGroup_h abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
int GetProcessId(int pos)
Given a position in the group, returns the id of the process in the communicator this group is based ...
A subgroup of processes from a communicator.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Used to send/receive messages in a multiprocess environment.
Multiprocessing communication superclass.