MeshQuality and Cell metrics use vtkm::ErrorCode
fixes: #183 (closed)
This MR changes:
- Cell Metric classes to return a
vtkm::ErrorCode
instead of raising an error in theWorklet
. -
MeshQuality
raised error to use the standardized error message fromCellNotFound
- Add one extra
vtkm::ErrorCode
namedErrorCode::InvalidCellMetric
This achieves:
- Standardize the error messages.
- It let the
worklet
to actually decide what to do with the error code
Edited by Vicente Bolea