Skip to content

Commit

Permalink
Demonstrate multiple preconditioner blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed Nov 22, 2024
1 parent 5eeb127 commit 8a3d7b1
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions test/tests/misc/multiple-nl-systems/problem.i
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,27 @@
[]
[]

[Preconditioning]
[u]
nl_sys = 'u'
type = SMP
petsc_options = '-snes_monitor'
petsc_options_iname = '-pc_type -pc_hypre_type'
petsc_options_value = 'hypre boomeramg'
[]
[v]
nl_sys = 'v'
type = SMP
petsc_options = '-snes_monitor'
petsc_options_iname = '-pc_type'
petsc_options_value = 'lu'
[]
[]

[Executioner]
type = SteadySolve2
solve_type = 'NEWTON'
petsc_options = '-snes_monitor'
petsc_options_iname = '-pc_type -pc_hypre_type'
petsc_options_value = 'hypre boomeramg'
petsc_options = '-u_snes_view -v_snes_view'
first_nl_sys_to_solve = 'u'
second_nl_sys_to_solve = 'v'
[]

0 comments on commit 8a3d7b1

Please sign in to comment.