forked from idaholab/mastodon
-
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.
Sqa reqs for BCs, dirackernels, images, indicators, interfaces, marke…
…rs and materials (idaholab#55 idaholab#59 and idaholab#173).
- Loading branch information
Showing
18 changed files
with
196 additions
and
0 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,34 +1,46 @@ | ||
[tests] | ||
design = "NonReflectingBC.md" | ||
issues = "#12" | ||
[./non_reflecting_bc] | ||
type = 'Exodiff' | ||
input = 'non_reflecting_bc_test.i' | ||
exodiff = 'non_reflecting_bc_test_out.e' | ||
compiler = 'GCC CLANG' | ||
max_parallel = 1 | ||
skip = "regold after moose PR" | ||
|
||
requirement = "The NonReflectingBC class shall accurately model absorption of shear and compressive waves that incident on the boundary." | ||
[../] | ||
[./displacements_error] | ||
type = RunException | ||
input = 'non_reflecting_bc_error.i' | ||
cli_args = "BCs/test/displacements=disp_x" | ||
expect_err = "The number of variables listed in the \'displacements\' parameter in \"test\" block must match the mesh dimension." | ||
|
||
requirement = "The NonReflectingBC class shall produce an error if the number of the displacement variables is not the same as the mesh dimension." | ||
[../] | ||
[./velocities_error] | ||
type = RunException | ||
input = 'non_reflecting_bc_error.i' | ||
cli_args = "BCs/test/velocities=disp_x" | ||
expect_err = "The number of variables listed in the \'velocities\' parameter in \"test\" block must match the mesh dimension." | ||
|
||
requirement = "The NonReflectingBC class shall produce an error if the number of velocity variables is not the same as the mesh dimension." | ||
[../] | ||
[./accelerations_error] | ||
type = RunException | ||
input = 'non_reflecting_bc_error.i' | ||
cli_args = "BCs/test/accelerations=disp_x" | ||
expect_err = "The number of variables listed in the \'accelerations\' parameter in \"test\" block must match the mesh dimension." | ||
|
||
requirement = "The NonReflectingBC class shall produce an error if the number of acceleration variables is not the same as the mesh dimension." | ||
[../] | ||
[./component_error] | ||
type = RunException | ||
input = 'non_reflecting_bc_error.i' | ||
cli_args = "BCs/test/component=1980" | ||
expect_err = "The \'component\' parameter in \"test\" block should be less than mesh dimension." | ||
|
||
requirement = "The NonReflectingBC class shall produce an error if the size of the component vector is not the same as the mesh dimension." | ||
[../] | ||
[] |
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,13 +1,19 @@ | ||
[Tests] | ||
design = "BCs/SeismicDisplacement/index.md" | ||
issues = "#28" | ||
[./seismic_displacment] | ||
type = Exodiff | ||
input = seismic_displacement.i | ||
exodiff = seismic_displacement_out.e | ||
|
||
requirement = "The SeismicDisplacement action shall prescribe the user-provided displacement at the boundary." | ||
[../] | ||
[./action_wrong_size_error] | ||
type = RunException | ||
input = seismic_displacement_error.i | ||
cli_args = "BCs/SeismicDisplacement/top_x/displacements=disp_x" | ||
expect_err = "In the \"top_x\" block the 'displacements', 'velocities', 'accelerations', 'input_functions', and 'input_components' should be of the same size." | ||
|
||
requirement = "The SeismicDisplacement action shall produce an error if the displacements, velocities, accelerations, input functions and input components are not of the same length." | ||
[../] | ||
[] |
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
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,39 +1,53 @@ | ||
[tests] | ||
design = "FunctionPointForce.md" | ||
issues = "#6" | ||
[./function_point_force_1] | ||
type = 'Exodiff' | ||
input = 'force_one_point.i' | ||
exodiff = 'force_one_point_out.e' | ||
abs_zero = 1e-06 | ||
compiler = 'GCC CLANG' | ||
|
||
requirement = "The FunctionPointForce class shall accurately apply the force at any point within an element." | ||
[../] | ||
[./function_point_force_multi] | ||
type = 'Exodiff' | ||
input = 'force_multi_point.i' | ||
exodiff = 'force_multi_point_out.e' | ||
abs_zero = 1e-06 | ||
compiler = 'GCC CLANG' | ||
|
||
requirement = "The FunctionPointForce class shall accurately apply a force at multiple points within the computational domain." | ||
[../] | ||
[./function_point_no_point_error] | ||
type = RunException | ||
input = force_error.i | ||
expect_err = "Either the 'point' or a set of points \('x_position'\) should be given as input in the \"src\" block." | ||
|
||
requirement = "The FunctionPointForce class shall produce an error if neither a point nor a set of points, supplied through the x, y and z position functions, are provided as input." | ||
[../] | ||
[./function_point_no_number_error] | ||
type = RunException | ||
input = force_error.i | ||
cli_args = "DiracKernels/src/x_position='x'" | ||
expect_err = "The 'number' parameter is required in the \"src\" block when 'x_position' function is provided." | ||
|
||
requirement = "The FunctionPointForce class shall produce an error if the 'number' parameter is not supplied by the user when providing a set of points through the position functions." | ||
[../] | ||
[./function_point_no_y_position_error] | ||
type = RunException | ||
input = force_error.i | ||
cli_args = "DiracKernels/src/x_position='x' DiracKernels/src/number=1" | ||
expect_err = "The number of position functions should be equal to mesh dimension in the \"src\" block." | ||
|
||
requirement = "The FunctionPointForce class shall produce an error x and y position functions are not provided as input for a 2D mesh." | ||
[../] | ||
[./function_point_no_z_position_error] | ||
type = RunException | ||
input = force_error.i | ||
cli_args = "DiracKernels/src/x_position='x' DiracKernels/src/y_position='y' DiracKernels/src/number=1" | ||
expect_err = "The number of position functions should be equal to mesh dimension in the \"src\" block." | ||
|
||
requirement = "The FunctionPointForce class shall produce an error x, y and z position functions are not provided as input for a 3D mesh." | ||
[../] | ||
[] |
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
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
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
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
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
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,14 +1,20 @@ | ||
[Tests] | ||
design = "LayeredMaterialInterface.md" | ||
issues = "#13" | ||
[./doc_string_error] | ||
type = RunException | ||
input = doc_string_error.i | ||
expect_err = "The documentation for the 'layer_ids' parameter must be modified using InputParameters::setDocString in the validParams function to include information on the parameters which the layer ids correspond." | ||
allow_test_objects = True | ||
|
||
requirement = "The LayeredMaterialInterface class shall produce an error if the parent class does not set the documentation for the 'layer_ids' parameter." | ||
[../] | ||
[./type_error] | ||
type = RunException | ||
input = type_error.i | ||
expect_err = "The LayeredMaterialInterface requires that the template class be a Material object." | ||
allow_test_objects = True | ||
|
||
requirement = "The LayeredMaterialInterface class shall produce an error if the template class is not a Material object." | ||
[../] | ||
[] |
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
Oops, something went wrong.