libigl v2.5.0
Loading...
Searching...
No Matches
hessian_energy.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2017 Alec Jacobson <alecjacobson@gmail.com>
4// and Oded Stein <oded.stein@columbia.edu>
5//
6// This Source Code Form is subject to the terms of the Mozilla Public License
7// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8// obtain one at http://mozilla.org/MPL/2.0/.
9#ifndef IGL_HESSIAN_ENERGY_H
10#define IGL_HESSIAN_ENERGY_H
11#include "igl_inline.h"
12
13#include <Eigen/Dense>
14#include <Eigen/Sparse>
15
16
17namespace igl
18{
30 template <typename DerivedV, typename DerivedF, typename Scalar>
32 const Eigen::MatrixBase<DerivedV> & V,
33 const Eigen::MatrixBase<DerivedF> & F,
34 Eigen::SparseMatrix<Scalar>& Q);
35
36}
37
38#ifndef IGL_STATIC_LIBRARY
39# include "hessian_energy.cpp"
40#endif
41
42#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void hessian_energy(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< Scalar > &Q)
Constructs the Hessian energy matrix using mixed FEM as described in https://arxiv....