* 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. */
| 262 | * Returns: Sparse positive definite Laplace matrix for the mesh. |
| 263 | */ |
| 264 | SparseMatrix<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. |