//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the above copyright notice for more information. //============================================================================ #ifndef vtk_m_filter_GhostCellClassify_h #define vtk_m_filter_GhostCellClassify_h #include namespace vtkm { namespace filter { struct GhostCellClassifyPolicy : vtkm::filter::PolicyBase { using FieldTypeList = vtkm::ListTagBase; }; class GhostCellClassify : public vtkm::filter::FilterDataSet { public: VTKM_CONT GhostCellClassify(); template VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& inData, vtkm::filter::PolicyBase policy); template VTKM_CONT bool MapFieldOntoOutput(vtkm::cont::DataSet& result, const vtkm::cont::Field& field, const vtkm::filter::PolicyBase&) { result.AddField(field); return true; } private: }; } } // namespace vtkm::filter #include #endif //vtk_m_filter_GhostCellClassify_h