------------------------------------------------------------------------------
| 166 | |
| 167 | //------------------------------------------------------------------------------ |
| 168 | void vtkStructuredGridConnectivity::RegisterGrid(int gridID, int ext[6], |
| 169 | vtkUnsignedCharArray* nodesGhostArray, vtkUnsignedCharArray* cellGhostArray, |
| 170 | vtkPointData* pointData, vtkCellData* cellData, vtkPoints* gridNodes) |
| 171 | { |
| 172 | assert("pre: gridID out-of-bounds!" && |
| 173 | (gridID >= 0 && gridID < static_cast<int>(this->NumberOfGrids))); |
| 174 | |
| 175 | for (int i = 0; i < 6; ++i) |
| 176 | { |
| 177 | this->GridExtents[gridID * 6 + i] = ext[i]; |
| 178 | } |
| 179 | |
| 180 | this->RegisterGridGhostArrays(gridID, nodesGhostArray, cellGhostArray); |
| 181 | this->RegisterFieldData(gridID, pointData, cellData); |
| 182 | this->RegisterGridNodes(gridID, gridNodes); |
| 183 | } |
| 184 | |
| 185 | //------------------------------------------------------------------------------ |
| 186 | void vtkStructuredGridConnectivity::AcquireDataDescription() |