Wildmeshing Toolkit
TetWildTangentialLaplacianSmoothing.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include "AttributesUpdate.hpp"
5 
6 
7 namespace wmtk::operations {
8 
10 {
11 public:
13  Mesh& m,
14  const TypedAttributeHandle<Rational>& coordinate,
15  double damping_factor = 1.0);
16 
17  std::vector<simplex::Simplex> execute(const simplex::Simplex& simplex) override;
18 
19 private:
21  double m_damping_factor = 1.0;
22 };
23 
24 } // namespace wmtk::operations
Handle that represents attributes for some mesh.
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
TetWildTangentialLaplacianSmoothing(Mesh &m, const TypedAttributeHandle< Rational > &coordinate, double damping_factor=1.0)