Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSubGroup Class Reference

#include <vtkSubGroup.h>

Inheritance diagram for vtkSubGroup:

Inheritance graph
[legend]
Collaboration diagram for vtkSubGroup:

Collaboration graph
[legend]
List of all members.

Detailed Description

scalable collective communication for a subset of members of a parallel VTK application

This class provides scalable broadcast, reduce, etc. using only a vtkMultiProcessController. It does not require MPI. Users are vtkPKdTree and vtkDistributedDataFilter.

See also:
vtkPKdTree vtkDistributedDataFilter
Created by:
  • Fisk, Lee Ann
CVS contributions (if > 5%):
  • Fisk, Lee Ann (82%)
  • Malaterre, Mathieu (17%)
CVS logs (CVSweb):
  • .cxx (/Parallel/vtkSubGroup.cxx)
  • .h (/Parallel/vtkSubGroup.h)

Definition at line 52 of file vtkSubGroup.h.

Public Types

typedef vtkObject Superclass
enum  { MINOP = 1, MAXOP = 2, SUMOP = 3 }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
int Initialize (int p0, int p1, int me, int tag, vtkCommunicator *c)
int Gather (int *data, int *to, int length, int root)
int Gather (char *data, char *to, int length, int root)
int Gather (float *data, float *to, int length, int root)
int Broadcast (float *data, int length, int root)
int Broadcast (double *data, int length, int root)
int Broadcast (int *data, int length, int root)
int Broadcast (char *data, int length, int root)
int ReduceSum (int *data, int *to, int length, int root)
int ReduceMax (float *data, float *to, int length, int root)
int ReduceMax (double *data, double *to, int length, int root)
int ReduceMax (int *data, int *to, int length, int root)
int ReduceMin (float *data, float *to, int length, int root)
int ReduceMin (double *data, double *to, int length, int root)
int ReduceMin (int *data, int *to, int length, int root)
int AllReduceUniqueList (int *list, int len, int **newList)
int MergeSortedUnique (int *list1, int len1, int *list2, int len2, int **newList)
void setGatherPattern (int root, int length)
int getLocalRank (int processID)
int Barrier ()
void PrintSubGroup () const

Static Public Member Functions

int IsTypeOf (const char *type)
vtkSubGroupSafeDownCast (vtkObject *o)
vtkSubGroupNew ()
int MakeSortedUnique (int *list, int len, int **newList)

Public Attributes

int tag

Protected Member Functions

 vtkSubGroup ()
 ~vtkSubGroup ()


Member Typedef Documentation

typedef vtkObject vtkSubGroup::Superclass
 

Reimplemented from vtkObject.

Definition at line 55 of file vtkSubGroup.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
MINOP 
MAXOP 
SUMOP 

Definition at line 61 of file vtkSubGroup.h.


Constructor & Destructor Documentation

vtkSubGroup::vtkSubGroup  )  [protected]
 

vtkSubGroup::~vtkSubGroup  )  [protected]
 


Member Function Documentation

virtual const char* vtkSubGroup::GetClassName  )  [virtual]
 

Reimplemented from vtkObject.

int vtkSubGroup::IsTypeOf const char *  type  )  [static]
 

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.

Reimplemented from vtkObject.

virtual int vtkSubGroup::IsA const char *  type  )  [virtual]
 

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.

Reimplemented from vtkObject.

vtkSubGroup* vtkSubGroup::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkObject.

virtual void vtkSubGroup::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

vtkSubGroup* vtkSubGroup::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

int vtkSubGroup::Initialize int  p0,
int  p1,
int  me,
int  tag,
vtkCommunicator c
 

Initialize a communication subgroup for the processes with rank p0 through p1 of the given communicator. (So vtkSubGroup is limited to working with subgroups that are identified by a contiguous set of rank IDs.) The third argument is the callers rank, which must in the range from p0 through p1.

int vtkSubGroup::Gather int *  data,
int *  to,
int  length,
int  root
 

int vtkSubGroup::Gather char *  data,
char *  to,
int  length,
int  root
 

int vtkSubGroup::Gather float *  data,
float *  to,
int  length,
int  root
 

int vtkSubGroup::Broadcast float *  data,
int  length,
int  root
 

int vtkSubGroup::Broadcast double *  data,
int  length,
int  root
 

int vtkSubGroup::Broadcast int *  data,
int  length,
int  root
 

int vtkSubGroup::Broadcast char *  data,
int  length,
int  root
 

int vtkSubGroup::ReduceSum int *  data,
int *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMax float *  data,
float *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMax double *  data,
double *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMax int *  data,
int *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMin float *  data,
float *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMin double *  data,
double *  to,
int  length,
int  root
 

int vtkSubGroup::ReduceMin int *  data,
int *  to,
int  length,
int  root
 

int vtkSubGroup::AllReduceUniqueList int *  list,
int  len,
int **  newList
 

int vtkSubGroup::MergeSortedUnique int *  list1,
int  len1,
int *  list2,
int  len2,
int **  newList
 

void vtkSubGroup::setGatherPattern int  root,
int  length
 

int vtkSubGroup::getLocalRank int  processID  ) 
 

int vtkSubGroup::Barrier  ) 
 

void vtkSubGroup::PrintSubGroup  )  const
 

int vtkSubGroup::MakeSortedUnique int *  list,
int  len,
int **  newList
[static]
 


Member Data Documentation

int vtkSubGroup::tag
 

Definition at line 98 of file vtkSubGroup.h.


The documentation for this class was generated from the following file: