------------------------------------------------------------------------------
| 157 | |
| 158 | //------------------------------------------------------------------------------ |
| 159 | void vtkTransmitStructuredDataPiece::SatelliteExecute( |
| 160 | int, vtkDataSet* output, vtkInformation* outInfo) |
| 161 | { |
| 162 | int updatePiece = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()); |
| 163 | int updateNumPieces = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES()); |
| 164 | int updatedGhost = |
| 165 | outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS()); |
| 166 | if (!this->CreateGhostCells) |
| 167 | { |
| 168 | updatedGhost = 0; |
| 169 | } |
| 170 | |
| 171 | int updateInfo[3]; |
| 172 | updateInfo[0] = updatePiece; |
| 173 | updateInfo[1] = updateNumPieces; |
| 174 | updateInfo[2] = updatedGhost; |
| 175 | |
| 176 | this->Controller->Send(updateInfo, 3, 0, 22341); |
| 177 | |
| 178 | // receive root's response |
| 179 | this->Controller->Receive(output, 0, 22342); |
| 180 | } |
| 181 | |
| 182 | //------------------------------------------------------------------------------ |
| 183 | void vtkTransmitStructuredDataPiece::PrintSelf(ostream& os, vtkIndent indent) |
no test coverage detected