Wildmeshing Toolkit
Loading...
Searching...
No Matches
TetWildTangentialLaplacianSmoothing.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/utils/Rational.hpp
>
4
#include "
AttributesUpdate.hpp
"
5
6
7
namespace
wmtk::operations
{
8
9
class
TetWildTangentialLaplacianSmoothing
:
public
AttributesUpdate
10
{
11
public
:
12
TetWildTangentialLaplacianSmoothing
(
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
:
20
const
TypedAttributeHandle<Rational>
&
m_coordinate_handle
;
21
double
m_damping_factor
= 1.0;
22
};
23
24
}
// namespace wmtk::operations
AttributesUpdate.hpp
Rational.hpp
wmtk::Mesh
Definition
Mesh.hpp:95
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition
TypedAttributeHandle.hpp:28
wmtk::operations::AttributesUpdate
Definition
AttributesUpdate.hpp:8
wmtk::operations::TetWildTangentialLaplacianSmoothing
Definition
TetWildTangentialLaplacianSmoothing.hpp:10
wmtk::operations::TetWildTangentialLaplacianSmoothing::execute
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
Definition
TetWildTangentialLaplacianSmoothing.cpp:25
wmtk::operations::TetWildTangentialLaplacianSmoothing::m_damping_factor
double m_damping_factor
Definition
TetWildTangentialLaplacianSmoothing.hpp:21
wmtk::operations::TetWildTangentialLaplacianSmoothing::m_coordinate_handle
const TypedAttributeHandle< Rational > & m_coordinate_handle
Definition
TetWildTangentialLaplacianSmoothing.hpp:20
wmtk::simplex::Simplex
Definition
Simplex.hpp:22
wmtk::operations
Definition
EdgeMesh.hpp:10
src
wmtk
operations
TetWildTangentialLaplacianSmoothing.hpp
Generated by
1.9.8