------------------------------------------------------------------------------
| 264 | |
| 265 | //------------------------------------------------------------------------------ |
| 266 | void vtkStructuredAMRGridConnectivity::ComputeNeighbors() |
| 267 | { |
| 268 | // STEP 0: Compute the whole extent w.r.t. level 0 which also computes the |
| 269 | // data-description and dimension of the data. |
| 270 | this->ComputeWholeExtent(); |
| 271 | |
| 272 | // STEP 1: Establish neighbor relation between grids in the AMR hierarchy |
| 273 | for (unsigned int i = 0; i < this->NumberOfGrids; ++i) |
| 274 | { |
| 275 | this->SetBlockTopology(i); |
| 276 | |
| 277 | for (unsigned int j = i + 1; j < this->NumberOfGrids; ++j) |
| 278 | { |
| 279 | this->EstablishNeighbors(i, j); |
| 280 | } // END for all j |
| 281 | |
| 282 | this->FillGhostArrays(i, this->GridPointGhostArrays[i], this->GridCellGhostArrays[i]); |
| 283 | } // END for all i |
| 284 | } |
| 285 | |
| 286 | //------------------------------------------------------------------------------ |
| 287 | void vtkStructuredAMRGridConnectivity::GetGhostedExtent(int gridID, int ext[6]) |
no test coverage detected