8#ifndef IGL_MASSMATRIX_INTRINSIC_H
9#define IGL_MASSMATRIX_INTRINSIC_H
14#include <Eigen/Sparse>
30 template <
typename Derivedl,
typename DerivedF,
typename Scalar>
32 const Eigen::MatrixBase<Derivedl> & l,
33 const Eigen::MatrixBase<DerivedF> & F,
35 Eigen::SparseMatrix<Scalar>& M);
38 template <
typename Derivedl,
typename DerivedF,
typename Scalar>
40 const Eigen::MatrixBase<Derivedl> & l,
41 const Eigen::MatrixBase<DerivedF> & F,
44 Eigen::SparseMatrix<Scalar>& M);
47#ifndef IGL_STATIC_LIBRARY
48# include "massmatrix_intrinsic.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void massmatrix_intrinsic(const Eigen::MatrixBase< Derivedl > &l, const Eigen::MatrixBase< DerivedF > &F, const MassMatrixType type, Eigen::SparseMatrix< Scalar > &M)
Constructs the mass (area) matrix for a given mesh (V,F).
MassMatrixType
Type of mass matrix.
Definition massmatrix.h:19