Skip to content

Commit 4ef8688

Browse files
committed
remove func mesh movemeshsmooth(mesh & Th,int[int] &lab,real[int] &ux,real[int] &uy,int nstep)
because , it is wrong
1 parent ee2bd48 commit 4ef8688

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/tutorial/mesh.edp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ if(err==0)
359359
cout << " th max mesh size = h = " << th.hmax << endl;
360360
cout << " th min mesh size = " << th.hmin<< endl;
361361
}
362+
/* wrong code I skip to day 17 nov 2025
362363
{
363364
include "movemeshsmooth.idp"
364365
mesh Th=square(3,3);
@@ -367,7 +368,7 @@ if(err==0)
367368
fespace Vh(Th,P1);
368369

369370
Vh u=x,v=y;
370-
verbosity=5;// 1000 debbug => plot
371+
verbosity=10000;// 1000 debbug => plot
371372
Th=movemeshsmooth(Th,lab,u[],v[],100);
372373
verbosity=1;
373-
}
374+
}*/

idp/movemeshsmooth.idp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
ux,uy the x,y movevement (P1 fespace on Th)
66
nstep : max number of laplacien smoothing
77
*/
8+
/*
9+
This code do not work so I Remove FH 17 nov 2025
10+
11+
812
func mesh movemeshsmooth(mesh & Th,int[int] &lab,real[int] &ux,real[int] &uy,int nstep)
913
{
1014
fespace WWWWWh(Th,P1);
@@ -48,6 +52,7 @@ for(step= 0; step < nstep; ++ step)
4852
}
4953
return movemesh(Th,[u,v]);
5054
}
55+
*/
5156
/*
5257
// For test ...
5358
// smothing before move mesh

0 commit comments

Comments
 (0)