Wildmeshing Toolkit
EdgeValenceEnergy.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 namespace wmtk::function {
5 
7 {
8 public:
10  const Mesh& mesh,
11  const attribute::MeshAttributeHandle& variable_attribute_handle);
12  double get_value(const simplex::Simplex& simplex) const override;
14 
15 protected:
16  const TriMesh& tri_mesh() const;
17 };
18 } // namespace wmtk::function
virtual double get_value(const simplex::Simplex &domain_simplex) const=0
This function is defined over a simplex (normally a triangle or tetrahedron).
EdgeValenceEnergy(const Mesh &mesh, const attribute::MeshAttributeHandle &variable_attribute_handle)
virtual double get_value(const simplex::Simplex &domain_simplex) const =0
This function is defined over a simplex (normally a triangle or tetrahedron).