diff --git a/vtkm/worklet/BoundaryTypes.h b/vtkm/worklet/BoundaryTypes.h index a5cf63cc8..cc71e0443 100644 --- a/vtkm/worklet/BoundaryTypes.h +++ b/vtkm/worklet/BoundaryTypes.h @@ -11,6 +11,8 @@ #ifndef vtk_m_worklet_BoundaryTypes_h #define vtk_m_worklet_BoundaryTypes_h +#include + namespace vtkm { namespace worklet @@ -33,7 +35,7 @@ namespace worklet /// 1 1 2 /// 3 3 5 /// \endcode -struct BoundaryClamp +struct VTKM_DEPRECATED(2.2, "Never fully supported, so being removed.") BoundaryClamp { }; } diff --git a/vtkm/worklet/WorkletNeighborhood.h b/vtkm/worklet/WorkletNeighborhood.h index 2ad79f10d..05c492f24 100644 --- a/vtkm/worklet/WorkletNeighborhood.h +++ b/vtkm/worklet/WorkletNeighborhood.h @@ -58,16 +58,19 @@ public: /// All worklets must define their scatter operation. using ScatterType = vtkm::worklet::ScatterIdentity; + VTKM_DEPRECATED_SUPPRESS_BEGIN /// All neighborhood worklets must define their boundary type operation. /// The boundary type determines how loading on boundaries will work. - using BoundaryType = vtkm::worklet::BoundaryClamp; + using BoundaryType VTKM_DEPRECATED(2.2, "Never fully supported, so being removed.") = + vtkm::worklet::BoundaryClamp; /// In addition to defining the boundary type, the worklet must produce the /// boundary condition. The default BoundaryClamp has no state, so just return an /// instance. /// Note: Currently only BoundaryClamp is implemented - VTKM_CONT - BoundaryType GetBoundaryCondition() const { return BoundaryType(); } + VTKM_DEPRECATED(2.2, "Never fully supported, so being removed.") + VTKM_CONT BoundaryType GetBoundaryCondition() const { return BoundaryType(); } + VTKM_DEPRECATED_SUPPRESS_END /// \brief A control signature tag for input point fields. ///