Wildmeshing Toolkit
TriangleAMIPS.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace wmtk::function {
12 {
13 public:
14  TriangleAMIPS(const TriMesh& mesh, const attribute::MeshAttributeHandle& vertex_attribute_handle);
15 
17 
18 protected:
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 ...
TriangleAMIPS(const TriMesh &mesh, const attribute::MeshAttributeHandle &vertex_attribute_handle)
Automatic differentiation scalar with first- and second-order derivatives.
Definition: autodiff.h:501