From 8a3d7b1af75b7c0ff92d95b99244663a53468e02 Mon Sep 17 00:00:00 2001 From: Alex Lindsay Date: Wed, 13 Nov 2024 20:05:39 -0800 Subject: [PATCH] Demonstrate multiple preconditioner blocks Closes #24690 #29063 --- test/tests/misc/multiple-nl-systems/problem.i | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/test/tests/misc/multiple-nl-systems/problem.i b/test/tests/misc/multiple-nl-systems/problem.i index 41adae7b749a..0560d07d0f24 100644 --- a/test/tests/misc/multiple-nl-systems/problem.i +++ b/test/tests/misc/multiple-nl-systems/problem.i @@ -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' []