Definitionintro
Lagrange finite element
Also called Pk Lagrange element.
The element whose degrees of freedom are values at nodes, giving continuous piecewise polynomials of degree k.
The Lagrange finite element of degree is the element whose shape functions are the polynomials of degree at most on a cell and whose degrees of freedom are the values of the function at a fixed set of nodes. Its nodal basis functions are at one node and at all the others, so the coefficient of a finite element function is its value at that node. On a mesh, neighboring cells share the nodes on their common face, and this makes the global function continuous, so the space lies in and suits second-order problems such as the Poisson equation. The case on triangles is Courant's piecewise linear element.
Definition
On a simplex. Let be a simplex with vertices and let . The Lagrange element of degree is the Ciarlet finite element with
The nodes form the principal lattice of order . Their number equals : in 2D it is , which is for , and in 3D it is , which is .
Unisolvence and continuity. A polynomial of degree that vanishes at the principal lattice is zero. The proof goes face by face: the nodes on a face are the principal lattice of that face, so by induction on the polynomial vanishes on the face and contains the barycentric coordinate of the face as a factor. The same face property gives continuity. Two cells that share a face have the same nodes on it, the restriction of each polynomial to the face is a polynomial of degree fixed by those nodes, so the two restrictions agree. The global space
is therefore a subspace of . Its nodal basis function is at the global node , at all other nodes, and nonzero only on the cells that contain .
On boxes. On a rectangle or a brick the space of polynomials of degree at most in each variable separately, with the tensor product of nodes per direction, is the tensor-product Lagrange element. Q1 on a square has the four vertex values and the basis , , , .
Basis in barycentric coordinates. With barycentric coordinates of the simplex, the P1 basis is . The P2 basis is for each vertex and for the edge between vertices and . At an edge midpoint, , the edge function is and the vertex functions are . The six functions add up to .
Examples and non-examples
P1 on an interval. On of length the two shape functions are linear and the element matrices for and the mass form are
P2 on an interval. On with nodes the basis is , and . For example . On a cell of length , with the local order left, middle, right, the exact element matrices are
The rows of add up to zero because constants have zero derivative. The entries of add up to , the length of the cell, because the basis functions add up to .
An interpolation error by hand. Interpolate on by one P2 element. The nodal values are , so and , the node polynomial. Its maximum size is , at .
Convergence rates. For on with and , so , the Galerkin solutions on equal cells give these errors. The code is the 1D solver of finite element assembly.
| P1, | P1, | P2, | P2, | |
|---|---|---|---|---|
| 4 | 3.928e-02 | 4.985e-01 | 1.952e-03 | 5.062e-02 |
| 8 | 9.921e-03 | 2.512e-01 | 2.457e-04 | 1.274e-02 |
| 16 | 2.487e-03 | 1.258e-01 | 3.076e-05 | 3.190e-03 |
| 32 | 6.220e-04 | 6.295e-02 | 3.847e-06 | 7.978e-04 |
The observed orders from the last two rows are and for P1 and and for P2, as the estimates and predict. For the same number of unknowns, P2 on 16 cells (33 nodes) is about 20 times more accurate in than P1 on 32 cells (33 nodes).
Non-example: discontinuous elements. The same with nodes strictly inside each cell gives a space of discontinuous functions. It is not a subspace of , and it needs the discontinuous Galerkin weak form.
Non-example: a hanging node. Split one of two neighboring triangles so that a new vertex sits at the midpoint of the shared edge, but not the other. Gluing P1 elements by nodes gives a function that is not continuous along that edge, unless the value at the hanging node is constrained to the mean of the values at the two ends of the edge.
Non-example: wrong nodes. Six nodes on a triangle that lie on one conic do not determine a quadratic. The Ciarlet finite element page gives an example.
Related definitions
- Ciarlet finite element. The general triple of which the Lagrange element is the case with point values as degrees of freedom.
- Hermite elements. Add derivative values to the degrees of freedom, for continuity in one dimension or for plates.
- Spectral elements. Use with Gauss-Lobatto-Legendre nodes in place of equispaced ones, which keeps the basis well conditioned for large and makes nodal quadrature accurate. See spectral element method and Gauss-Lobatto quadrature.
- Hierarchical bases. Span the same with a basis in which raising adds functions and keeps the old ones, as the hp finite element method needs.
- Isoparametric elements. Use the Lagrange basis of degree also to map the reference cell, which gives curved cells.
References
- Susanne C. Brenner and L. Ridgway Scott, The Mathematical Theory of Finite Element Methods, third edition, Springer, 2008, Chapter 3 (Lagrange elements on simplices and rectangles, continuity of the global space)
- Philippe G. Ciarlet, The Finite Element Method for Elliptic Problems, SIAM Classics in Applied Mathematics 40, 2002, Chapter 2 (simplicial and rectangular Lagrange finite elements, the principal lattice)
- Alexandre Ern and Jean-Luc Guermond, Theory and Practice of Finite Elements, Applied Mathematical Sciences 159, Springer, 2004, Chapter 1 (Lagrange finite elements and their interpolation)
- R. Courant, Variational methods for the solution of problems of equilibrium and vibrations, Bulletin of the American Mathematical Society 49(1) (1943) 1-23, the appendix with piecewise linear functions on triangles
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 3GDP61 Edit this page History Report an error Markdown