Wildmeshing Toolkit
Loading...
Searching...
No Matches
AMIPS2D.h
1// This file is part of TriWild, a software for generating linear/curved triangle meshes.
2//
3// Copyright (C) 2019 Yixin Hu <yixin.hu@nyu.edu>
4// This Source Code Form is subject to the terms of the Mozilla Public License
5// v. 2.0. If a copy of the MPL was not distributed with this file, You can
6// obtain one at http://mozilla.org/MPL/2.0/.
7//
8
9#include <Eigen/Dense>
10#include <array>
11
12namespace wmtk {
13double AMIPS2D_energy(const std::array<double, 6>& T);
14void AMIPS2D_jacobian(const std::array<double, 6>& T, Eigen::Vector2d& J);
15void AMIPS2D_hessian(const std::array<double, 6>& T, Eigen::Matrix2d& H);
16
17// TODO add support for features
18// double AMIPS2D_energy(const feature::FeatureElement &feature, const double t, const
19// std::array<double, 6>& T); double AMIPS2D_jacobian(const feature::FeatureElement &feature, const
20// double t, const std::array<double, 6>& T); double AMIPS2D_hessian(const feature::FeatureElement
21// &feature, const double t, const std::array<double, 6>& T);
22} // namespace wmtk