The mass matrix is the Gram matrix of the basis in :
For and : . So . The Euclidean norm of the coefficient vector is not the norm of the function, except up to scaling on uniform meshes.
Properties. Symmetric positive definite and sparse, with condition number independent of on quasi-uniform meshes. For elements it is diagonal with the cell areas.
Assembly. A sum over cells of local matrices (see Numerical Quadrature and Assembly).
Uses.
- inner products and norms of discrete functions, for example in -Tikhonov Regularization;
- the L2 Projection of non-polynomial functions such as the adjoint gradient ;
- turning a gradient vector (a functional, entries ) into a function: the Riesz representer is (see Gradient Representation and the Riesz Map).
Since is fixed for a given mesh, a sparse Cholesky factorisation is computed once and reused.
In ModularEIT.jl: assemble_mass!, FEMatrices.
References
- S. C. Brenner, L. R. Scott (2008). The Mathematical Theory of Finite Element Methods, 3rd ed. Springer. doi:10.1007/978-0-387-75934-0
- A. Ern, J.-L. Guermond (2004). Theory and Practice of Finite Elements. Springer. doi:10.1007/978-1-4757-4355-5