Section: Visualization Toolkit Parallel Classes
.SECTION Note This class will be deprecated soon. Instead of using this class, use the collective and subgrouping operations now built into vtkMultiProcessController. The only reason this class is not deprecated already is because vtkPKdTree relies heavily on this class in ways that are not easy to work around. Since vtkPKdTree is due for a major overhaul anyway, we are leaving things the way they are for now.
To create an instance of class vtkSubGroup, simply invoke its constructor as follows
obj = vtkSubGroup
obj
is an instance of the vtkSubGroup class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkSubGroup = obj.NewInstance ()
vtkSubGroup = obj.SafeDownCast (vtkObject o)
int = obj.Initialize (int p0, int p1, int me, int tag, vtkCommunicator c)
int = obj.Gather (int data, int to, int length, int root)
int = obj.Gather (string data, string to, int length, int root)
int = obj.Gather (float data, float to, int length, int root)
int = obj.Broadcast (float data, int length, int root)
int = obj.Broadcast (double data, int length, int root)
int = obj.Broadcast (int data, int length, int root)
int = obj.Broadcast (string data, int length, int root)
int = obj.ReduceSum (int data, int to, int length, int root)
int = obj.ReduceMax (float data, float to, int length, int root)
int = obj.ReduceMax (double data, double to, int length, int root)
int = obj.ReduceMax (int data, int to, int length, int root)
int = obj.ReduceMin (float data, float to, int length, int root)
int = obj.ReduceMin (double data, double to, int length, int root)
int = obj.ReduceMin (int data, int to, int length, int root)
obj.setGatherPattern (int root, int length)
int = obj.getLocalRank (int processID)
int = obj.Barrier ()
obj.PrintSubGroup () const