------------------------------------------------------------------------------
| 342 | |
| 343 | //------------------------------------------------------------------------------ |
| 344 | inline void vtkAbstractGridConnectivity::AllocateInternalDataStructures() |
| 345 | { |
| 346 | assert("pre: Allocating Internal data-structured for N > 0 grids" && (this->NumberOfGrids > 0)); |
| 347 | |
| 348 | this->GhostedGridPointData.resize(this->NumberOfGrids, nullptr); |
| 349 | this->GhostedGridCellData.resize(this->NumberOfGrids, nullptr); |
| 350 | this->GhostedPointGhostArray.resize(this->NumberOfGrids, nullptr); |
| 351 | this->GhostedCellGhostArray.resize(this->NumberOfGrids, nullptr); |
| 352 | this->GhostedGridPoints.resize(this->NumberOfGrids, nullptr); |
| 353 | this->AllocatedGhostDataStructures = true; |
| 354 | } |
| 355 | |
| 356 | //------------------------------------------------------------------------------ |
| 357 | inline void vtkAbstractGridConnectivity::DeAllocateInternalDataStructures() |
no test coverage detected