------------------------------------------------------------------------------
| 213 | |
| 214 | //------------------------------------------------------------------------------ |
| 215 | void vtkMPIMultiBlockPLOT3DReader::CloseFile(void* vfp) |
| 216 | { |
| 217 | if (!this->CanUseMPIIO()) |
| 218 | { |
| 219 | this->Superclass::CloseFile(vfp); |
| 220 | return; |
| 221 | } |
| 222 | |
| 223 | vtkMPIOpaqueFileHandle* handle = reinterpret_cast<vtkMPIOpaqueFileHandle*>(vfp); |
| 224 | assert(handle); |
| 225 | if (MPI_File_close(&handle->Handle) != MPI_SUCCESS) |
| 226 | { |
| 227 | vtkErrorMacro("Failed to close file!"); |
| 228 | } |
| 229 | delete handle; |
| 230 | } |
| 231 | |
| 232 | //------------------------------------------------------------------------------ |
| 233 | int vtkMPIMultiBlockPLOT3DReader::ReadIntScalar(void* vfp, int extent[6], int wextent[6], |
nothing calls this directly
no test coverage detected