MCPcopy Create free account
hub / github.com/GeometryCollective/ddg-exercises / laplaceMatrix

Method laplaceMatrix

core/src/geometry.cpp:264–268  ·  view source on GitHub ↗

* Builds the sparse POSITIVE DEFINITE Laplace matrix. Do this by building the negative semidefinite Laplace matrix, * multiplying by -1, and shifting the diagonal elements by a small constant (e.g. 1e-8). * * Input: * Returns: Sparse positive definite Laplace matrix for the mesh. */

Source from the content-addressed store, hash-verified

262 * Returns: Sparse positive definite Laplace matrix for the mesh.
263 */
264SparseMatrix<double> VertexPositionGeometry::laplaceMatrix() const {
265
266 // TODO
267 return identityMatrix<double>(1); // placeholder
268}
269
270/*
271 * Builds the sparse diagonal mass matrix containing the barycentric dual area of each vertex.

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64