| 46 | } |
| 47 | |
| 48 | void vtkAMRDataInternals::Insert(unsigned int index, vtkUniformGrid* grid) |
| 49 | { |
| 50 | const auto it = std::lower_bound(this->Blocks.begin(), this->Blocks.end(), index, |
| 51 | [](const Block& block, unsigned int idx) { return block.Index < idx; }); |
| 52 | this->Blocks.insert(it, Block(index, grid)); |
| 53 | } |
| 54 | |
| 55 | vtkUniformGrid* vtkAMRDataInternals::GetDataSet(unsigned int compositeIndex) |
| 56 | { |
no test coverage detected