MCPcopy Create free account
hub / github.com/Kitware/VTK / WritePieceInternal

Method WritePieceInternal

IO/ParallelXML/vtkXMLPHyperTreeGridWriter.cxx:72–89  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

70
71//------------------------------------------------------------------------------
72int 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//------------------------------------------------------------------------------
92int vtkXMLPHyperTreeGridWriter::WritePiece(int index)

Callers

nothing calls this directly

Calls 3

GetInputMethod · 0.95
WritePieceMethod · 0.95
DeleteFilesMethod · 0.45

Tested by

no test coverage detected