File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ folder: 3d
77## Build a 3d mesh with a fissure, check eps in trunc check mesh
88We begin with a crack in a circle
99~~~ freefem
10- real theta = 1*pi/180.; // 0.7 degree limit to build the 2d mesh if no refinement in zero
10+ real theta = 1*pi/180.; // 1 degree limit to build the 2d mesh if no refinement in zero
1111real xt = cos(theta),yt=sin(theta);
1212cout << xt << " " << yt << endl;
1313border C(t=theta, 2*pi-theta) { x = cos(t); y=sin(t); label=1;}
14- border Ss(t =0,1;i){ t= t ; x= t*xt; y = t*yt;if(i) y = -y; label=2+i;}
14+ border Ss(tt =0,1;i){ real t=tt^0.8 ; x= t*xt; y = t*yt;if(i) y = -y; label=2+i;} // parametrisation with tt^0.8 means less points close to 0
1515real hs = 0.05;
1616int nC = (2*pi-2*theta)/hs;
1717int ns = (1./hs)/1;//
You can’t perform that action at this time.
0 commit comments