Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vtkMPIMoveData Class Reference

Moves/redistributes data between processes. More...

#include <vtkMPIMoveData.h>

Inheritance diagram for vtkMPIMoveData:
Inheritance graph
[legend]
Collaboration diagram for vtkMPIMoveData:
Collaboration graph
[legend]

Public Types

enum  MoveModes {
  PASS_THROUGH = 0, COLLECT = 1, CLONE = 2, COLLECT_AND_PASS_THROUGH = 3,
  INVALID
}
 
typedef vtkPassInputTypeAlgorithm Superclass
 
- Public Types inherited from vtkPassInputTypeAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void InitializeForCommunicationForParaView ()
 Use this method to initialize all communicators/sockets using ParaView defaults. More...
 
void SetMoveModeToPassThrough ()
 Specify how the data is to be redistributed. More...
 
void SetMoveModeToCollect ()
 
void SetMoveModeToClone ()
 
virtual void SetMoveMode (int)
 
bool GetOutputGeneratedOnProcess ()
 vtkMPIMoveData doesn't necessarily generate a valid output data on all the involved processes (depending on the MoveMode and Server ivars). More...
 
void SetController (vtkMultiProcessController *controller)
 Objects for communication. More...
 
void SetMPIMToNSocketConnection (vtkMPIMToNSocketConnection *sc)
 Objects for communication. More...
 
void SetClientDataServerSocketController (vtkMultiProcessController *)
 Objects for communication. More...
 
virtual vtkMultiProcessControllerGetClientDataServerSocketController ()
 Objects for communication. More...
 
void SetServerToClient ()
 Tell the object on which client/server it resides. More...
 
void SetServerToDataServer ()
 Tell the object on which client/server it resides. More...
 
void SetServerToRenderServer ()
 Tell the object on which client/server it resides. More...
 
virtual void SetServer (int)
 Tell the object on which client/server it resides. More...
 
virtual int GetServer ()
 Tell the object on which client/server it resides. More...
 
virtual void SetOutputDataType (int)
 Controls the output type. More...
 
virtual int GetOutputDataType ()
 Controls the output type. More...
 
virtual void SetSkipDataServerGatherToZero (bool)
 When set, vtkMPIMoveData will skip the gather-to-root-node process altogether. More...
 
virtual bool GetSkipDataServerGatherToZero ()
 When set, vtkMPIMoveData will skip the gather-to-root-node process altogether. More...
 
- Public Member Functions inherited from vtkPassInputTypeAlgorithm
vtkPassInputTypeAlgorithmNewInstance () const
 
vtkPolyDataGetPolyDataOutput ()
 
vtkStructuredPointsGetStructuredPointsOutput ()
 
vtkImageDataGetImageDataOutput ()
 
vtkStructuredGridGetStructuredGridOutput ()
 
vtkUnstructuredGridGetUnstructuredGridOutput ()
 
vtkRectilinearGridGetRectilinearGridOutput ()
 
vtkTableGetTableOutput ()
 
vtkGraphGetGraphOutput ()
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkMPIMoveDataNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMPIMoveDataSafeDownCast (vtkObject *o)
 
static void SetUseZLibCompression (bool b)
 When set to true, zlib compression is used. More...
 
static bool GetUseZLibCompression ()
 When set to true, zlib compression is used. More...
 
- Static Public Member Functions inherited from vtkPassInputTypeAlgorithm
static vtkPassInputTypeAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPassInputTypeAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Types

enum  Servers { CLIENT = 0, DATA_SERVER = 1, RENDER_SERVER = 2 }
 

Protected Member Functions

 vtkMPIMoveData ()
 
 ~vtkMPIMoveData () override
 
int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
void DataServerAllToN (vtkDataObject *inData, vtkDataObject *outData, int n)
 
void DataServerGatherAll (vtkDataObject *input, vtkDataObject *output)
 
void DataServerGatherToZero (vtkDataObject *input, vtkDataObject *output)
 
void DataServerSendToRenderServer (vtkDataObject *output)
 
void RenderServerReceiveFromDataServer (vtkDataObject *output)
 
void DataServerZeroSendToRenderServerZero (vtkDataObject *data)
 
void RenderServerZeroReceiveFromDataServerZero (vtkDataObject *data)
 
void RenderServerZeroBroadcast (vtkDataObject *data)
 
void DataServerSendToClient (vtkDataObject *output)
 
void ClientReceiveFromDataServer (vtkDataObject *output)
 
void ClearBuffer ()
 
void MarshalDataToBuffer (vtkDataObject *data)
 
void ReconstructDataFromBuffer (vtkDataObject *data)
 
- Protected Member Functions inherited from vtkPassInputTypeAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPassInputTypeAlgorithm ()
 
 ~vtkPassInputTypeAlgorithm ()
 
virtual int RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkMultiProcessControllerController
 
vtkMultiProcessControllerClientDataServerSocketController
 
vtkMPIMToNSocketConnectionMPIMToNSocketConnection
 
int NumberOfBuffers
 
vtkIdTypeBufferLengths
 
vtkIdTypeBufferOffsets
 
char * Buffers
 
vtkIdType BufferTotalLength
 
int MoveMode
 
int Server
 
bool SkipDataServerGatherToZero
 
int OutputDataType
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

Moves/redistributes data between processes.

This class combines all the duplicate and collection requirements into one filter. It can move polydata and unstructured grid between processes. It can redistributed polydata from M to N processors. Update: This filter can now support delivering vtkUniformGridAMR datasets in PASS_THROUGH and/or COLLECT modes.

Definition at line 27 of file vtkMPIMoveData.h.

Member Typedef Documentation

◆ Superclass

Definition at line 31 of file vtkMPIMoveData.h.

Member Enumeration Documentation

◆ MoveModes

Enumerator
PASS_THROUGH 
COLLECT 
CLONE 
COLLECT_AND_PASS_THROUGH 
INVALID 

Definition at line 123 of file vtkMPIMoveData.h.

◆ Servers

enum vtkMPIMoveData::Servers
protected
Enumerator
CLIENT 
DATA_SERVER 
RENDER_SERVER 

Definition at line 172 of file vtkMPIMoveData.h.

Constructor & Destructor Documentation

◆ vtkMPIMoveData()

vtkMPIMoveData::vtkMPIMoveData ( )
protected

◆ ~vtkMPIMoveData()

vtkMPIMoveData::~vtkMPIMoveData ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkMPIMoveData* vtkMPIMoveData::New ( )
static

◆ GetClassName()

virtual const char* vtkMPIMoveData::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkMPIMoveData::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkMPIMoveData::IsA ( const char *  type)
virtual

Reimplemented from vtkPassInputTypeAlgorithm.

◆ SafeDownCast()

static vtkMPIMoveData* vtkMPIMoveData::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkMPIMoveData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkPassInputTypeAlgorithm.

◆ InitializeForCommunicationForParaView()

virtual void vtkMPIMoveData::InitializeForCommunicationForParaView ( )
virtual

Use this method to initialize all communicators/sockets using ParaView defaults.

◆ SetController()

void vtkMPIMoveData::SetController ( vtkMultiProcessController controller)

Objects for communication.

The controller is an MPI controller used to communicate between processes within one server (render or data). The client-data server socket controller is set on the client and data server and is used to communicate between the two. MPIMToNSocetConnection is set on the data server and render server when we are running with a render server. It has multiple sockets which are used to send data from the data server to the render server. ClientDataServerController==0 => One MPI program. MPIMToNSocketConnection==0 => Client-DataServer. MPIMToNSocketConnection==1 => Client-DataServer-RenderServer.

◆ SetMPIMToNSocketConnection()

void vtkMPIMoveData::SetMPIMToNSocketConnection ( vtkMPIMToNSocketConnection sc)

Objects for communication.

The controller is an MPI controller used to communicate between processes within one server (render or data). The client-data server socket controller is set on the client and data server and is used to communicate between the two. MPIMToNSocetConnection is set on the data server and render server when we are running with a render server. It has multiple sockets which are used to send data from the data server to the render server. ClientDataServerController==0 => One MPI program. MPIMToNSocketConnection==0 => Client-DataServer. MPIMToNSocketConnection==1 => Client-DataServer-RenderServer.

◆ SetClientDataServerSocketController()

void vtkMPIMoveData::SetClientDataServerSocketController ( vtkMultiProcessController )

Objects for communication.

The controller is an MPI controller used to communicate between processes within one server (render or data). The client-data server socket controller is set on the client and data server and is used to communicate between the two. MPIMToNSocetConnection is set on the data server and render server when we are running with a render server. It has multiple sockets which are used to send data from the data server to the render server. ClientDataServerController==0 => One MPI program. MPIMToNSocketConnection==0 => Client-DataServer. MPIMToNSocketConnection==1 => Client-DataServer-RenderServer.

◆ GetClientDataServerSocketController()

virtual vtkMultiProcessController* vtkMPIMoveData::GetClientDataServerSocketController ( )
virtual

Objects for communication.

The controller is an MPI controller used to communicate between processes within one server (render or data). The client-data server socket controller is set on the client and data server and is used to communicate between the two. MPIMToNSocetConnection is set on the data server and render server when we are running with a render server. It has multiple sockets which are used to send data from the data server to the render server. ClientDataServerController==0 => One MPI program. MPIMToNSocketConnection==0 => Client-DataServer. MPIMToNSocketConnection==1 => Client-DataServer-RenderServer.

◆ SetServerToClient()

void vtkMPIMoveData::SetServerToClient ( )
inline

Tell the object on which client/server it resides.

Whether the sockets are set helps determine which servers are running.

Definition at line 66 of file vtkMPIMoveData.h.

◆ SetServerToDataServer()

void vtkMPIMoveData::SetServerToDataServer ( )
inline

Tell the object on which client/server it resides.

Whether the sockets are set helps determine which servers are running.

Definition at line 67 of file vtkMPIMoveData.h.

◆ SetServerToRenderServer()

void vtkMPIMoveData::SetServerToRenderServer ( )
inline

Tell the object on which client/server it resides.

Whether the sockets are set helps determine which servers are running.

Definition at line 68 of file vtkMPIMoveData.h.

◆ SetServer()

virtual void vtkMPIMoveData::SetServer ( int  )
virtual

Tell the object on which client/server it resides.

Whether the sockets are set helps determine which servers are running.

◆ GetServer()

virtual int vtkMPIMoveData::GetServer ( )
virtual

Tell the object on which client/server it resides.

Whether the sockets are set helps determine which servers are running.

◆ SetMoveModeToPassThrough()

void vtkMPIMoveData::SetMoveModeToPassThrough ( )
inline

Specify how the data is to be redistributed.

Definition at line 76 of file vtkMPIMoveData.h.

◆ SetMoveModeToCollect()

void vtkMPIMoveData::SetMoveModeToCollect ( )
inline

Definition at line 77 of file vtkMPIMoveData.h.

◆ SetMoveModeToClone()

void vtkMPIMoveData::SetMoveModeToClone ( )
inline

Definition at line 78 of file vtkMPIMoveData.h.

◆ SetMoveMode()

virtual void vtkMPIMoveData::SetMoveMode ( int  )
virtual

◆ SetOutputDataType()

virtual void vtkMPIMoveData::SetOutputDataType ( int  )
virtual

Controls the output type.

This is required because processes receiving data cannot know their output type in RequestDataObject without communicating with other processes. Since communicating with other processes in RequestDataObject is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. The default is VTK_POLY_DATA.

◆ GetOutputDataType()

virtual int vtkMPIMoveData::GetOutputDataType ( )
virtual

Controls the output type.

This is required because processes receiving data cannot know their output type in RequestDataObject without communicating with other processes. Since communicating with other processes in RequestDataObject is dangerous (can cause deadlock because it may happen out-of-sync), the application has to set the output type. The default is VTK_POLY_DATA.

◆ SetUseZLibCompression()

static void vtkMPIMoveData::SetUseZLibCompression ( bool  b)
static

When set to true, zlib compression is used.

False by default. This value has any effect only on the data-sender processes. The receiver always checks the received data to see if zlib decompression is required.

◆ GetUseZLibCompression()

static bool vtkMPIMoveData::GetUseZLibCompression ( )
static

When set to true, zlib compression is used.

False by default. This value has any effect only on the data-sender processes. The receiver always checks the received data to see if zlib decompression is required.

◆ GetOutputGeneratedOnProcess()

bool vtkMPIMoveData::GetOutputGeneratedOnProcess ( )

vtkMPIMoveData doesn't necessarily generate a valid output data on all the involved processes (depending on the MoveMode and Server ivars).

This returns true if valid data is available on the current processes after successful Update() given the current ivars).

◆ SetSkipDataServerGatherToZero()

virtual void vtkMPIMoveData::SetSkipDataServerGatherToZero ( bool  )
virtual

When set, vtkMPIMoveData will skip the gather-to-root-node process altogether.

This is useful when the data is already cloned on the server-nodes or we are interested in the root-node result alone.

◆ GetSkipDataServerGatherToZero()

virtual bool vtkMPIMoveData::GetSkipDataServerGatherToZero ( )
virtual

When set, vtkMPIMoveData will skip the gather-to-root-node process altogether.

This is useful when the data is already cloned on the server-nodes or we are interested in the root-node result alone.

◆ RequestDataObject()

int vtkMPIMoveData::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

Reimplemented from vtkPassInputTypeAlgorithm.

◆ RequestData()

int vtkMPIMoveData::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

Reimplemented from vtkPassInputTypeAlgorithm.

◆ FillInputPortInformation()

int vtkMPIMoveData::FillInputPortInformation ( int  port,
vtkInformation info 
)
overrideprotectedvirtual

Reimplemented from vtkPassInputTypeAlgorithm.

◆ DataServerAllToN()

void vtkMPIMoveData::DataServerAllToN ( vtkDataObject inData,
vtkDataObject outData,
int  n 
)
protected

◆ DataServerGatherAll()

void vtkMPIMoveData::DataServerGatherAll ( vtkDataObject input,
vtkDataObject output 
)
protected

◆ DataServerGatherToZero()

void vtkMPIMoveData::DataServerGatherToZero ( vtkDataObject input,
vtkDataObject output 
)
protected

◆ DataServerSendToRenderServer()

void vtkMPIMoveData::DataServerSendToRenderServer ( vtkDataObject output)
protected

◆ RenderServerReceiveFromDataServer()

void vtkMPIMoveData::RenderServerReceiveFromDataServer ( vtkDataObject output)
protected

◆ DataServerZeroSendToRenderServerZero()

void vtkMPIMoveData::DataServerZeroSendToRenderServerZero ( vtkDataObject data)
protected

◆ RenderServerZeroReceiveFromDataServerZero()

void vtkMPIMoveData::RenderServerZeroReceiveFromDataServerZero ( vtkDataObject data)
protected

◆ RenderServerZeroBroadcast()

void vtkMPIMoveData::RenderServerZeroBroadcast ( vtkDataObject data)
protected

◆ DataServerSendToClient()

void vtkMPIMoveData::DataServerSendToClient ( vtkDataObject output)
protected

◆ ClientReceiveFromDataServer()

void vtkMPIMoveData::ClientReceiveFromDataServer ( vtkDataObject output)
protected

◆ ClearBuffer()

void vtkMPIMoveData::ClearBuffer ( )
protected

◆ MarshalDataToBuffer()

void vtkMPIMoveData::MarshalDataToBuffer ( vtkDataObject data)
protected

◆ ReconstructDataFromBuffer()

void vtkMPIMoveData::ReconstructDataFromBuffer ( vtkDataObject data)
protected

Member Data Documentation

◆ Controller

vtkMultiProcessController* vtkMPIMoveData::Controller
protected

Definition at line 142 of file vtkMPIMoveData.h.

◆ ClientDataServerSocketController

vtkMultiProcessController* vtkMPIMoveData::ClientDataServerSocketController
protected

Definition at line 143 of file vtkMPIMoveData.h.

◆ MPIMToNSocketConnection

vtkMPIMToNSocketConnection* vtkMPIMoveData::MPIMToNSocketConnection
protected

Definition at line 144 of file vtkMPIMoveData.h.

◆ NumberOfBuffers

int vtkMPIMoveData::NumberOfBuffers
protected

Definition at line 157 of file vtkMPIMoveData.h.

◆ BufferLengths

vtkIdType* vtkMPIMoveData::BufferLengths
protected

Definition at line 158 of file vtkMPIMoveData.h.

◆ BufferOffsets

vtkIdType* vtkMPIMoveData::BufferOffsets
protected

Definition at line 159 of file vtkMPIMoveData.h.

◆ Buffers

char* vtkMPIMoveData::Buffers
protected

Definition at line 160 of file vtkMPIMoveData.h.

◆ BufferTotalLength

vtkIdType vtkMPIMoveData::BufferTotalLength
protected

Definition at line 161 of file vtkMPIMoveData.h.

◆ MoveMode

int vtkMPIMoveData::MoveMode
protected

Definition at line 167 of file vtkMPIMoveData.h.

◆ Server

int vtkMPIMoveData::Server
protected

Definition at line 168 of file vtkMPIMoveData.h.

◆ SkipDataServerGatherToZero

bool vtkMPIMoveData::SkipDataServerGatherToZero
protected

Definition at line 170 of file vtkMPIMoveData.h.

◆ OutputDataType

int vtkMPIMoveData::OutputDataType
protected

Definition at line 179 of file vtkMPIMoveData.h.


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