line.geo 179 B

1234567891011
  1. // Choose the mesh size:
  2. c = 0.1;
  3. Point(1) = {0, 0, 0, c};
  4. Point(2) = {1, 0, 0, c};
  5. Line(1) = {1, 2};
  6. Physical Line(1) = {1};
  7. Physical Point(2) = {1};
  8. Physical Point(3) = {2};