xref: /petsc/share/petsc/datafiles/meshes/gmsh-tri.geo (revision f5eb452d542390610482bd4da6149a29d1c2482e)
1// (3)
2//  |\
3//  | \
4//  |  \
5//  |   \
6//  |    \
7// (1)---(2)
8
9Point(1) = {0, 0, 0};
10Point(2) = {1, 0, 0};
11Point(3) = {0, 1, 0};
12
13//  +
14//  |\
15//  | \
16//  3  2
17//  |   \
18//  |    \
19//  +--1--+
20
21Line(1) = {1, 2};
22Line(2) = {2, 3};
23Line(3) = {3, 1};
24
25Line Loop(1) = {1,2,3};
26Plane Surface(1) = {1};
27
28Physical Point   (1) = {1};
29Physical Point   (2) = {2};
30Physical Point   (3) = {3};
31Physical Line    (1) = {1};
32Physical Line    (2) = {2};
33Physical Line    (3) = {3};
34Physical Surface (1) = {1};
35
36Transfinite Line "*" = 2;
37