squareMesh_RL {SpatialfdaR}R Documentation

Generate a Triangulation of a Square.

Description

The square is subdivided into m internal squares. Within each internal square, nodes are set at the corners. Each square is subdivided into two triangles by a line either going from lower left to upper right if orientation="L", of by a line from lower right to upper left is orientation="R".

Usage

  squareMesh_RL(m=1,orientation="L")

Arguments

m

The number of squares within the outer square.

orientation

The position of the lower corner of the diagonal line subdividing each square. This must be either "L" or "R".

Details

The outer square has sides of length m. If another length $x > 0$ of the side is required, this can easily be achieved by the command p = p*x/m.

Value

A named list containing locations of nodes and which nodes define the edge segments and the triangles. The members are:

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

link{plotFEM.mesh}


[Package SpatialfdaR version 1.0.0 Index]