-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test coverage for restricted outer boundary
- Loading branch information
Showing
5 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
Binary file added
BIN
+3.23 KB
test/tests/meshgenerators/poly2tri_mesh_generator/gold/poly2tri_from_1d_sbdids_in.e
Binary file not shown.
Binary file added
BIN
+3.23 KB
test/tests/meshgenerators/poly2tri_mesh_generator/gold/poly2tri_from_2d_bcids_in.e
Binary file not shown.
38 changes: 38 additions & 0 deletions
38
test/tests/meshgenerators/poly2tri_mesh_generator/poly2tri_from_1d_sbdids.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[Mesh] | ||
[./left_bdy] | ||
type = PolyLineMeshGenerator | ||
points = '-3.0 0.0 0.0 | ||
-2.0 -1.0 0.0 | ||
-1.0 0.0 0.0 | ||
-2.0 2.0 0.0' | ||
loop = true | ||
[] | ||
[./right_bdy] | ||
type = PolyLineMeshGenerator | ||
points = '3.0 0.0 0.0 | ||
2.0 -1.0 0.0 | ||
1.0 0.0 0.0 | ||
2.0 2.0 0.0' | ||
loop = true | ||
[] | ||
[./right_sbd1] | ||
type = SubdomainIDGenerator | ||
input = right_bdy | ||
subdomain_id = 1 | ||
[] | ||
[./both_bdy] | ||
type = CombinerGenerator | ||
inputs = 'left_bdy right_sbd1' | ||
[] | ||
[./triang] | ||
type = Poly2TriMeshGenerator | ||
boundary = 'both_bdy' | ||
input_subdomain_names = 1 # only the right half | ||
refine_boundary = true | ||
desired_area = 0.1 | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
42 changes: 42 additions & 0 deletions
42
test/tests/meshgenerators/poly2tri_mesh_generator/poly2tri_from_2d_bcids.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[Mesh] | ||
[./left_bdy] | ||
type = PolyLineMeshGenerator | ||
points = '-3.0 0.0 0.0 | ||
-2.0 -1.0 0.0 | ||
-1.0 0.0 0.0 | ||
-2.0 2.0 0.0' | ||
loop = true | ||
[] | ||
[./right_bdy] | ||
type = PolyLineMeshGenerator | ||
points = '3.0 0.0 0.0 | ||
2.0 -1.0 0.0 | ||
1.0 0.0 0.0 | ||
2.0 2.0 0.0' | ||
loop = true | ||
[] | ||
[./left_2d] | ||
type = Poly2TriMeshGenerator | ||
boundary = 'left_bdy' | ||
[] | ||
[./right_2d] | ||
type = Poly2TriMeshGenerator | ||
boundary = 'right_bdy' | ||
output_boundary_id = 1 | ||
[] | ||
[./both_2d] | ||
type = CombinerGenerator | ||
inputs = 'left_2d right_2d' | ||
[] | ||
[./triang] | ||
type = Poly2TriMeshGenerator | ||
boundary = 'both_2d' | ||
input_boundary_names = 1 # only the right half | ||
refine_boundary = true | ||
desired_area = 0.1 | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters