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

Method Clear

Filters/ParallelMPI/vtkStructuredImplicitConnectivity.cxx:671–689  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

669
670//------------------------------------------------------------------------------
671void CommunicationManager::Clear()
672{
673 this->Requests.clear();
674 this->SendByteSize.clear();
675 this->RcvByteSize.clear();
676
677 std::map<int, unsigned char*>::iterator it;
678 for (it = this->Send.begin(); it != this->Send.end(); ++it)
679 {
680 delete[] it->second;
681 }
682 this->Send.clear();
683
684 for (it = this->Rcv.begin(); it != this->Rcv.end(); ++it)
685 {
686 delete[] it->second;
687 }
688 this->Rcv.clear();
689}
690
691//------------------------------------------------------------------------------
692unsigned char* CommunicationManager::GetRcvBuffer(int fromRank)

Callers 4

~CommunicationManagerMethod · 0.95
ConstructOutputMethod · 0.45
AllocateBuffersMethod · 0.45

Calls 3

clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected