Description Usage Arguments Value See Also Examples
View source: R/fdaPDE.objects.R
Sets up a Finite Element basis. It requires a triangular mesh, a MESH2D
object, as input.
The basis' functions are globally continuos surfaces, that are polynomials once restricted to a triangle in the mesh.
Linear if (order = 1
) in the input mesh
and quadratic if (order = 2
) in the input mesh
Finite Element are currently implemented.
1  create.FEM.basis(mesh)

mesh 
A 
A FEMbasis
object. This contains the mesh
, along with some additional quantities:

Either "1" or "2". Order of the Finite Element basis. 

Scalar. The number of basis. 

The determinant of the transformation from the nodes of the reference triangle to the nodes of the ith triangle; this coincides with the double of the area of the ith triangle. 

A threedimensional array such that 

A threedimensional array such that 
1 2 3 4 5 6 7  ## Creates a simple triangulated domain with a concavity; this is a MESH2D object
mesh<create.MESH.2D(nodes=rbind(c(0, 0), c(0, 1), c(0.5, 0.5), c(1, 1), c(1, 0)),
segments=rbind(c(1, 2), c(2, 3), c(3, 4), c(4, 5), c(5, 1)), order=1)
## Plot it
plot(mesh)
## Creates the basis
FEMbasis = create.FEM.basis(mesh)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.