------------------------------------------------------------------------------
| 172 | |
| 173 | //------------------------------------------------------------------------------ |
| 174 | int vtkAMRBaseParticlesReader::GetBlockProcessId(int blkIdx) |
| 175 | { |
| 176 | if (!this->IsParallel()) |
| 177 | { |
| 178 | return 0; |
| 179 | } |
| 180 | |
| 181 | int N = this->Controller->GetNumberOfProcesses(); |
| 182 | return (blkIdx % N); |
| 183 | } |
| 184 | |
| 185 | //------------------------------------------------------------------------------ |
| 186 | bool vtkAMRBaseParticlesReader::CheckLocation(double x, double y, double z) |
no test coverage detected