Skip to content

Commit

Permalink
Add test of interior boundary conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed May 6, 2021
1 parent 0a804c2 commit fc6bc46
Show file tree
Hide file tree
Showing 3 changed files with 719 additions and 0 deletions.
44 changes: 44 additions & 0 deletions tests/meshes/square_with_embedded_line.geo
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// Labels on lines are the mesh markers
// 4
//
// 6-------5-------4
// | | |
// | | |
// | | |
// 1 | 5 | 2
// | | |
// | | |
// | | |
// 1-------2-------3
//
// 3


Point(1) = {0, 0, 0, 0.1};
Point(2) = {0.5, 0, 0, 0.1};
Point(3) = {1, 0, 0, 0.1};
Point(4) = {1, 1, 0, 0.1};
Point(5) = {0.5, 1, 0, 0.1};
Point(6) = {0, 1, 0, 0.1};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 1};

Line Loop(1) = {1, 2, 3, 4, 5, 6};
Plane Surface(1) = {1};

Line(7) = {2, 5};
Line{7} In Surface{1};

Physical Surface(1) = {1};

Physical Line(1) = {6};
Physical Line(2) = {3};
Physical Line(3) = {1, 2};
Physical Line(4) = {4, 5};
Physical Line(5) = {7};
Loading

0 comments on commit fc6bc46

Please sign in to comment.