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

remove unused

parent 600df4d2
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ int main(int argc, char **argv) ...@@ -22,7 +22,6 @@ int main(int argc, char **argv)
double ccos = (-h5*R1 + e2 * hypot(h5, hypot(e2, R1))) / (h5*h5 + e2*e2); double ccos = (-h5*R1 + e2 * hypot(h5, hypot(e2, R1))) / (h5*h5 + e2*e2);
double ssin = sqrt(1 - ccos*ccos); double ssin = sqrt(1 - ccos*ccos);
int o;
gmshModelGeoAddPoint(1, -e1-e2, 0 , 0, Lc1); gmshModelGeoAddPoint(1, -e1-e2, 0 , 0, Lc1);
gmshModelGeoAddPoint(2, -e1-e2, h1 , 0, Lc1); gmshModelGeoAddPoint(2, -e1-e2, h1 , 0, Lc1);
gmshModelGeoAddPoint(3, -e3-r , h1 , 0, Lc2); gmshModelGeoAddPoint(3, -e3-r , h1 , 0, Lc2);
......
...@@ -62,7 +62,6 @@ int main(int argc, char **argv) ...@@ -62,7 +62,6 @@ int main(int argc, char **argv)
double lcar2 = .0005; double lcar2 = .0005;
double lcar3 = .055; double lcar3 = .055;
int o;
gmshModelGeoAddPoint(1, 0.5,0.5,0.5, lcar2); gmshModelGeoAddPoint(1, 0.5,0.5,0.5, lcar2);
gmshModelGeoAddPoint(2, 0.5,0.5,0, lcar1); gmshModelGeoAddPoint(2, 0.5,0.5,0, lcar1);
gmshModelGeoAddPoint(3, 0,0.5,0.5, lcar1); gmshModelGeoAddPoint(3, 0,0.5,0.5, lcar1);
...@@ -134,7 +133,7 @@ int main(int argc, char **argv) ...@@ -134,7 +133,7 @@ int main(int argc, char **argv)
t, x, y, z, r, volumes.back()); t, x, y, z, r, volumes.back());
} }
int v = gmshModelGeoAddVolume(186, shells)[1]; gmshModelGeoAddVolume(186, shells);
gmshModelAddPhysicalGroup(3, 10, {186}); gmshModelAddPhysicalGroup(3, 10, {186});
gmshModelGeoSynchronize(); gmshModelGeoSynchronize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment