8#ifndef CROUZEIX_RAVIART_MASSMATRIX_H
9#define CROUZEIX_RAVIART_MASSMATRIX_H
11#include <Eigen/Sparse>
29 template <
typename MT,
typename DerivedV,
typename DerivedF,
typename DerivedE,
typename DerivedEMAP>
31 const Eigen::MatrixBase<DerivedV> & V,
32 const Eigen::MatrixBase<DerivedF> & F,
33 Eigen::SparseMatrix<MT> & M,
34 Eigen::PlainObjectBase<DerivedE> & E,
35 Eigen::PlainObjectBase<DerivedEMAP> & EMAP);
50 template <
typename MT,
typename DerivedV,
typename DerivedF,
typename DerivedE,
typename DerivedEMAP>
52 const Eigen::MatrixBase<DerivedV> & V,
53 const Eigen::MatrixBase<DerivedF> & F,
54 const Eigen::MatrixBase<DerivedE> & E,
55 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
56 Eigen::SparseMatrix<MT> & M);
58#ifndef IGL_STATIC_LIBRARY
59# include "crouzeix_raviart_massmatrix.cpp"
void crouzeix_raviart_massmatrix(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< MT > &M, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedEMAP > &EMAP)
CROUZEIX_RAVIART_MASSMATRIX Compute the Crouzeix-Raviart mass matrix where M(e,e) is just the sum of ...