Skip to content

Commit 4849d22

Browse files
committed
vertices too close in crack-3d.md (problem appears on Windows)
1 parent 5a657fe commit 4849d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/3d/crack-3d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ folder: 3d
77
## Build a 3d mesh with a fissure, check eps in trunc check mesh
88
We 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
1111
real xt = cos(theta),yt=sin(theta);
1212
cout << xt << " " << yt << endl;
1313
border 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
1515
real hs = 0.05;
1616
int nC = (2*pi-2*theta)/hs;
1717
int ns = (1./hs)/1;//

0 commit comments

Comments
 (0)