Skip to content

Commit

Permalink
Add test (idaholab#26053)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Nov 14, 2023
1 parent ac7aa79 commit b49e7bb
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 1 deletion.
@@ -0,0 +1,5 @@
time,average_diff
1,0.2020775739487
2,0.46723439754399
3,0.70930261331699
4,0.95137082908996
@@ -0,0 +1,5 @@
time,average_diff
1,0.75617392941647
2,1.8889059704735
3,2.9855536197061
4,4.1002434648509
@@ -0,0 +1,5 @@
time,average_diff
1,1.1012393020396e-14
2,8.8494811211044e-15
3,1.5159757740515e-14
4,2.6153760064151e-14
Expand Up @@ -42,7 +42,7 @@

[Executioner]
type = Transient
num_steps = 3
num_steps = 4
[]

[Outputs]
Expand Down
@@ -0,0 +1,32 @@
[Tests]
issues = '#26053'
design = 'ProjectedStatefulMaterialStorageAction.md'

[monomial_first]
type = CSVDiff
input = test.i
cli_args = 'Outputs/file_base=monomial_first'
csvdiff = monomial_first.csv
allow_test_objects = true
requirement = "The system shall support the storage of old material property states projected "
"onto a first order monomial basis."
[]
[monomial_constant]
type = CSVDiff
input = test.i
cli_args = 'Outputs/file_base=monomial_constant ProjectedStatefulMaterialStorage/all/order=CONSTANT'
csvdiff = monomial_constant.csv
allow_test_objects = true
requirement = "The system shall support the storage of old material property states projected "
"onto a constant monomial basis."
[]
[lagrange_first]
type = CSVDiff
input = test.i
cli_args = 'Outputs/file_base=lagrange_first ProjectedStatefulMaterialStorage/all/family=LAGRANGE'
csvdiff = lagrange_first.csv
allow_test_objects = true
requirement = "The system shall support the storage of old material property states projected "
"onto a first order lagrange basis."
[]
[]

0 comments on commit b49e7bb

Please sign in to comment.