Wildmeshing Toolkit
EdgeValenceEnergy.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
wmtk/function/PerSimplexFunction.hpp
>
3
4
namespace
wmtk::function
{
5
6
class
EdgeValenceEnergy
:
public
PerSimplexFunction
7
{
8
public
:
9
EdgeValenceEnergy
(
10
const
Mesh
&
mesh
,
11
const
attribute::MeshAttributeHandle
& variable_attribute_handle);
12
double
get_value
(
const
simplex::Simplex
& simplex)
const override
;
13
using
PerSimplexFunction::get_value
;
14
15
protected
:
16
const
TriMesh
&
tri_mesh
()
const
;
17
};
18
}
// namespace wmtk::function
PerSimplexFunction.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::TriMesh
Definition:
TriMesh.hpp:19
wmtk::attribute::MeshAttributeHandle
Definition:
MeshAttributeHandle.hpp:26
wmtk::function::EdgeValenceEnergy
Definition:
EdgeValenceEnergy.hpp:7
wmtk::function::EdgeValenceEnergy::get_value
virtual double get_value(const simplex::Simplex &domain_simplex) const=0
This function is defined over a simplex (normally a triangle or tetrahedron).
wmtk::function::EdgeValenceEnergy::EdgeValenceEnergy
EdgeValenceEnergy(const Mesh &mesh, const attribute::MeshAttributeHandle &variable_attribute_handle)
Definition:
EdgeValenceEnergy.cpp:7
wmtk::function::EdgeValenceEnergy::tri_mesh
const TriMesh & tri_mesh() const
Definition:
EdgeValenceEnergy.cpp:72
wmtk::function::PerSimplexFunction
Definition:
PerSimplexFunction.hpp:12
wmtk::function::PerSimplexFunction::mesh
const Mesh & mesh() const
Definition:
PerSimplexFunction.hpp:41
wmtk::function::PerSimplexFunction::get_value
virtual double get_value(const simplex::Simplex &domain_simplex) const =0
This function is defined over a simplex (normally a triangle or tetrahedron).
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::function
Definition:
Function.cpp:5
src
wmtk
function
simplex
EdgeValenceEnergy.hpp
Generated by
1.9.1