------------------------------------------------------------------------------
| 912 | |
| 913 | //------------------------------------------------------------------------------ |
| 914 | inline void vtkStructuredGridConnectivity::AddBlockConnection(int gridID, int blockDirection) |
| 915 | { |
| 916 | // Sanity check |
| 917 | assert("pre: gridID is out-of-bounds" && (gridID >= 0) && |
| 918 | (gridID < static_cast<int>(this->NumberOfGrids))); |
| 919 | assert("pre: BlockTopology has not been properly allocated" && |
| 920 | (this->NumberOfGrids == this->BlockTopology.size())); |
| 921 | assert("pre: blockDirection is out-of-bounds" && (blockDirection >= 0) && (blockDirection < 6)); |
| 922 | this->BlockTopology[gridID] |= (1 << blockDirection); |
| 923 | } |
| 924 | |
| 925 | //------------------------------------------------------------------------------ |
| 926 | inline void vtkStructuredGridConnectivity::ClearBlockConnections(int gridID) |
no test coverage detected