| 430 | void Initialize() {} |
| 431 | |
| 432 | void operator()(vtkIdType begin, vtkIdType end) |
| 433 | { |
| 434 | if (!this->DS) |
| 435 | { |
| 436 | return; |
| 437 | } |
| 438 | auto& localDistinctCellTypes = this->LocalDistinctCellTypes.Local(); |
| 439 | |
| 440 | for (vtkIdType idx = begin; idx < end; ++idx) |
| 441 | { |
| 442 | unsigned char cellType = static_cast<unsigned char>(this->DS->GetCellType(idx)); |
| 443 | localDistinctCellTypes.insert(cellType); |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | void Reduce() |
| 448 | { |
nothing calls this directly
no test coverage detected