------------------------------------------------------------------------------
| 341 | |
| 342 | //------------------------------------------------------------------------------ |
| 343 | void vtkOverlappingAMRMetaData::AllocateBoxes(unsigned int n) |
| 344 | { |
| 345 | this->Boxes.clear(); |
| 346 | for (unsigned int i = 0; i < n; i++) |
| 347 | { |
| 348 | vtkAMRBox box; |
| 349 | this->Boxes.emplace_back(box); |
| 350 | } |
| 351 | |
| 352 | for (unsigned int i = 0; i < n; i++) |
| 353 | { |
| 354 | this->Boxes[i].Invalidate(); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | //------------------------------------------------------------------------------ |
| 359 | void vtkOverlappingAMRMetaData::SetAMRBox(unsigned int level, unsigned int id, const vtkAMRBox& box) |
no test coverage detected