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

Method complexLaplaceMatrix

core/src/geometry.cpp:289–293  ·  view source on GitHub ↗

* Builds the sparse complex 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 complex positive definite Laplace matrix for the mesh. */

Source from the content-addressed store, hash-verified

287 * Returns: Sparse complex positive definite Laplace matrix for the mesh.
288 */
289SparseMatrix<std::complex<double>> VertexPositionGeometry::complexLaplaceMatrix() const {
290
291 // TODO
292 return identityMatrix<std::complex<double>>(1); // placeholder
293}
294
295/*
296 * Compute the center of mass of a mesh.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected