Wildmeshing Toolkit
|
#include <TetWildTangentialLaplacianSmoothing.hpp>
Public Member Functions | |
TetWildTangentialLaplacianSmoothing (Mesh &m, const TypedAttributeHandle< Rational > &coordinate, double damping_factor=1.0) | |
std::vector< simplex::Simplex > | execute (const simplex::Simplex &simplex) override |
returns an empty vector in case of failure More... | |
Public Member Functions inherited from wmtk::operations::AttributesUpdate | |
AttributesUpdate (Mesh &m) | |
virtual PrimitiveType | primitive_type () const override |
Public Member Functions inherited from wmtk::operations::Operation | |
Operation (Mesh &mesh) | |
virtual | ~Operation () |
virtual std::vector< simplex::Simplex > | operator() (const simplex::Simplex &simplex) |
virtual double | priority (const simplex::Simplex &simplex) const |
virtual bool | use_random_priority () const |
virtual bool & | use_random_priority () |
const Mesh & | mesh () const |
Mesh & | mesh () |
void | add_invariant (std::shared_ptr< Invariant > invariant) |
void | set_priority (const std::function< double(const simplex::Simplex &)> &func) |
std::shared_ptr< const operations::AttributeTransferStrategyBase > | get_transfer_strategy (const attribute::MeshAttributeHandle &attribute) |
void | add_transfer_strategy (const std::shared_ptr< const operations::AttributeTransferStrategyBase > &other) |
void | set_transfer_strategy (const attribute::MeshAttributeHandle &attribute, const std::shared_ptr< const operations::AttributeTransferStrategyBase > &other) |
void | clear_attribute_transfer_strategies () |
virtual void | reserve_enough_simplices () |
Private Attributes | |
const TypedAttributeHandle< Rational > & | m_coordinate_handle |
double | m_damping_factor = 1.0 |
Additional Inherited Members | |
Protected Member Functions inherited from wmtk::operations::AttributesUpdate | |
virtual std::vector< simplex::Simplex > | unmodified_primitives (const simplex::Simplex &simplex) const override |
Returns all simplices that will be potentially affected by the operation. More... | |
Protected Member Functions inherited from wmtk::operations::Operation | |
virtual bool | before (const simplex::Simplex &simplex) const |
virtual bool | after (const std::vector< simplex::Simplex > &unmods, const std::vector< simplex::Simplex > &mods) const |
void | apply_attribute_transfer (const std::vector< simplex::Simplex > &direct_mods) |
Protected Attributes inherited from wmtk::operations::Operation | |
std::function< double(const simplex::Simplex &)> | m_priority = nullptr |
invariants::InvariantCollection | m_invariants |
std::vector< std::shared_ptr< const operations::AttributeTransferStrategyBase > > | m_attr_transfer_strategies |
Definition at line 9 of file TetWildTangentialLaplacianSmoothing.hpp.
wmtk::operations::TetWildTangentialLaplacianSmoothing::TetWildTangentialLaplacianSmoothing | ( | Mesh & | m, |
const TypedAttributeHandle< Rational > & | coordinate, | ||
double | damping_factor = 1.0 |
||
) |
Definition at line 14 of file TetWildTangentialLaplacianSmoothing.cpp.
References wmtk::operations::Operation::mesh(), and wmtk::Triangle.
|
overridevirtual |
returns an empty vector in case of failure
Reimplemented from wmtk::operations::AttributesUpdate.
Definition at line 25 of file TetWildTangentialLaplacianSmoothing.cpp.
References wmtk::Mesh::create_accessor(), wmtk::Edge, wmtk::operations::AttributesUpdate::execute(), wmtk::Mesh::is_boundary(), wmtk::simplex::link(), m_coordinate_handle, m_damping_factor, wmtk::operations::Operation::mesh(), wmtk::simplex::SimplexCollection::simplex_vector(), wmtk::Mesh::switch_tuple(), wmtk::Mesh::switch_tuples(), wmtk::Triangle, wmtk::simplex::Simplex::tuple(), and wmtk::Vertex.
|
private |
Definition at line 20 of file TetWildTangentialLaplacianSmoothing.hpp.
Referenced by execute().
|
private |
Definition at line 21 of file TetWildTangentialLaplacianSmoothing.hpp.
Referenced by execute().