libigl v2.5.0
Loading...
Searching...
No Matches
crouzeix_raviart_massmatrix.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) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef CROUZEIX_RAVIART_MASSMATRIX_H
9#define CROUZEIX_RAVIART_MASSMATRIX_H
10#include <Eigen/Dense>
11#include <Eigen/Sparse>
12
13namespace igl
14{
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);
57}
58#ifndef IGL_STATIC_LIBRARY
59# include "crouzeix_raviart_massmatrix.cpp"
60#endif
61
62#endif
Definition AABB.h:17
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 ...