VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkTransmitStructuredGridPiece Class Reference

For parallel processing, restrict IO to the first process in the cluster. More...

#include <vtkTransmitStructuredGridPiece.h>

Inherits vtkStructuredGridAlgorithm.

Public Types

typedef vtkStructuredGridAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkTransmitStructuredGridPieceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetController (vtkMultiProcessController *)
 
virtual vtkMultiProcessController * GetController ()
 
virtual void SetCreateGhostCells (int)
 
virtual int GetCreateGhostCells ()
 
virtual void CreateGhostCellsOn ()
 
virtual void CreateGhostCellsOff ()
 

Static Public Member Functions

static
vtkTransmitStructuredGridPiece
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkTransmitStructuredGridPiece
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkTransmitStructuredGridPiece ()
 
 ~vtkTransmitStructuredGridPiece ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void RootExecute (vtkStructuredGrid *input, vtkStructuredGrid *output, vtkInformation *outInfo)
 
void SatelliteExecute (int procId, vtkStructuredGrid *output, vtkInformation *outInfo)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

int CreateGhostCells
 
vtkMultiProcessController * Controller
 

Detailed Description

For parallel processing, restrict IO to the first process in the cluster.

This filter updates the appropriate piece by requesting the piece from process 0. Process 0 always updates all of the data. It is important that Execute get called on all processes, otherwise the filter will deadlock.

Tests:
vtkTransmitStructuredGridPiece (Tests)

Definition at line 36 of file vtkTransmitStructuredGridPiece.h.

Member Typedef Documentation

typedef vtkStructuredGridAlgorithm vtkTransmitStructuredGridPiece::Superclass

Definition at line 40 of file vtkTransmitStructuredGridPiece.h.

Constructor & Destructor Documentation

vtkTransmitStructuredGridPiece::vtkTransmitStructuredGridPiece ( )
protected
vtkTransmitStructuredGridPiece::~vtkTransmitStructuredGridPiece ( )
protected

Member Function Documentation

static vtkTransmitStructuredGridPiece* vtkTransmitStructuredGridPiece::New ( )
static
static int vtkTransmitStructuredGridPiece::IsTypeOf ( const char *  type)
static
virtual int vtkTransmitStructuredGridPiece::IsA ( const char *  type)
virtual
static vtkTransmitStructuredGridPiece* vtkTransmitStructuredGridPiece::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTransmitStructuredGridPiece::NewInstanceInternal ( ) const
protectedvirtual
vtkTransmitStructuredGridPiece* vtkTransmitStructuredGridPiece::NewInstance ( ) const
void vtkTransmitStructuredGridPiece::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkTransmitStructuredGridPiece::SetController ( vtkMultiProcessController *  )
virtual

By defualt this filter uses the global controller, but this method can be used to set another instead.

virtual vtkMultiProcessController* vtkTransmitStructuredGridPiece::GetController ( )
virtual

By defualt this filter uses the global controller, but this method can be used to set another instead.

virtual void vtkTransmitStructuredGridPiece::SetCreateGhostCells ( int  )
virtual

Turn on/off creating ghost cells (on by default).

virtual int vtkTransmitStructuredGridPiece::GetCreateGhostCells ( )
virtual

Turn on/off creating ghost cells (on by default).

virtual void vtkTransmitStructuredGridPiece::CreateGhostCellsOn ( )
virtual

Turn on/off creating ghost cells (on by default).

virtual void vtkTransmitStructuredGridPiece::CreateGhostCellsOff ( )
virtual

Turn on/off creating ghost cells (on by default).

virtual int vtkTransmitStructuredGridPiece::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void vtkTransmitStructuredGridPiece::RootExecute ( vtkStructuredGrid *  input,
vtkStructuredGrid *  output,
vtkInformation *  outInfo 
)
protected
void vtkTransmitStructuredGridPiece::SatelliteExecute ( int  procId,
vtkStructuredGrid *  output,
vtkInformation *  outInfo 
)
protected
virtual int vtkTransmitStructuredGridPiece::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkTransmitStructuredGridPiece::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

int vtkTransmitStructuredGridPiece::CreateGhostCells
protected

Definition at line 70 of file vtkTransmitStructuredGridPiece.h.

vtkMultiProcessController* vtkTransmitStructuredGridPiece::Controller
protected

Definition at line 71 of file vtkTransmitStructuredGridPiece.h.


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