------------------------------------------------------------------------------
| 407 | |
| 408 | //------------------------------------------------------------------------------ |
| 409 | inline void vtkAbstractGridConnectivity::RegisterGridGhostArrays( |
| 410 | int gridID, vtkUnsignedCharArray* nodesArray, vtkUnsignedCharArray* cellsArray) |
| 411 | { |
| 412 | // Sanity check |
| 413 | assert("pre: GridID is out-of-bound GridPointData" && (gridID >= 0) && |
| 414 | (gridID < static_cast<int>(this->NumberOfGrids))); |
| 415 | assert("pre: GridPointGhostArrays has not been allocated" && |
| 416 | (this->GridPointGhostArrays.size() == this->NumberOfGrids)); |
| 417 | assert("pre: GridCellGhostArrays has not been allocated" && |
| 418 | (this->GridCellGhostArrays.size() == this->NumberOfGrids)); |
| 419 | |
| 420 | // NOTE: We should really shallow copy the objects here |
| 421 | this->GridPointGhostArrays[gridID] = nodesArray; |
| 422 | this->GridCellGhostArrays[gridID] = cellsArray; |
| 423 | } |
| 424 | |
| 425 | //------------------------------------------------------------------------------ |
| 426 | inline void vtkAbstractGridConnectivity::RegisterFieldData( |
no test coverage detected