Class: ScalarPoissonProblem

Projects. ScalarPoissonProblem


new ScalarPoissonProblem(geometry)

This class solves a scalar poisson problem on a surface mesh.

Parameters:
Name Type Description
geometry module:Core.Geometry

The input geometry of the mesh this class acts on.

Properties:
Name Type Description
vertexIndex Object

A dictionary mapping each vertex of the input mesh to a unique index.

A module:LinearAlgebra.SparseMatrix

The laplace matrix of the input mesh.

M module:LinearAlgebra.SparseMatrix

The mass matrix of the input mesh.

totalArea number

The total surface area of the input mesh.

Methods


solve(rho)

Computes the solution of the poisson problem Ax = -M(rho - rhoBar), where A
is the positive definite laplace matrix and M is the mass matrix.

Parameters:
Name Type Description
rho module:LinearAlgebra.DenseMatrix

A scalar density of vertices of the input mesh.

Returns:
Type
module:LinearAlgebra.DenseMatrix