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 {
13 double AMIPS2D_energy(const std::array<double, 6>& T);
14 void AMIPS2D_jacobian(const std::array<double, 6>& T, Eigen::Vector2d& J);
15 void 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 std::array<double, 6>& T);
19 // double AMIPS2D_jacobian(const feature::FeatureElement &feature, const double t, const std::array<double, 6>& T);
20 // double AMIPS2D_hessian(const feature::FeatureElement &feature, const double t, const std::array<double, 6>& T);
21}