mass.FEM {SpatialfdaR}R Documentation

Compute the mass matrix for a finite element basis.

Description

mass.FEM produces the mass matrix containing integrals of products of the nodal functions.

Usage

  mass.FEM(FEMbasis)

Arguments

FEMbasis

A List object produced by function create.FEM.basis. It contains:

  • orderThe order of the element (1 or 2).

  • nodesCoordinates of node points.

  • nodeindexIndices of node points for each element.

  • jvecJacobian of the affine transformation of each element to the master element.

Value

A matrix k0: the nnod by nnod matrix of sums of products of nodal basis functions. For each element i, the integral of the product of the j'th and k'th shape functions over the i'th element is computed. Then that value is the (nodeindex[i,j],nodeindex[i,k]) entry of the i'th elemental mass matrix.

Author(s)

Jim Ramsay

References

Sangalli, Laura M., Ramsay, James O., Ramsay, Timothy O. (2013), Spatial spline regression models, Journal of the Royal Statistical Society, Series B, 75, 681-703.

See Also

stiff.FEM


[Package SpatialfdaR version 1.0.0 Index]