VTK
|
#include <vtkPPainterCommunicator.h>
Public Member Functions | |
vtkPPainterCommunicator () | |
virtual | ~vtkPPainterCommunicator () |
vtkPPainterCommunicator (const vtkPPainterCommunicator &other) | |
Copier and assignment operators. More... | |
vtkPPainterCommunicator & | operator= (const vtkPPainterCommunicator &other) |
virtual void | Copy (const vtkPainterCommunicator *other, bool ownership) |
Copy the communicator. More... | |
virtual void | Duplicate (const vtkPainterCommunicator *other) |
Duplicate the communicator. More... | |
virtual int | GetRank () |
Querry MPI for inforrmation about the communicator. More... | |
virtual int | GetSize () |
virtual bool | GetIsNull () |
virtual int | GetWorldRank () |
Querry MPI for information a bout the world communicator. More... | |
virtual int | GetWorldSize () |
virtual bool | GetMPIInitialized () |
Querry MPI state. More... | |
virtual bool | GetMPIFinalized () |
void | SetCommunicator (vtkMPICommunicatorOpaqueComm *comm) |
Set/Get the communicator. More... | |
void | GetCommunicator (vtkMPICommunicatorOpaqueComm *comm) |
void * | GetCommunicator () |
void | 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. More... | |
![]() | |
vtkPainterCommunicator () | |
virtual | ~vtkPainterCommunicator () |
vtkPainterCommunicator (const vtkPainterCommunicator &other) | |
Copy and assignment operators. More... | |
vtkPainterCommunicator & | operator= (const vtkPainterCommunicator &other) |
virtual void | Copy (const vtkPainterCommunicator *, bool) |
Copy the communicator, the flag indicates if ownership should be assumed. More... | |
virtual void | Duplicate (const vtkPainterCommunicator *) |
Duplicate the communicator. More... | |
virtual int | GetRank () |
Querry MPI about the communicator. More... | |
virtual int | GetSize () |
virtual bool | GetIsNull () |
virtual int | GetWorldRank () |
Querry MPI about the world communicator. More... | |
virtual int | GetWorldSize () |
virtual bool | GetMPIInitialized () |
Querry MPI about its state. More... | |
virtual bool | GetMPIFinalized () |
vtkPainterCommunicator () | |
virtual | ~vtkPainterCommunicator () |
vtkPainterCommunicator (const vtkPainterCommunicator &other) | |
Copy and assignment operators. More... | |
vtkPainterCommunicator & | operator= (const vtkPainterCommunicator &other) |
virtual void | Copy (const vtkPainterCommunicator *, bool) |
Copy the communicator, the flag indicates if ownership should be assumed. More... | |
virtual void | Duplicate (const vtkPainterCommunicator *) |
Duplicate the communicator. More... | |
virtual int | GetRank () |
Querry MPI about the communicator. More... | |
virtual int | GetSize () |
virtual bool | GetIsNull () |
virtual int | GetWorldRank () |
Querry MPI about the world communicator. More... | |
virtual int | GetWorldSize () |
virtual bool | GetMPIInitialized () |
Querry MPI about its state. More... | |
virtual bool | GetMPIFinalized () |
Static Public Member Functions | |
static bool | MPIInitialized () |
static bool | MPIFinalized () |
static vtkMPICommunicatorOpaqueComm * | GetGlobalCommunicator () |
Get VTK's world communicator. More... | |
Definition at line 35 of file vtkPPainterCommunicator.h.
vtkPPainterCommunicator::vtkPPainterCommunicator | ( | ) |
|
virtual |
|
inline |
Copier and assignment operators.
Definition at line 44 of file vtkPPainterCommunicator.h.
|
inline |
Definition at line 47 of file vtkPPainterCommunicator.h.
|
virtual |
Copy the communicator.
Reimplemented from vtkPainterCommunicator.
|
virtual |
Duplicate the communicator.
Reimplemented from vtkPainterCommunicator.
|
virtual |
Querry MPI for inforrmation about the communicator.
Reimplemented from vtkPainterCommunicator.
|
virtual |
Reimplemented from vtkPainterCommunicator.
|
virtual |
Reimplemented from vtkPainterCommunicator.
|
virtual |
Querry MPI for information a bout the world communicator.
Reimplemented from vtkPainterCommunicator.
|
virtual |
Reimplemented from vtkPainterCommunicator.
|
inlinevirtual |
Querry MPI state.
Reimplemented from vtkPainterCommunicator.
Definition at line 80 of file vtkPPainterCommunicator.h.
|
inlinevirtual |
Reimplemented from vtkPainterCommunicator.
Definition at line 81 of file vtkPPainterCommunicator.h.
|
static |
|
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 | ) |
void * vtkPPainterCommunicator::GetCommunicator | ( | ) |
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 |
Get VTK's world communicator.
Return's a null communictor if MPI was not yet initialized.