| 814 | } |
| 815 | |
| 816 | int vtkMPICommunicator::InitializeExternal(vtkMPICommunicatorOpaqueComm* comm) |
| 817 | { |
| 818 | this->KeepHandleOn(); |
| 819 | |
| 820 | delete this->MPIComm->Handle; |
| 821 | this->MPIComm->Handle = new MPI_Comm(*(comm->GetHandle())); |
| 822 | this->InitializeNumberOfProcesses(); |
| 823 | this->Initialized = 1; |
| 824 | |
| 825 | this->Modified(); |
| 826 | |
| 827 | return 1; |
| 828 | } |
| 829 | |
| 830 | //------------------------------------------------------------------------------ |
| 831 | // Start the copying process |
no test coverage detected