This function defines a FEM object. This is not usualled called directly by users.
A vector or a matrix containing the coefficients for the Finite Element basis expansion. The number of rows
(or the vector's length) corresponds to the number of basis in
FEM object. This contains a list with components
1 2 3 4 5 6 7 8 9
## Upload a triangular mesh and plot it data("mesh.2D.rectangular") plot(mesh.2D.rectangular) ## Create a linear Finite Element basis FEMbasis = create.FEM.basis(mesh.2D.rectangular) ## Define a sinusoidal function as expansion of this basis and plot it coeff <- sin(mesh.2D.rectangular$nodes[,1])*cos(mesh.2D.rectangular$nodes[,2]) FEM_object<- FEM(coeff, FEMbasis) plot(FEM_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.