Wildmeshing Toolkit
|
#include <EdgeValenceEnergy.hpp>
Public Member Functions | |
EdgeValenceEnergy (const Mesh &mesh, const attribute::MeshAttributeHandle &variable_attribute_handle) | |
double | get_value (const simplex::Simplex &simplex) const override |
This function is defined over a simplex (normally a triangle or tetrahedron). More... | |
virtual double | get_value (const simplex::Simplex &domain_simplex) const=0 |
This function is defined over a simplex (normally a triangle or tetrahedron). More... | |
Public Member Functions inherited from wmtk::function::PerSimplexFunction | |
PerSimplexFunction (const Mesh &mesh, const PrimitiveType primitive_type, const attribute::MeshAttributeHandle &variable_attribute_handle) | |
virtual | ~PerSimplexFunction () |
virtual Eigen::VectorXd | get_gradient (const simplex::Simplex &domain_simplex, const simplex::Simplex &variable_simplex) const |
virtual Eigen::MatrixXd | get_hessian (const simplex::Simplex &domain_simplex, const simplex::Simplex &variable_simplex) const |
const Mesh & | mesh () const |
const attribute::MeshAttributeHandle & | attribute_handle () const |
int64_t | embedded_dimension () const |
Protected Member Functions | |
const TriMesh & | tri_mesh () const |
Additional Inherited Members | |
Protected Attributes inherited from wmtk::function::PerSimplexFunction | |
const PrimitiveType | m_primitive_type |
Definition at line 6 of file EdgeValenceEnergy.hpp.
wmtk::function::EdgeValenceEnergy::EdgeValenceEnergy | ( | const Mesh & | mesh, |
const attribute::MeshAttributeHandle & | variable_attribute_handle | ||
) |
Definition at line 7 of file EdgeValenceEnergy.cpp.
References wmtk::Vertex.
virtual double wmtk::function::PerSimplexFunction::get_value |
This function is defined over a simplex (normally a triangle or tetrahedron).
And the domain of the function is represented by the input argument domain_simplex.
domain_simplex | The domain that the function is defined over. |
|
overridevirtual |
This function is defined over a simplex (normally a triangle or tetrahedron).
And the domain of the function is represented by the input argument domain_simplex.
domain_simplex | The domain that the function is defined over. |
Implements wmtk::function::PerSimplexFunction.
Definition at line 13 of file EdgeValenceEnergy.cpp.
References wmtk::abs(), wmtk::TriMesh::is_boundary_vertex(), wmtk::simplex::link(), wmtk::simplex::SimplexCollection::simplex_vector(), wmtk::TriMesh::switch_vertex(), tri_mesh(), wmtk::simplex::Simplex::tuple(), wmtk::Vertex, and wmtk::simplex::Simplex::vertex().
|
protected |
Definition at line 72 of file EdgeValenceEnergy.cpp.
References wmtk::function::PerSimplexFunction::mesh().
Referenced by get_value().