Skip to content
Snippets Groups Projects
Commit 8848d77a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add Characteristic Length example

parent 77850105
Branches
Tags
No related merge requests found
......@@ -47,3 +47,13 @@ s = newreg;
Line Loop(s) = {-l,-(l+1)};
Plane Surface(s+1) = s;
// Duplicate the surfaces, and use uniform mesh
p1=newp;
Translate {0,-1.5,0} {
Duplicata { Surface{6,10,14}; }
}
p2=newp;
Printf("p1 p2 = %g %g", p1, p2);
Characteristic Length {p1:p2-1} = lc/5 ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment