forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add requirement to updated mesh modifier tests
(refs idaholab#13814)
- Loading branch information
1 parent
85ad329
commit 1364263
Showing
29 changed files
with
801 additions
and
631 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,20 +1,28 @@ | ||
[Tests] | ||
deprecated = True | ||
[./simple] | ||
type = 'Exodiff' | ||
input = 'simple.i' | ||
exodiff = 'simple_in.e' | ||
cli_args = '--mesh-only' | ||
recover = false | ||
no_error_deprecated = true | ||
[../] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[./less_simple] | ||
type = 'Exodiff' | ||
input = 'less_simple.i' | ||
exodiff = 'less_simple_in.e' | ||
cli_args = '--mesh-only' | ||
recover = false | ||
no_error_deprecated = true | ||
[../] | ||
[normal] | ||
requirement = "The system shall support assigning boundary identifiers base on normal vectors of " | ||
"an element face for" | ||
[simple] | ||
type = 'Exodiff' | ||
input = 'simple.i' | ||
exodiff = 'simple_in.e' | ||
cli_args = '--mesh-only' | ||
recover = false | ||
|
||
detail = "a rectangular cuboid and" | ||
[] | ||
|
||
[less_simple] | ||
type = 'Exodiff' | ||
input = 'less_simple.i' | ||
exodiff = 'less_simple_in.e' | ||
cli_args = '--mesh-only' | ||
recover = false | ||
|
||
detail = "non regular geometry." | ||
[] | ||
[] | ||
[] |
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 |
---|---|---|
@@ -1,25 +1,33 @@ | ||
[Tests] | ||
deprecated = True | ||
[./test] | ||
type = 'Exodiff' | ||
input = 'extra_nodeset_test.i' | ||
exodiff = 'out.e' | ||
no_error_deprecated = true | ||
[../] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[./test_coord] | ||
type = 'Exodiff' | ||
input = 'extra_nodeset_coord_test.i' | ||
exodiff = 'out.e' | ||
prereq = 'test' | ||
no_error_deprecated = true | ||
[../] | ||
[extra] | ||
requirement = "The system shall support assigning boundary identifiers based on " | ||
|
||
[./test_bad_coord] | ||
type = 'RunException' | ||
input = 'extra_nodeset_coord_test.i' | ||
expect_err = "Unable to locate the following point within the domain" | ||
cli_args = 'Mesh/middle_node/coord="0.5 10"' | ||
no_error_deprecated = true | ||
[../] | ||
[test] | ||
type = 'Exodiff' | ||
input = 'extra_nodeset_test.i' | ||
exodiff = 'out.e' | ||
|
||
detail = "a nodal id," | ||
[] | ||
|
||
[test_coord] | ||
type = 'Exodiff' | ||
input = 'extra_nodeset_coord_test.i' | ||
exodiff = 'out.e' | ||
|
||
detail = "a spatial coordinate, and" | ||
[] | ||
|
||
[test_bad_coord] | ||
type = 'RunException' | ||
input = 'extra_nodeset_coord_test.i' | ||
expect_err = "Unable to locate the following point within the domain" | ||
cli_args = 'Mesh/middle_node/coord="0.5 10"' | ||
|
||
detail = "if the supplied location is outside of the domain." | ||
[] | ||
[] | ||
[] |
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 |
---|---|---|
@@ -1,24 +1,34 @@ | ||
[Tests] | ||
deprecated = True | ||
[./cylinder_points] | ||
type = 'Exodiff' | ||
input = 'cylinder_points.i' | ||
exodiff = 'cylinder_points_out.e' | ||
no_error_deprecated = true | ||
[../] | ||
|
||
[./cyliner_normal] | ||
type = 'Exodiff' | ||
input = 'cylinder_normals.i' | ||
exodiff = 'cylinder_normals_out.e' | ||
group = 'requirements' | ||
no_error_deprecated = true | ||
[../] | ||
|
||
[./cylinder_points_fixed] | ||
type = 'Exodiff' | ||
input = 'cylinder_normals_fixed.i' | ||
exodiff = 'cylinder_normals_fixed_out.e' | ||
no_error_deprecated = true | ||
[../] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[cylinder] | ||
requirement = "The system shall support assigning boundary identifiers based on the normal of a " | ||
"element face for " | ||
|
||
[points] | ||
type = 'Exodiff' | ||
input = 'cylinder_points.i' | ||
exodiff = 'cylinder_points_out.e' | ||
|
||
detail = 'specified points and ' | ||
[] | ||
|
||
[normal] | ||
type = 'Exodiff' | ||
input = 'cylinder_normals.i' | ||
exodiff = 'cylinder_normals_out.e' | ||
|
||
detail = 'specified directions with' | ||
|
||
[] | ||
|
||
[points_fixed] | ||
type = 'Exodiff' | ||
input = 'cylinder_normals_fixed.i' | ||
exodiff = 'cylinder_normals_fixed_out.e' | ||
|
||
detail = 'fixed normal application.' | ||
[] | ||
[] | ||
[] |
143 changes: 79 additions & 64 deletions
143
test/tests/mesh_modifiers/add_side_sets_from_bounding_box/tests
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 |
---|---|---|
@@ -1,67 +1,82 @@ | ||
[Tests] | ||
deprecated = True | ||
[./test_add_side_sets_from_bounding_box] | ||
type = 'Exodiff' | ||
input = 'add_side_sets_from_bounding_box.i' | ||
exodiff = 'add_side_sets_from_bounding_box_out.e' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./test_multiple_boundary_ids] | ||
type = 'Exodiff' | ||
input = 'multiple_boundary_ids.i' | ||
exodiff = 'multiple_boundary_ids_out.e' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./test_multiple_boundary_ids_3d] | ||
type = 'Exodiff' | ||
input = 'multiple_boundary_ids_3d.i' | ||
exodiff = 'multiple_boundary_ids_3d_out.e' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./error_no_elements_in_bounding_box] | ||
type = 'RunException' | ||
input = 'error_no_elements_in_bounding_box.i' | ||
expect_err = 'No elements found within the bounding box' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./error_no_side_sets_found] | ||
type = 'RunException' | ||
input = 'error_no_side_sets_found.i' | ||
expect_err = 'No side sets found on active elements within the bounding box' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./error_boundary_number] | ||
type = 'RunException' | ||
input = 'error_boundary_number.i' | ||
expect_err = 'Must be 2 boundary inputs or more.' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./error_no_nodes_found] | ||
type = 'RunException' | ||
input = 'error_no_nodes_found.i' | ||
expect_err = 'No nodes found within the bounding box' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./test_overlapping] | ||
type = 'Exodiff' | ||
input = 'overlapping_sidesets.i' | ||
exodiff = 'overlapping_sidesets_out.e' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
[./test_overlapping_sidesets_error] | ||
type = 'RunException' | ||
input = 'overlapping_sidesets_not_found.i' | ||
expect_err = 'No nodes found within the bounding box' | ||
mesh_mode = REPLICATED | ||
no_error_deprecated = true | ||
[../] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[bounding] | ||
requirement = "The system shall support assigning boundary identifiers based the bounding box " | ||
[test_add_side_sets_from_bounding_box] | ||
type = 'Exodiff' | ||
input = 'add_side_sets_from_bounding_box.i' | ||
exodiff = 'add_side_sets_from_bounding_box_out.e' | ||
|
||
detail = "for all subdomain sides as well as" | ||
[] | ||
[test_multiple_boundary_ids] | ||
type = 'Exodiff' | ||
input = 'multiple_boundary_ids.i' | ||
exodiff = 'multiple_boundary_ids_out.e' | ||
|
||
detail = "for all subdomain sides including those with multiple existing identifiers in 2D " | ||
"and" | ||
[] | ||
[test_multiple_boundary_ids_3d] | ||
type = 'Exodiff' | ||
input = 'multiple_boundary_ids_3d.i' | ||
exodiff = 'multiple_boundary_ids_3d_out.e' | ||
|
||
detail = "3D." | ||
[] | ||
[] | ||
[error] | ||
requirement = "The system shall support assigning boundary identifiers based the bounding box of " | ||
"a subdomain and error if " | ||
|
||
[error_no_elements_in_bounding_box] | ||
type = 'RunException' | ||
input = 'error_no_elements_in_bounding_box.i' | ||
expect_err = 'No elements found within the bounding box' | ||
|
||
detail = "if no elements are located in the given bounding box;" | ||
[] | ||
[error_no_side_sets_found] | ||
type = 'RunException' | ||
input = 'error_no_side_sets_found.i' | ||
expect_err = 'No side sets found on active elements within the bounding box' | ||
|
||
detail = "if no sides are located in the given bounding box;" | ||
[] | ||
[error_no_nodes_found] | ||
type = 'RunException' | ||
input = 'error_no_nodes_found.i' | ||
expect_err = 'No nodes found within the bounding box' | ||
|
||
detail = "if no nodes are located in the given bounding box; and" | ||
[] | ||
[error_boundary_number] | ||
type = 'RunException' | ||
input = 'error_boundary_number.i' | ||
expect_err = 'Must be 2 boundary inputs or more.' | ||
|
||
detail = "if the incorrect boundary inputs are supplied." | ||
[] | ||
[] | ||
[overlap] | ||
requirement = "The system shall support assigning boundary identifiers based the bounding box of " | ||
"a subdomain" | ||
|
||
[test_overlapping] | ||
type = 'Exodiff' | ||
input = 'overlapping_sidesets.i' | ||
exodiff = 'overlapping_sidesets_out.e' | ||
|
||
detail = "if existing boundaries overlap and" | ||
[] | ||
[test_overlapping_sidesets_error] | ||
type = 'RunException' | ||
input = 'overlapping_sidesets_not_found.i' | ||
expect_err = 'No nodes found within the bounding box' | ||
|
||
detail = "error if no nodes are located in the given bounding box." | ||
[] | ||
[] | ||
[] |
48 changes: 28 additions & 20 deletions
48
test/tests/mesh_modifiers/assign_element_subdomain_id/tests
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 |
---|---|---|
@@ -1,22 +1,30 @@ | ||
[Tests] | ||
deprecated = True | ||
[./quad_test] | ||
type = 'Exodiff' | ||
input = 'quad_with_subdomainid_test.i' | ||
exodiff = 'out_quad_subdomain_id.e' | ||
no_error_deprecated = true | ||
[../] | ||
[./quad_elementid_test] | ||
type = 'Exodiff' | ||
input = 'quad_with_elementid_subdomainid_test.i' | ||
exodiff = 'out_quad_subdomain_id.e' | ||
prereq = quad_test | ||
no_error_deprecated = true | ||
[../] | ||
[./tri_test] | ||
type = 'Exodiff' | ||
input = 'tri_with_subdomainid_test.i' | ||
exodiff = 'out_tri_subdomain_id.e' | ||
no_error_deprecated = true | ||
[../] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[assign] | ||
requirement = "The system shall support assigning subdomain identifiers " | ||
|
||
[quad_test] | ||
type = 'Exodiff' | ||
input = 'quad_with_subdomainid_test.i' | ||
exodiff = 'out_quad_subdomain_id.e' | ||
|
||
detail = "given a list of ids for each element; and" | ||
[] | ||
[quad_elementid_test] | ||
type = 'Exodiff' | ||
input = 'quad_with_elementid_subdomainid_test.i' | ||
exodiff = 'out_quad_subdomain_id.e' | ||
|
||
detail = "given a list of elements and ids for quadrilateral and" | ||
[] | ||
[tri_test] | ||
type = 'Exodiff' | ||
input = 'tri_with_subdomainid_test.i' | ||
exodiff = 'out_tri_subdomain_id.e' | ||
|
||
detail = "triangular elements." | ||
[] | ||
[] | ||
[] |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
[Tests] | ||
deprecated = True | ||
[./test] | ||
issues = '#13814' | ||
design = Mesh/index.md | ||
|
||
[test] | ||
type = 'Exodiff' | ||
input = 'assign_subdomain_id.i' | ||
exodiff = 'assign_subdomain_id_out.e' | ||
no_error_deprecated = true | ||
[../] | ||
|
||
requirement = "The system shall support assigning subdomain identifiers for the entire domain." | ||
[] | ||
[] |
Oops, something went wrong.