Skip to content

Commit

Permalink
Merge pull request #26025 from lindsayad/slepc-fixups-25204
Browse files Browse the repository at this point in the history
Increase robustness of tests from 25204
  • Loading branch information
loganharbour authored Nov 11, 2023
2 parents 9ca9981 + 8dd840f commit 0721a91
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions test/tests/executioners/eigen_convergence/b.i
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
solve_type = PJFNK
free_power_iterations = 4
nl_abs_tol = 2e-10
output_after_power_iterations = false
[]

[Outputs]
Expand Down
3 changes: 1 addition & 2 deletions test/tests/executioners/eigen_convergence/gold/b_out.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
time,fluxintegral,Executioner/eigenvalue
0,1,1
1,0.97869657767363,0.97869657767363
2,0.99364796612084,0.99364796612084
1,0.99364796366549,0.99364796366549
5 changes: 0 additions & 5 deletions test/tests/executioners/eigen_convergence/tests
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
type = CSVDiff
csvdiff = 'b_out.csv'
input = 'b.i'
expect_out = '4 Nonlinear'
absent_out = '5 Nonlinear'
requirement = 'The system shall be able to solve an eigenvalue problem using something other than the L2 norm of Bx for normalization and a native eigenvalue solver.'
rel_err = 3e-5
[]
[test11]
type = CSVDiff
csvdiff = 'a_out_eigen_0001.csv'
input = 'a.i'
expect_out = '1[01] Nonlinear'
absent_out = '12 Nonlinear'
requirement = 'The system shall be able to solve an eigenvalue problem using the L2 norm of Bx and the sign of its first nonzero entry for normalization with a SLEPc eigenvalue solver.'
[]
Expand All @@ -23,7 +20,6 @@
csvdiff = 'a_out_eigen_0001.csv'
prereq = test11
input = 'a.i'
expect_out = '7 Nonlinear'
absent_out = '8 Nonlinear'
cli_args = 'Problem/bx_norm=fluxintegral'
petsc_version = '>=3.20.0'
Expand All @@ -34,7 +30,6 @@
csvdiff = 'a_out_eigen_0001.csv'
prereq = test7
input = 'a.i'
expect_out = '4 Nonlinear'
absent_out = '5 Nonlinear'
cli_args = 'Problem/bx_norm=fluxintegral -eps_power_sign_normalization 0'
petsc_version = '>=3.20.0'
Expand Down

0 comments on commit 0721a91

Please sign in to comment.