Wildmeshing Toolkit
Loading...
Searching...
No Matches
TriangleAMIPS.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace wmtk::function {
12{
13public:
14 TriangleAMIPS(const TriMesh& mesh, const attribute::MeshAttributeHandle& vertex_attribute_handle);
15
17
18protected:
19 DScalar eval(const simplex::Simplex& domain_simplex, const std::vector<DSVec>& coordinates)
20 const override;
21};
22
23} // namespace wmtk::function
This is an extension of the PerSimplexFunction class that uses autodiff encoding for differentiations...
This is the implementation of the AMIPS energy function of a triangle mesh that can be embedded in 2d...
DScalar eval(const simplex::Simplex &domain_simplex, const std::vector< DSVec > &coordinates) const override
This function defines a function f(x) where f is defined over a simplex domain and the variables for ...
Automatic differentiation scalar with first- and second-order derivatives.
Definition autodiff.h:501