https://github.com/HTDerekLiu/surface_multigrid_code
Tip revision: adc49abe10a97200a3a5735bd370e98560091a37 authored by Hsueh-Ti Derek Liu on 16 March 2023, 20:37:42 UTC
Merge pull request #3 from alecjacobson/main
Merge pull request #3 from alecjacobson/main
Tip revision: adc49ab
cotmatrix_dense.h
#ifndef COTMATRIX_DENSE_H
#define COTMATRIX_DENSE_H
#include <igl/cotmatrix_entries.h>
#include <Eigen/Core>
// compute cotangen laplacian based on
// "Polygon Laplacian Made Simple" [Bunge et al. 2020]
//
// Note: this outputs a dense cotmatrix, suitable for extremely small meshes
//
// Inputs:
// V #V by 3 list of mesh vertex positions
// F #F by 3 list of mesh elements
// Outputs:
// A #V by #V laplacian matrix
void cotmatrix_dense(
const Eigen::MatrixXd & V,
const Eigen::MatrixXi & F,
Eigen::MatrixXd & A);
#endif