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.
Added more requirements for actions, multiapps, pra, transfers, uo, a…
…nd vpps. Refs idaholab#55, idaholab#59 and idaholab#173.
- Loading branch information
1 parent
22aba22
commit b5b613c
Showing
13 changed files
with
116 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
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,12 +1,19 @@ | ||
[Tests] | ||
design = 'source/transfers/PiecewiseFunctionTransfer.md' | ||
issues = '#123' | ||
|
||
[to_multiapp] | ||
type = CSVDiff | ||
input = to_master.i | ||
csvdiff = 'to_master_out.csv to_master_out_sub0.csv' | ||
|
||
requirements = "The PiecewiseFunctionTransfer shall transfer a PiecewiseLinear function value from a sub to the master file." | ||
[] | ||
[from_multiapp] | ||
type = CSVDiff | ||
input = from_master.i | ||
csvdiff = 'from_master_out.csv from_master_out_sub0.csv' | ||
|
||
requirements = "The PiecewiseFunctionTransfer shall transfer a PiecewiseLinear function value from a master to the sub file." | ||
[] | ||
[] |
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,12 +1,20 @@ | ||
[Tests] | ||
design = "source/userobjects/GroundMotionReader.md" | ||
issues = '#61' | ||
|
||
[./run] | ||
type = RunApp | ||
input = ground_motion_reader.i | ||
|
||
requirements = "The GroundMotionReader object shall run without errors." | ||
[../] | ||
|
||
[./bad_pattern] | ||
type = RunException | ||
input = ground_motion_reader.i | ||
cli_args = UserObjects/motions/pattern=this/is/wrong*.csv | ||
expect_err = "Unable to locate files with the given pattern \(this/is/wrong\*\.csv\) in the GroundMotionReader object 'motions'." | ||
|
||
requirements = "The GroundMotionReader object shall throw an error when the ground motion files with the provided pattern are not found." | ||
[../] | ||
[] |
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,12 +1,20 @@ | ||
[Tests] | ||
design = "source/userobjects/HazardCurve.md" | ||
issues = '#61' | ||
|
||
[./run] | ||
type = RunApp | ||
input = hazard_curve.i | ||
|
||
requirements = "The HazardCurve userobject shall run without errors." | ||
[../] | ||
|
||
[./ref_size_error] | ||
type = RunException | ||
input = hazard_curve.i | ||
cli_args = "UserObjects/hazard/reference_acceleration='1 2 3 4 5 6 7'" | ||
expect_err = "The 'reference_acceleration' input must \(size: 7\) in the 'hazard' block should be a scalar or a vector equal to the length of the prescribed number of bins \(5\)." | ||
|
||
requirements = "The HazardCurve userobject shall throw an error when the `reference_acceleration` input is not a scalar, or a vector of the size equal to the number of bins." | ||
[../] | ||
[] |
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,14 @@ | ||
# Test for Fragility VectorPostprocessor | ||
[Tests] | ||
design = "source/vectorpostprocessors/Fragility.md" | ||
issues = '#44' | ||
|
||
[./fragility] | ||
type = CSVDiff | ||
input = fragility.i | ||
csvdiff = fragility_out_fragility_pump_0002.csv | ||
boost = true | ||
|
||
requirements = "The Fragility vectorpostprocessor shall accurately evaluate the median demands, beta, and the conditional probability of failure of the SSC at each intensity, and the median and beta of the enhanced fragility fit for the SSC." | ||
[../] | ||
[] |
14 changes: 14 additions & 0 deletions
14
test/tests/vectorpostprocessors/housner_spectrum_intensity/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,30 +1,44 @@ | ||
[Tests] | ||
design = "source/vectorpostprocessors/HousnerSpectrumIntensity.md" | ||
issues = '#39' | ||
|
||
[./hsi] | ||
type = CSVDiff | ||
input = housner_spectrum_intensity.i | ||
csvdiff = housner_spectrum_intensity_out_accel_hsi.csv | ||
|
||
requirements = "The HSICalculator vectorpostprocessor shall accurately calculate the HSI of a response history on a serial execution." | ||
[../] | ||
|
||
[./hsi_parallel] | ||
type = CSVDiff | ||
input = housner_spectrum_intensity.i | ||
csvdiff = housner_spectrum_intensity_out_accel_hsi.csv | ||
prereq = hsi | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
|
||
requirements = "The HSICalculator vectorpostprocessor shall accurately calculate the HSI of a response history on a parallel execution." | ||
[../] | ||
|
||
[./hsi_threads] | ||
type = CSVDiff | ||
input = housner_spectrum_intensity.i | ||
csvdiff = housner_spectrum_intensity_out_accel_hsi.csv | ||
prereq = hsi_parallel | ||
min_threads = 3 | ||
|
||
requirements = "The HSICalculator vectorpostprocessor shall accurately calculate the HSI of a response history on a parallel execution." | ||
[../] | ||
|
||
[./hsi_threads_parallel] | ||
type = CSVDiff | ||
input = housner_spectrum_intensity.i | ||
csvdiff = housner_spectrum_intensity_out_accel_hsi.csv | ||
prereq = hsi_threads | ||
min_threads = 3 | ||
min_parallel = 2 | ||
|
||
requirements = "The HSICalculator vectorpostprocessor shall accurately calculate the HSI of a response history on a parallel execution." | ||
[../] | ||
[] |
14 changes: 14 additions & 0 deletions
14
test/tests/vectorpostprocessors/response_history_builder/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,30 +1,44 @@ | ||
[Tests] | ||
design = "source/vectorpostprocessors/ResponseHistoryBuilder.md" | ||
issues = '#35' | ||
|
||
[./builder] | ||
type = CSVDiff | ||
input = response_history_builder.i | ||
csvdiff = 'response_history_builder_out_accel_nodes.csv response_history_builder_out_accel_bnd.csv' | ||
|
||
requirements = "The ResponseHistoryBuilder vectorpostprocessor shall accurately evaluate the response histories for node input as well as boundary input during a serial execution." | ||
[../] | ||
|
||
[./builder_parallel] | ||
type = CSVDiff | ||
input = response_history_builder.i | ||
csvdiff = 'response_history_builder_out_accel_nodes.csv response_history_builder_out_accel_bnd.csv' | ||
prereq = builder | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
|
||
requirements = "The ResponseHistoryBuilder vectorpostprocessor shall accurately evaluate the response histories for node input as well as boundary input during a parallel execution." | ||
[../] | ||
|
||
[./builder_threads] | ||
type = CSVDiff | ||
input = response_history_builder.i | ||
csvdiff = 'response_history_builder_out_accel_nodes.csv response_history_builder_out_accel_bnd.csv' | ||
prereq = builder_parallel | ||
min_threads = 6 | ||
|
||
requirements = "The ResponseHistoryBuilder vectorpostprocessor shall accurately evaluate the response histories for node input as well as boundary input during a parallel execution." | ||
[../] | ||
|
||
[./builder_threads_parallel] | ||
type = CSVDiff | ||
input = response_history_builder.i | ||
csvdiff = 'response_history_builder_out_accel_nodes.csv response_history_builder_out_accel_bnd.csv' | ||
prereq = builder_threads | ||
min_threads = 4 | ||
min_parallel = 2 | ||
|
||
requirements = "The ResponseHistoryBuilder vectorpostprocessor shall accurately evaluate the response histories for node input as well as boundary input during a parallel execution." | ||
[../] | ||
[] |
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