v0.14.0
Lshape.geo
Go to the documentation of this file.
1 // Gmsh project created on Sat Mar 27 12:54:28 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) = {2, 3};
15 //+
16 Line(3) = {3, 4};
17 //+
18 Line(4) = {4, 1};
19 //+
20 Curve Loop(1) = {1, 2, 3, 4};
21 //+
22 Plane Surface(1) = {1};
23 //+
24 Physical Curve("boundary", 5) = {4, 3, 2, 1};