`RectilinearLocator::LocateCell` and `UniformLocator::LocateCell` assume
that the point in inside the bounds of the cell set, but may return a
cell location that does not exist, i.e., cell location that is outside
of the bounds of the cell set due to errors from floating point
operations.
This fix, given the assumption above, bounds the calculated cell
location to within the cellset by capping the indices to within the
limits.
Although it is generally wrong to try to call `ResetToBounds` with a
`Bounds` object that does not have a valid range, there are cases where
the range might not be valid. (For example, if `ResetToBounds` was
called in a routine that is rendering an empty scene, it would be best
not to crash.)
* commit '04c43e4c5': (376 commits)
Batch line and text annotations for View1D
Update code to follow styling and worklet invoker guidelines
CI: move from only to rules
CI: fix dependencies in CI jobs
CI: adjust parallel param hip build
Adding changelog for cell centered velocities
added changelog
Removing unnecessary header
Updating particle advection filters to use field associativity
minor fix
make most of the vtkm_io library not DEVICE_SOURCE
fixed single/double precision converstion
add include sstream and see if it clears the dashboard
remove comment about DeviceAdapter.h
include DeviceAdapter.h in StorageVirtual.h
CI: add HIP builing build
add missing #include
decouple Timer.h from device compiler
do not use device compiler to compile source unit tests
Fix dropped UnknownArrayHandle symbols
...
c62998bd1 Batch line and text annotations for View1D
f7c43960e Update code to follow styling and worklet invoker guidelines
b7470b0af Remove leftover debug statement
8f025a2c5 Batch text and line annotation rendering
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2594
a5aeda724 CI: move from only to rules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !2610
81fe1254e Merge branch 'master' into vtkm_io_sans_device_source
2c33a23d3 added changelog
1de5fef12 minor fix
5e87ed858 make most of the vtkm_io library not DEVICE_SOURCE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2607
1d2c4c290 fixed single/double precision converstion
e680815d5 add include sstream and see if it clears the dashboard
d59732766 remove comment about DeviceAdapter.h
08ad08b13 Merge branch 'master' into osc_refactor
7add915dd include DeviceAdapter.h in StorageVirtual.h
b9c2ddf9d add missing #include
5448ffb28 decouple Timer.h from device compiler
e90b186ba do not use device compiler to compile source unit tests
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2602