Skip to content

Commit

Permalink
Merge branch 'petsc-test-fixes' into 'master'
Browse files Browse the repository at this point in the history
Fixes failing tests when configured with PETSc

Closes #3419

See merge request ogs/ogs!4715
  • Loading branch information
bilke committed Aug 28, 2023
2 parents 26ec7f0 + 16f6861 commit e6c38ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Data/Mechanics/Linear/PythonPiston/piston.prj
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@
<vtkdiff>
<file>piston_ts_5_t_5.000000.vtu</file>
<field>epsilon</field>
<absolute_tolerance>7e-15</absolute_tolerance>
<absolute_tolerance>1e-14</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<file>piston_ts_5_t_5.000000.vtu</file>
<field>sigma</field>
<absolute_tolerance>1e-8</absolute_tolerance>
<absolute_tolerance>2e-8</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
Expand Down
3 changes: 3 additions & 0 deletions Tests/Data/Mechanics/ModifiedCamClay/triaxtest.prj
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@
<solver_type>SparseLU</solver_type>
<scaling>true</scaling>
</eigen>
<petsc>
<parameters>-ksp_type richardson -pc_type lu</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<test_definition>
Expand Down
3 changes: 3 additions & 0 deletions Tests/Data/Mechanics/ModifiedCamClay/triaxtest_original.prj
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@
<solver_type>SparseLU</solver_type>
<scaling>true</scaling>
</eigen>
<petsc>
<parameters>-ksp_type richardson -pc_type lu</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<test_definition>
Expand Down

0 comments on commit e6c38ec

Please sign in to comment.