VTK
Public Member Functions | Static Public Member Functions | List of all members
vtkPPainterCommunicator Class Reference

#include <vtkPPainterCommunicator.h>

Inheritance diagram for vtkPPainterCommunicator:
[legend]
Collaboration diagram for vtkPPainterCommunicator:
[legend]

Public Member Functions

 vtkPPainterCommunicator ()
 
virtual ~vtkPPainterCommunicator ()
 
vtkPPainterCommunicatoroperator= (const vtkPPainterCommunicator &other)
 
virtual void Copy (const vtkPainterCommunicator *other, bool ownership)
 
virtual void Duplicate (const vtkPainterCommunicator *other)
 
void SubsetCommunicator (vtkMPICommunicatorOpaqueComm *comm, int include)
 
 vtkPPainterCommunicator (const vtkPPainterCommunicator &other)
 
virtual int GetRank ()
 
virtual int GetSize ()
 
virtual bool GetIsNull ()
 
virtual int GetWorldRank ()
 
virtual int GetWorldSize ()
 
virtual bool GetMPIInitialized ()
 
virtual bool GetMPIFinalized ()
 
void SetCommunicator (vtkMPICommunicatorOpaqueComm *comm)
 
void GetCommunicator (vtkMPICommunicatorOpaqueComm *comm)
 
void * GetCommunicator ()
 
- Public Member Functions inherited from vtkPainterCommunicator
 vtkPainterCommunicator ()
 
virtual ~vtkPainterCommunicator ()
 
vtkPainterCommunicatoroperator= (const vtkPainterCommunicator &other)
 
 vtkPainterCommunicator ()
 
virtual ~vtkPainterCommunicator ()
 
vtkPainterCommunicatoroperator= (const vtkPainterCommunicator &other)
 
 vtkPainterCommunicator (const vtkPainterCommunicator &other)
 
 vtkPainterCommunicator (const vtkPainterCommunicator &other)
 

Static Public Member Functions

static bool MPIInitialized ()
 
static bool MPIFinalized ()
 
static vtkMPICommunicatorOpaqueComm * GetGlobalCommunicator ()
 

Detailed Description

Definition at line 34 of file vtkPPainterCommunicator.h.

Constructor & Destructor Documentation

vtkPPainterCommunicator::vtkPPainterCommunicator ( )
virtual vtkPPainterCommunicator::~vtkPPainterCommunicator ( )
virtual
vtkPPainterCommunicator::vtkPPainterCommunicator ( const vtkPPainterCommunicator other)
inline

Copier and assignment operators.

Definition at line 42 of file vtkPPainterCommunicator.h.

Member Function Documentation

vtkPPainterCommunicator& vtkPPainterCommunicator::operator= ( const vtkPPainterCommunicator other)
inline

Definition at line 46 of file vtkPPainterCommunicator.h.

virtual void vtkPPainterCommunicator::Copy ( const vtkPainterCommunicator other,
bool  ownership 
)
virtual

Copy the communicator.

Reimplemented from vtkPainterCommunicator.

virtual void vtkPPainterCommunicator::Duplicate ( const vtkPainterCommunicator other)
virtual

Duplicate the communicator.

Reimplemented from vtkPainterCommunicator.

virtual int vtkPPainterCommunicator::GetRank ( )
virtual

Querry MPI for inforrmation about the communicator.

Reimplemented from vtkPainterCommunicator.

virtual int vtkPPainterCommunicator::GetSize ( )
virtual

Querry MPI for inforrmation about the communicator.

Reimplemented from vtkPainterCommunicator.

virtual bool vtkPPainterCommunicator::GetIsNull ( )
virtual

Querry MPI for inforrmation about the communicator.

Reimplemented from vtkPainterCommunicator.

virtual int vtkPPainterCommunicator::GetWorldRank ( )
virtual

Querry MPI for information a bout the world communicator.

Reimplemented from vtkPainterCommunicator.

virtual int vtkPPainterCommunicator::GetWorldSize ( )
virtual

Querry MPI for information a bout the world communicator.

Reimplemented from vtkPainterCommunicator.

virtual bool vtkPPainterCommunicator::GetMPIInitialized ( )
inlinevirtual

Querry MPI state.

Reimplemented from vtkPainterCommunicator.

Definition at line 70 of file vtkPPainterCommunicator.h.

virtual bool vtkPPainterCommunicator::GetMPIFinalized ( )
inlinevirtual

Querry MPI state.

Reimplemented from vtkPainterCommunicator.

Definition at line 71 of file vtkPPainterCommunicator.h.

static bool vtkPPainterCommunicator::MPIInitialized ( )
static
static bool vtkPPainterCommunicator::MPIFinalized ( )
static
void vtkPPainterCommunicator::SetCommunicator ( vtkMPICommunicatorOpaqueComm *  comm)

Set/Get the communicator. Ownership is not assumed thus caller must keep the commuicator alive while this class is in use and free the communicator when finished.

void vtkPPainterCommunicator::GetCommunicator ( vtkMPICommunicatorOpaqueComm *  comm)

Set/Get the communicator. Ownership is not assumed thus caller must keep the commuicator alive while this class is in use and free the communicator when finished.

void* vtkPPainterCommunicator::GetCommunicator ( )

Set/Get the communicator. Ownership is not assumed thus caller must keep the commuicator alive while this class is in use and free the communicator when finished.

void vtkPPainterCommunicator::SubsetCommunicator ( vtkMPICommunicatorOpaqueComm *  comm,
int  include 
)

Creates a new communicator with/without the calling processes as indicated by the passed in flag, if not 0 the calling process is included in the new communicator. The new communicator is accessed via GetCommunicator. In parallel this call is mpi collective on the world communicator. In serial this is a no-op.

static vtkMPICommunicatorOpaqueComm* vtkPPainterCommunicator::GetGlobalCommunicator ( )
static

Get VTK's world communicator. Return's a null communictor if MPI was not yet initialized.


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