------------------------------------------------------------------------------
| 160 | |
| 161 | //------------------------------------------------------------------------------ |
| 162 | bool vtkAMRBaseParticlesReader::IsBlockMine(int blkIdx) |
| 163 | { |
| 164 | if (!this->IsParallel()) |
| 165 | { |
| 166 | return true; |
| 167 | } |
| 168 | |
| 169 | int myRank = this->Controller->GetLocalProcessId(); |
| 170 | return myRank == this->GetBlockProcessId(blkIdx); |
| 171 | } |
| 172 | |
| 173 | //------------------------------------------------------------------------------ |
| 174 | int vtkAMRBaseParticlesReader::GetBlockProcessId(int blkIdx) |
no test coverage detected