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

Method SatelliteExecute

Filters/Parallel/vtkTransmitStructuredDataPiece.cxx:159–180  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

157
158//------------------------------------------------------------------------------
159void 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//------------------------------------------------------------------------------
183void vtkTransmitStructuredDataPiece::PrintSelf(ostream& os, vtkIndent indent)

Callers 1

RequestDataMethod · 0.95

Calls 3

GetMethod · 0.45
SendMethod · 0.45
ReceiveMethod · 0.45

Tested by

no test coverage detected