VTK
9.4.20250202
|
#include <vtkPPainterCommunicator.h>
Public Member Functions | |
vtkPPainterCommunicator () | |
~vtkPPainterCommunicator () override | |
vtkPPainterCommunicator (const vtkPPainterCommunicator &other) | |
Copier and assignment operators. | |
vtkPPainterCommunicator & | operator= (const vtkPPainterCommunicator &other) |
void | Copy (const vtkPainterCommunicator *other, bool ownership) override |
Copy the communicator. | |
void | Duplicate (const vtkPainterCommunicator *other) override |
Duplicate the communicator. | |
bool | GetMPIInitialized () override |
Query MPI state. | |
bool | GetMPIFinalized () override |
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. | |
int | GetRank () override |
Query MPI for information about the communicator. | |
int | GetSize () override |
Query MPI for information about the communicator. | |
bool | GetIsNull () override |
Query MPI for information about the communicator. | |
int | GetWorldRank () override |
Query MPI for information about the world communicator. | |
int | GetWorldSize () override |
Query MPI for information about the world communicator. | |
void | SetCommunicator (vtkMPICommunicatorOpaqueComm *comm) |
Set/Get the communicator. | |
void | GetCommunicator (vtkMPICommunicatorOpaqueComm *comm) |
Set/Get the communicator. | |
void * | GetCommunicator () |
Set/Get the communicator. | |
Public Member Functions inherited from vtkPainterCommunicator | |
vtkPainterCommunicator ()=default | |
virtual | ~vtkPainterCommunicator ()=default |
vtkPainterCommunicator (const vtkPainterCommunicator &other) | |
Copy and assignment operators. | |
vtkPainterCommunicator & | operator= (const vtkPainterCommunicator &other) |
virtual void | Copy (const vtkPainterCommunicator *, bool) |
Copy the communicator, the flag indicates if ownership should be assumed. | |
virtual void | Duplicate (const vtkPainterCommunicator *) |
Duplicate the communicator. | |
virtual int | GetRank () |
Query MPI about the communicator. | |
virtual int | GetSize () |
virtual bool | GetIsNull () |
virtual int | GetWorldRank () |
Query MPI about the world communicator. | |
virtual int | GetWorldSize () |
virtual bool | GetMPIInitialized () |
Query MPI about its state. | |
virtual bool | GetMPIFinalized () |
Static Public Member Functions | |
static bool | MPIInitialized () |
static bool | MPIFinalized () |
static vtkMPICommunicatorOpaqueComm * | GetGlobalCommunicator () |
Get VTK's world communicator. | |
Definition at line 24 of file vtkPPainterCommunicator.h.
vtkPPainterCommunicator::vtkPPainterCommunicator | ( | ) |
|
override |
|
inline |
Copier and assignment operators.
Definition at line 33 of file vtkPPainterCommunicator.h.
|
inline |
Definition at line 39 of file vtkPPainterCommunicator.h.
|
overridevirtual |
Copy the communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Duplicate the communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Query MPI for information about the communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Query MPI for information about the communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Query MPI for information about the communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Query MPI for information about the world communicator.
Reimplemented from vtkPainterCommunicator.
|
overridevirtual |
Query MPI for information about the world communicator.
Reimplemented from vtkPainterCommunicator.
|
inlineoverridevirtual |
Query MPI state.
Reimplemented from vtkPainterCommunicator.
Definition at line 75 of file vtkPPainterCommunicator.h.
|
inlineoverridevirtual |
Reimplemented from vtkPainterCommunicator.
Definition at line 76 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 | ) |
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 |
Get VTK's world communicator.
Return's a null communictor if MPI was not yet initialized.