Simplify CellLocatorBase
`CellLocatorBase` used to use CRTP. However, this pattern is unnecessary as the only real subclass it calls is `Build`, which does not need templating. The base class does not have to call the `PrepareForExecution` method, so it can provide its own features to derived classes more easily. Also moved `CellLocatorBase` out of the `internal` namespace. Although it provides little benefit other than a base class, it will make documenting its methods easier.
Showing
- docs/changelog/simplify-cell-locator-base.md 10 additions, 0 deletionsdocs/changelog/simplify-cell-locator-base.md
- vtkm/cont/CMakeLists.txt 2 additions, 0 deletionsvtkm/cont/CMakeLists.txt
- vtkm/cont/CellLocatorBase.cxx 31 additions, 0 deletionsvtkm/cont/CellLocatorBase.cxx
- vtkm/cont/CellLocatorBase.h 89 additions, 0 deletionsvtkm/cont/CellLocatorBase.h
- vtkm/cont/CellLocatorBoundingIntervalHierarchy.h 3 additions, 7 deletionsvtkm/cont/CellLocatorBoundingIntervalHierarchy.h
- vtkm/cont/CellLocatorGeneral.h 2 additions, 6 deletionsvtkm/cont/CellLocatorGeneral.h
- vtkm/cont/CellLocatorRectilinearGrid.h 4 additions, 7 deletionsvtkm/cont/CellLocatorRectilinearGrid.h
- vtkm/cont/CellLocatorTwoLevel.h 3 additions, 7 deletionsvtkm/cont/CellLocatorTwoLevel.h
- vtkm/cont/CellLocatorUniformBins.h 3 additions, 7 deletionsvtkm/cont/CellLocatorUniformBins.h
- vtkm/cont/CellLocatorUniformGrid.h 3 additions, 7 deletionsvtkm/cont/CellLocatorUniformGrid.h
- vtkm/cont/internal/CMakeLists.txt 0 additions, 1 deletionvtkm/cont/internal/CMakeLists.txt
Loading
Please register or sign in to comment