From 7bed383b3a92731ad76501d1684e51220d43536d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 5 Dec 2000 19:20:04 +0000 Subject: [PATCH] *** empty log message *** --- demos/demo-14.geo | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 demos/demo-14.geo diff --git a/demos/demo-14.geo b/demos/demo-14.geo new file mode 100644 index 0000000000..f6ea35a416 --- /dev/null +++ b/demos/demo-14.geo @@ -0,0 +1,40 @@ +/* + Gmsh demo file (C) 2000 C. Geuzaine, J.-F. Remacle + + A example of attractors + + All important comments are marked with "README" +*/ + +Options{ + + Mesh{ + Algorithm = 2 ; // This is the new 2D anisotropic algorithm + } + +} + +lc = .1; + +Point(1) = {0.0,0.0,0,lc}; +Point(2) = {1,0.0,0,lc}; +Point(3) = {1,1,0,lc}; +Point(4) = {0,1,0,lc}; + +Line(1) = {3,2}; +Line(2) = {2,1}; +Line(3) = {1,4}; +Line(4) = {4,3}; + +Line Loop(5) = {1,2,3,4}; +Plane Surface(6) = {5}; + +Point(5) = {0.1,0.2,0,lc}; +Point(11) = {0.5,0.5,-1,lc}; +Point(22) = {0.6,0.6,1,lc}; + +Line(5) = {11,22}; + +Attractor Line{5} = {1, 0.1, 7}; + +Attractor Point{5} = {0.1, 0.5, 3}; -- GitLab