|
VTK
|
scalable collective communication for a subset of members of a parallel VTK application More...
#include <vtkSubGroup.h>
Public Types | |
| enum | { MINOP = 1, MAXOP = 2, SUMOP = 3 } |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
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 |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char debugFlag) |
| virtual void | Modified () |
| virtual unsigned long | GetMTime () |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkSubGroup * | SafeDownCast (vtkObject *o) |
| static vtkSubGroup * | New () |
| static int | MakeSortedUnique (int *list, int len, int **newList) |
Static Public Member Functions inherited from vtkObject | |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Public Attributes | |
| int | tag |
Protected Member Functions | |
| vtkSubGroup () | |
| ~vtkSubGroup () | |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &os) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
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.
Definition at line 49 of file vtkSubGroup.h.
| typedef vtkObject vtkSubGroup::Superclass |
Reimplemented from vtkObject.
Definition at line 52 of file vtkSubGroup.h.
| anonymous enum |
Definition at line 58 of file vtkSubGroup.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkObject.
|
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
|
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
|
static |
Reimplemented from vtkObject.
|
virtual |
|
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 |
|
static |
| int vtkSubGroup::tag |
Definition at line 101 of file vtkSubGroup.h.
1.8.1