<< UpdateMesh SciFreeFEM defvar >>

SciFreeFEM >> SciFreeFEM > buildMesh

buildMesh

build a mesh associated to a geometric description

Calling Sequence

buildMesh(name,strvarname)

Parameters

name

A tlist of type border containing a list of string.

Each string corresponds to a geometric element.

strvarname

a string containing the name of the FreeFem variable which will contain the mesh.

Description

build a mesh associated to a geometric description

Examples

// 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

See Also

Authors

Yann Collette


Report an issue
<< UpdateMesh SciFreeFEM defvar >>