 |
VTK
9.1.0
|
Go to the documentation of this file.
26 #ifndef vtkPPainterCommunicator_h
27 #define vtkPPainterCommunicator_h
30 #include "vtkRenderingParallelLICModule.h"
32 class vtkPPainterCommunicatorInternals;
33 class vtkMPICommunicatorOpaqueComm;
47 this->
Copy(&other,
false);
52 this->
Copy(&other,
false);
121 vtkPPainterCommunicatorInternals* Internals;
void GetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
Set/Get the communicator.
virtual ~vtkPPainterCommunicator()
vtkPPainterCommunicator()
virtual int GetWorldRank()
Querry MPI for information about the world communicator.
static bool MPIFinalized()
static bool MPIInitialized()
virtual bool GetIsNull()
Querry MPI for information about the communicator.
virtual void Duplicate(const vtkPainterCommunicator *other)
Duplicate the communicator.
void SetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
Set/Get the communicator.
virtual void Copy(const vtkPainterCommunicator *, bool)
Copy the communicator, the flag indicates if ownership should be assumed.
virtual int GetSize()
Querry MPI for information about the communicator.
vtkPPainterCommunicator & operator=(const vtkPPainterCommunicator &other)
virtual int GetWorldSize()
Querry MPI for information about the world communicator.
virtual bool GetMPIInitialized()
Querry MPI state.
virtual void Copy(const vtkPainterCommunicator *other, bool ownership)
Copy the communicator.
A communicator that can safely be used inside a painter.
virtual int GetRank()
Querry MPI for information about the communicator.
static vtkMPICommunicatorOpaqueComm * GetGlobalCommunicator()
Get VTK's world communicator.
void SubsetCommunicator(vtkMPICommunicatorOpaqueComm *comm, int include)
Creates a new communicator with/without the calling processes as indicated by the passed in flag,...
vtkPPainterCommunicator(const vtkPPainterCommunicator &other)
Copier and assignment operators.
virtual bool GetMPIFinalized()
void * GetCommunicator()
Set/Get the communicator.