Skip to content

Utility functions to compute local and global ranges and bounds for datasets/multiblocks

This MR does the following:

  1. Adds new utility functions, vtkm::cont::FieldRangeCompute and vtkm::cont::FieldRangeGlobalCompute. These compute ranges for a field for datasets or multiblocks locally or globally (when in distributed mode).

  2. In the same vein, adds vtkm::cont::BoundsCompute and vtkm::cont::BoundsGlobalCompute to compute bounds for datasets and multiblocks locally and globally.

  3. Removes all Get..Bounds and Get..Range methods from MultiBlock. One is instead expected to use the use the new functions mentioned above.

  4. Reverts UnitTestMultiBlock to not be an MPI test. I will add a separate test that tests FieldRangeGlobalCompute and BoundsGlobalCompute which will exercise the distributed use-cases.

Merge request reports