Skip to content

MeshQuality and Cell metrics use vtkm::ErrorCode

fixes: #183 (closed)

This MR changes:

  1. Cell Metric classes to return a vtkm::ErrorCode instead of raising an error in the Worklet.
  2. MeshQuality raised error to use the standardized error message from CellNotFound
  3. Add one extra vtkm::ErrorCode named ErrorCode::InvalidCellMetric

This achieves:

  1. Standardize the error messages.
  2. It let the worklet to actually decide what to do with the error code
Edited by Vicente Bolea

Merge request reports

Loading