From b9f9b35e483bd539e3c19ce5aa46a7b31e3f78df Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 8 Jul 2003 19:07:45 +0000 Subject: [PATCH] torus example --- benchmarks/3d/torus.geo | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 benchmarks/3d/torus.geo diff --git a/benchmarks/3d/torus.geo b/benchmarks/3d/torus.geo new file mode 100644 index 0000000000..cdfeb20f6b --- /dev/null +++ b/benchmarks/3d/torus.geo @@ -0,0 +1,17 @@ +lc = 0.4; +Point(1) = {0,0,0,lc}; +Point(2) = {1,0,0,lc}; +Point(3) = {0,1,0,lc}; +Point(4) = {0,-1,0,lc}; +Point(5) = {-1,0,0,lc}; +Circle(1) = {2,1,3}; +Circle(2) = {3,1,5}; +Circle(3) = {5,1,4}; +Circle(4) = {4,1,2}; +Line Loop(5) = {1,2,3,4}; +Plane Surface(6) = {5}; +Extrude Surface {6, {0,1,0}, {-2,0,0}, 2*Pi/3}; +Extrude Surface {28, {0,1,0}, {-2,0,0}, 2*Pi/3}; +Extrude Surface {50, {0,1,0}, {-2,0,0}, 2*Pi/3}; +Surface Loop(72) = {45,23,67,71,49,27,15,59,37,41,19,63}; +Volume(73) = {72}; -- GitLab