square_test
square_test,
a FreeFem++ code which
tests the square() command for meshing a square region.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Reference:
-
Frederic Hecht,
New development in FreeFem++,
Journal of Numerical Mathematics,
Volume 20, Number 3-4, 2012, pages 251-265.
Source Code:
-
square_test1_mesh.png,
a PNG image of a 5x5 mesh of [0,1]x[0,1];;
-
square_test2_mesh.png,
a PNG image of a 4x5 mesh of [0,1]x[0,1];
-
square_test3_mesh.png,
a PNG image of a 5x10 mesh of [4,10]x[5,12], using a linear map;
-
square_test4_mesh.png,
a PNG image of a 10x10 mesh of [-1,1]x[-1,1],
using a nonlinear map (the Chebyshev transformation);
-
square_test5_mesh.png,
a PNG image of a 20x20 mesh of [-1,1]x[-1,1],
with a rectangular "bite" taken out using the trunc() function.
Last revised on 25 May 2020.