Skip to content

Instantly share code, notes, and snippets.

@dorugeber
Created November 19, 2014 13:49
Show Gist options
  • Select an option

  • Save dorugeber/e6bc0bf08333e2a534ee to your computer and use it in GitHub Desktop.

Select an option

Save dorugeber/e6bc0bf08333e2a534ee to your computer and use it in GitHub Desktop.
lc = 0.1;
Point(1) = {0.0, 0.0, 0, lc};
Point(2) = {1.0, 0.0, 0, lc};
Point(3) = {1.0, 1.0, 0, lc};
Point(4) = {0.0, 1.0, 0, lc};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(6) = {1, 2, 3, 4};
Plane Surface(6) = {6};
Recombine Surface{6};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment