------------------------------------------------------------------------------
| 70 | |
| 71 | //------------------------------------------------------------------------------ |
| 72 | int vtkXMLPHyperTreeGridWriter::WritePieceInternal() |
| 73 | { |
| 74 | int piece = this->GetCurrentPiece(); |
| 75 | vtkHyperTreeGrid* inputHyperTreeGrid = this->GetInput(); |
| 76 | |
| 77 | if (inputHyperTreeGrid) |
| 78 | { |
| 79 | if (!this->WritePiece(piece)) |
| 80 | { |
| 81 | vtkErrorMacro("Could not write the current piece."); |
| 82 | this->DeleteFiles(); |
| 83 | return 0; |
| 84 | } |
| 85 | this->PieceWrittenFlags[piece] = static_cast<unsigned char>(0x1); |
| 86 | } |
| 87 | |
| 88 | return 1; |
| 89 | } |
| 90 | |
| 91 | //------------------------------------------------------------------------------ |
| 92 | int vtkXMLPHyperTreeGridWriter::WritePiece(int index) |
nothing calls this directly
no test coverage detected