----------------------------------------------------------------------------
| 67 | |
| 68 | //---------------------------------------------------------------------------- |
| 69 | int vtkXMLWriter2::RequestUpdateExtent( |
| 70 | vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector*) |
| 71 | { |
| 72 | using SDDP = vtkStreamingDemandDrivenPipeline; |
| 73 | |
| 74 | // setup pipeline request |
| 75 | vtkInformation* inInfo = inputVector[0]->GetInformationObject(0); |
| 76 | inInfo->Set(SDDP::UPDATE_NUMBER_OF_GHOST_LEVELS(), this->NumberOfGhostLevels); |
| 77 | inInfo->Set(SDDP::UPDATE_NUMBER_OF_PIECES(), |
| 78 | this->Controller ? this->Controller->GetNumberOfProcesses() : 1); |
| 79 | inInfo->Set( |
| 80 | SDDP::UPDATE_PIECE_NUMBER(), this->Controller ? this->Controller->GetLocalProcessId() : 0); |
| 81 | return 1; |
| 82 | } |
| 83 | |
| 84 | //---------------------------------------------------------------------------- |
| 85 | std::tuple<std::string, std::string, std::string> vtkXMLWriter2::SplitFileName( |
no test coverage detected