MCPcopy Create free account
hub / github.com/Kitware/VTK / InitializeExternal

Method InitializeExternal

Parallel/MPI/vtkMPICommunicator.cxx:816–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816int 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

Callers 1

ConvertToVTKMethod · 0.80

Calls 3

GetHandleMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected