Definition at line 474 of file DistributedAccess.h. References GetOwnerOfPart(), and mParts. Referenced by CopyParts(), and StartEventLoop(). 00475 { 00476 if(GetOwnerOfPart(partNr) != Link::Mpi::MyId()) 00477 return 0; 00478 int index = 0; 00479 for(int i=partNr-1 ; i>=0 ; --i) 00480 { 00481 if(GetOwnerOfPart(i) != Link::Mpi::MyId()) 00482 break; 00483 ++index; 00484 } 00485 return mParts[index]; 00486 }
Here is the call graph for this function:
|