libigl v2.5.0
Loading...
Searching...
No Matches
crouzeix_raviart_cotmatrix.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//
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 IGL_CROUZEIX_RAVIART_COTMATRIX
9#define IGL_CROUZEIX_RAVIART_COTMATRIX
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <Eigen/Sparse>
13namespace igl
14{
27 template <typename DerivedV, typename DerivedF, typename LT, typename DerivedE, typename DerivedEMAP>
29 const Eigen::MatrixBase<DerivedV> & V,
30 const Eigen::MatrixBase<DerivedF> & F,
31 Eigen::SparseMatrix<LT> & L,
32 Eigen::PlainObjectBase<DerivedE> & E,
33 Eigen::PlainObjectBase<DerivedEMAP> & EMAP);
46 template <typename DerivedV, typename DerivedF, typename DerivedE, typename DerivedEMAP, typename LT>
48 const Eigen::MatrixBase<DerivedV> & V,
49 const Eigen::MatrixBase<DerivedF> & F,
50 const Eigen::MatrixBase<DerivedE> & E,
51 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
52 Eigen::SparseMatrix<LT> & L);
53}
54#ifndef IGL_STATIC_LIBRARY
55# include "crouzeix_raviart_cotmatrix.cpp"
56#endif
57#endif
Definition AABB.h:17
void crouzeix_raviart_cotmatrix(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< LT > &L, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedEMAP > &EMAP)
Compute the Crouzeix-Raviart cotangent stiffness matrix.