Skip to content

Commit

Permalink
Add multiple coord test (idaholab#14936)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Mar 23, 2020
1 parent 72c5ec4 commit cbfdde5
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[Mesh]
[./gen]
type = GeneratedMeshGenerator
dim = 2
nx = 2
ny = 2
[]

[./eng1]
type = ExtraNodesetGenerator
input = gen
new_boundary = 'corner'
coord = '0.5 1; 1 1; 1 0.5'
[]
[./eng2]
type = ExtraNodesetGenerator
input = eng1
new_boundary = 'single'
coord = '0 0'
[]
[]

[Outputs]
exodus = true
[]
Binary file not shown.
26 changes: 25 additions & 1 deletion test/tests/meshgenerators/extra_nodeset_generator/tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Tests]
[./generate_extra_nodeset_test]
[./generate_extra_nodeset]
type = 'Exodiff'
input = 'generate_extra_nodeset.i'
cli_args = '--mesh-only'
Expand All @@ -11,4 +11,28 @@
design = 'meshgenerators/ExtraNodesetGenerator.md'
issues = '#11640'
[../]
[./generate_extra_nodeset_coord]
type = 'Exodiff'
input = 'generate_extra_nodeset_coord.i'
cli_args = '--mesh-only'
exodiff = 'generate_extra_nodeset_coord_in.e'
mesh_mode = 'REPLICATED'
recover = false

requirement = 'The system shall have the ability to add extra mesh node sets based on node coordinates.'
design = 'meshgenerators/ExtraNodesetGenerator.md'
issues = '#11640'
[../]
[./generate_extra_nodeset_multiple_coord]
type = 'Exodiff'
input = 'generate_extra_nodeset_multiple_coord.i'
cli_args = '--mesh-only'
exodiff = 'generate_extra_nodeset_multiple_coord_in.e'
mesh_mode = 'REPLICATED'
recover = false

requirement = 'The system shall have the ability to add extra mesh node sets based on multiple node coordinates.'
design = 'meshgenerators/ExtraNodesetGenerator.md'
issues = '#14936'
[../]
[]

0 comments on commit cbfdde5

Please sign in to comment.