------------------------------------------------------------------------------
| 231 | |
| 232 | //------------------------------------------------------------------------------ |
| 233 | int vtkMPIMultiBlockPLOT3DReader::ReadIntScalar(void* vfp, int extent[6], int wextent[6], |
| 234 | vtkDataArray* scalar, vtkTypeUInt64 offset, const vtkMultiBlockPLOT3DReaderRecord& record) |
| 235 | |
| 236 | { |
| 237 | if (!this->CanUseMPIIO()) |
| 238 | { |
| 239 | return this->Superclass::ReadIntScalar(vfp, extent, wextent, scalar, offset, record); |
| 240 | } |
| 241 | |
| 242 | vtkIdType n = vtkStructuredData::GetNumberOfPoints(extent); |
| 243 | vtkMPIPLOT3DArrayReader<int> arrayReader; |
| 244 | arrayReader.ByteOrder = this->Internal->Settings.ByteOrder; |
| 245 | vtkIdType preskip, postskip; |
| 246 | vtkMultiBlockPLOT3DReaderInternals::CalculateSkips(extent, wextent, preskip, postskip); |
| 247 | vtkIntArray* intArray = static_cast<vtkIntArray*>(scalar); |
| 248 | return arrayReader.ReadScalar( |
| 249 | vfp, offset, preskip, n, postskip, intArray->GetPointer(0), record) == n; |
| 250 | } |
| 251 | |
| 252 | //------------------------------------------------------------------------------ |
| 253 | int vtkMPIMultiBlockPLOT3DReader::ReadScalar(void* vfp, int extent[6], int wextent[6], |
nothing calls this directly
no test coverage detected