Wildmeshing Toolkit
Loading...
Searching...
No Matches
TriangleAMIPS.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/function/PerSimplexAutodiffFunction.hpp
>
4
5
namespace
wmtk::function
{
11
class
TriangleAMIPS
:
public
PerSimplexAutodiffFunction
12
{
13
public
:
14
TriangleAMIPS
(
const
TriMesh
&
mesh
,
const
attribute::MeshAttributeHandle
& vertex_attribute_handle);
15
16
~TriangleAMIPS
();
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
PerSimplexAutodiffFunction.hpp
wmtk::TriMesh
Definition
TriMesh.hpp:19
wmtk::attribute::MeshAttributeHandle
Definition
MeshAttributeHandle.hpp:28
wmtk::function::PerSimplexAutodiffFunction
This is an extension of the PerSimplexFunction class that uses autodiff encoding for differentiations...
Definition
PerSimplexAutodiffFunction.hpp:19
wmtk::function::PerSimplexFunction::mesh
const Mesh & mesh() const
Definition
PerSimplexFunction.hpp:41
wmtk::function::TriangleAMIPS
This is the implementation of the AMIPS energy function of a triangle mesh that can be embedded in 2d...
Definition
TriangleAMIPS.hpp:12
wmtk::function::TriangleAMIPS::~TriangleAMIPS
~TriangleAMIPS()
wmtk::function::TriangleAMIPS::eval
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 ...
Definition
TriangleAMIPS.cpp:21
wmtk::simplex::Simplex
Definition
Simplex.hpp:22
wmtk::function
Definition
Function.cpp:5
DScalar2
Automatic differentiation scalar with first- and second-order derivatives.
Definition
autodiff.h:501
src
wmtk
function
simplex
TriangleAMIPS.hpp
Generated by
1.9.8