build a mesh associated to a geometric description
buildMesh(name,strvarname)
A tlist of type border containing a list of string.
Each string corresponds to a geometric element.
a string containing the name of the FreeFem variable which will contain the mesh.
build a mesh associated to a geometric description
// Definition of the border bord = tlist(['border';'a';'b';'c';'d';'e';'f'],... list('x = t; y = 0',0,1,6,1),... list('x = 1; y = t',0,0.5,4, 1),... list('x = 1 - t; y = 0.5',0,0.5,4,1),... list('x = 0.5; y = t',0.5,1,4,1),... list('x = 1 - t; y = 1',0.5,1,4,1),... list('x = 0; y = 1 - t',0,1,6,1)); buildMesh(bord,'th'); // Mesh building | ![]() | ![]() |