diff --git a/CMakeLists.txt b/CMakeLists.txt index 5413eec..eafd6db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,9 @@ target_sources(pfe PRIVATE src/project_surface_points_on_poly.cc src/project_surface_points_on_poly.h src/remove_external_cells_filter.cc - src/remove_external_cells_filter.h) + src/remove_external_cells_filter.h + src/relaxation_filter.cc + src/relaxation_filter.h) target_link_libraries(pfe PRIVATE ${VTK_COMPONENTS}) diff --git a/src/relaxation_filter.cc b/src/relaxation_filter.cc new file mode 100644 index 0000000..d70b0a1 --- /dev/null +++ b/src/relaxation_filter.cc @@ -0,0 +1,18 @@ +#include "relaxation_filter.h" + +#include +#include +#include +#include +#include + +vtkStandardNewMacro(RelaxationFilter); + +vtkTypeBool RelaxationFilter::RequestData( + vtkInformation *request, + vtkInformationVector **inputVector, + vtkInformationVector *outputVector) { + + + return true; +} diff --git a/src/relaxation_filter.h b/src/relaxation_filter.h new file mode 100644 index 0000000..b760f12 --- /dev/null +++ b/src/relaxation_filter.h @@ -0,0 +1,21 @@ +#ifndef RELAXATION_FILTER_H +#define RELAXATION_FILTER_H + + +#include +#include + +class RelaxationFilter : public vtkUnstructuredGridAlgorithm { +public: + static RelaxationFilter *New(); + vtkTypeMacro(RelaxationFilter, vtkUnstructuredGridAlgorithm); + vtkTypeBool RequestData(vtkInformation *request, + vtkInformationVector **inputVector, + vtkInformationVector *outputVector) override; + +protected: + ~RelaxationFilter() override = default; +}; + + +#endif