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