VTK
|
Class for bridging MPI4Py with vtkMPICommunicator. More...
#include <vtkMPI4PyCommunicator.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMPI4PyCommunicator * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkMPI4PyCommunicator () | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMPI4PyCommunicator * | SafeDownCast (vtkObjectBase *o) |
static vtkMPI4PyCommunicator * | New () |
static PyObject * | ConvertToPython (vtkMPICommunicator *comm) |
static vtkMPICommunicator * | ConvertToVTK (PyObject *comm) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
Class for bridging MPI4Py with vtkMPICommunicator.
This class can be used to convert between VTK and MPI4Py communicators.
Definition at line 35 of file vtkMPI4PyCommunicator.h.
Reimplemented from vtkObject.
Definition at line 39 of file vtkMPI4PyCommunicator.h.
static int vtkMPI4PyCommunicator::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkMPI4PyCommunicator::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkMPI4PyCommunicator* vtkMPI4PyCommunicator::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkMPI4PyCommunicator::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented from vtkObject.
void vtkMPI4PyCommunicator::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static vtkMPI4PyCommunicator* vtkMPI4PyCommunicator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static PyObject* vtkMPI4PyCommunicator::ConvertToPython | ( | vtkMPICommunicator * | comm | ) | [static] |
Convert a VTK communicator into an mpi4py communicator.
static vtkMPICommunicator* vtkMPI4PyCommunicator::ConvertToVTK | ( | PyObject * | comm | ) | [static] |
Convert an mpi4py communicator into a VTK communicator.