From 114d7a15e2cdd8728e47ec772199c431ae42a8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loisel?= Date: Sat, 21 Sep 2024 13:54:19 +0200 Subject: [PATCH] doc fix --- src/fem2d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fem2d.jl b/src/fem2d.jl index 9745bd4..263fd0e 100644 --- a/src/fem2d.jl +++ b/src/fem2d.jl @@ -168,7 +168,7 @@ end """ function amg_plot(M::AMG{T, Mat,FEM2D}, z::Array{T}) where {T,Mat} -Plot a piecewise quadratic solution `z` on the given mesh. Note that the solution is drawn as (linear) triangles, even though the underlying solution is piecewise quadratic. To obtain a more accurate depiction, especially when the mesh is coarse, it would be preferable to apply a few levels of additional subdivision, so as to capture the curve of the quadratic basis functions. +Plot a piecewise quadratic (plus cubic "bubble") solution `z` on the given mesh. Note that the solution is drawn as (linear) triangles, even though the underlying solution is piecewise cubic. To obtain a more accurate depiction, especially when the mesh is coarse, it would be preferable to apply a few levels of additional subdivision, so as to capture the curve of the quadratic basis functions. """ function amg_plot(M::AMG{T, Mat,FEM2D}, z::Array{T}) where {T,Mat} x = M.x[:,1]