------------------------------------------------------------------------------
| 590 | |
| 591 | //------------------------------------------------------------------------------ |
| 592 | inline void vtkStructuredAMRGridConnectivity::AddBlockConnection(int gridID, int blockDirection) |
| 593 | { |
| 594 | // Sanity check |
| 595 | assert("pre: gridID is out-of-bounds" && (gridID >= 0) && |
| 596 | (gridID < static_cast<int>(this->NumberOfGrids))); |
| 597 | assert("pre: BlockTopology has not been properly allocated" && |
| 598 | (this->NumberOfGrids == this->BlockTopology.size())); |
| 599 | assert("pre: blockDirection is out-of-bounds" && (blockDirection >= 0) && (blockDirection < 6)); |
| 600 | this->BlockTopology[gridID] |= (1 << blockDirection); |
| 601 | } |
| 602 | |
| 603 | //------------------------------------------------------------------------------ |
| 604 | inline void vtkStructuredAMRGridConnectivity::ClearBlockConnections(int gridID) |
no test coverage detected