v0.14.0
square.geo
Go to the documentation of this file.
1 // Gmsh project created on Mon Mar 22 22:51:51 2021
2 SetFactory("OpenCASCADE");
3 //+
4 Point(1) = {0, 0, 0, 1.0};
5 //+
6 Point(2) = {1, 0, 0, 1.0};
7 //+
8 Point(3) = {1, 1, 0, 1.0};
9 //+
10 Point(4) = {0, 1, 0, 1.0};
11 //+
12 Line(1) = {1, 2};
13 //+
14 Line(2) = {3, 3};
15 //+
16 Line(2) = {2, 3};
17 //+
18 Line(3) = {3, 4};
19 //+
20 Line(4) = {4, 1};
21 //+
22 Curve Loop(1) = {4, 1, 2, 3};
23 //+
24 Plane Surface(1) = {1};
25 //+
26 Physical Curve("boundary", 5) = {3, 2, 1, 4};
27 //+
28 Physical Surface("surface", 6) = {1};