------------------------------------------------------------------------------
| 300 | |
| 301 | //------------------------------------------------------------------------------ |
| 302 | void vtkStructuredAMRGridConnectivity::SetGhostedExtent(int gridID, int ext[6]) |
| 303 | { |
| 304 | assert("pre: grid ID is out-of-bounds!" && (gridID >= 0) && |
| 305 | (gridID < static_cast<int>(this->NumberOfGrids))); |
| 306 | assert("pre: ghosted-extents vector has not been allocated" && |
| 307 | (this->NumberOfGrids == this->GhostedExtents.size() / 6)); |
| 308 | assert("pre: Number of ghost layers should not be 0" && (this->NumberOfGhostLayers > 0)); |
| 309 | |
| 310 | for (int i = 0; i < 6; ++i) |
| 311 | { |
| 312 | this->GhostedExtents[gridID * 6 + i] = ext[i]; |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | //------------------------------------------------------------------------------ |
| 317 | void vtkStructuredAMRGridConnectivity::CreateGhostLayers(int N) |
no test coverage detected