From 8e8b3d75376a081c02c1735fe8d1520a12bfb9f3 Mon Sep 17 00:00:00 2001 From: PaulMullowney <60452402+PaulMullowney@users.noreply.github.com> Date: Fri, 30 Apr 2021 10:19:42 -0600 Subject: [PATCH] Hypre Default Params (#1984) This PR reverts the default values for bamg_relax_type back to 6 (Symmetric Gauss Seidel). This appears to be more robust than 11 (2 stage Gauss Seidel). --- Src/Extern/HYPRE/AMReX_HypreIJIface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Extern/HYPRE/AMReX_HypreIJIface.cpp b/Src/Extern/HYPRE/AMReX_HypreIJIface.cpp index 5dbc0525bb0..f4c7889c743 100644 --- a/Src/Extern/HYPRE/AMReX_HypreIJIface.cpp +++ b/Src/Extern/HYPRE/AMReX_HypreIJIface.cpp @@ -243,7 +243,7 @@ void HypreIJIface::boomeramg_precond_configure(const std::string& prefix) hpp("bamg_up_relax_type", HYPRE_BoomerAMGSetCycleRelaxType, 11, 2); hpp("bamg_coarse_relax_type", HYPRE_BoomerAMGSetCycleRelaxType, 11, 3); } else { - hpp("bamg_relax_type", HYPRE_BoomerAMGSetRelaxType, 11); + hpp("bamg_relax_type", HYPRE_BoomerAMGSetRelaxType, 6); } if (hpp.pp.contains("bamg_num_down_sweeps") && hpp.pp.contains("bamg_num_up_sweeps") && hpp.pp.contains("bamg_num_coarse_sweeps")) { @@ -362,7 +362,7 @@ void HypreIJIface::boomeramg_solver_configure(const std::string& prefix) hpp("bamg_up_relax_type", HYPRE_BoomerAMGSetCycleRelaxType, 11, 2); hpp("bamg_coarse_relax_type", HYPRE_BoomerAMGSetCycleRelaxType, 11, 3); } else { - hpp("bamg_relax_type", HYPRE_BoomerAMGSetRelaxType, 11); + hpp("bamg_relax_type", HYPRE_BoomerAMGSetRelaxType, 6); } if (hpp.pp.contains("bamg_num_down_sweeps") && hpp.pp.contains("bamg_num_up_sweeps") && hpp.pp.contains("bamg_num_coarse_sweeps")) {