inv_mass(7)
NAME
inv_mass -- invert of L2 scalar product
SYNOPSIS
form(const space& V, const space& V, "inv_mass");
DESCRIPTION
@tex Assembly the invert of the matrix associated to the $L^2$ scalar
product of the finite element space V: $$ m(u,v) = int_ega u v dx $$
for all $u,vin V$. @end tex
The V space may be either a `P0' or `P1d' discontinuous finite element
spaces see form(3).
EXAMPLE
- The following piece of code build the invert of the mass matrix associated to the `P1d' approximation:
- geo omega_h ("square");
space Vh (omega_h , "P1d");
form im (Vh, Vh, "inv_mass");