------------------------------------------------------------------------------
| 620 | |
| 621 | //------------------------------------------------------------------------------ |
| 622 | inline void vtkStructuredGridConnectivity::SetGhostedGridExtent(int gridID, int ext[6]) |
| 623 | { |
| 624 | assert("pre: gridID is out-of-bounds" && (gridID >= 0) && |
| 625 | (gridID < static_cast<int>(this->NumberOfGrids))); |
| 626 | assert("pre: ghosted-extents vector has not been allocated" && |
| 627 | (this->NumberOfGrids == this->GhostedExtents.size() / 6)); |
| 628 | |
| 629 | for (int i = 0; i < 6; ++i) |
| 630 | { |
| 631 | this->GhostedExtents[gridID * 6 + i] = ext[i]; |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | //------------------------------------------------------------------------------ |
| 636 | inline void vtkStructuredGridConnectivity::GetGridExtent(int gridID, int ext[6]) |
no test coverage detected