Skip to content

Commit

Permalink
Hypre ILU options (#3381)
Browse files Browse the repository at this point in the history
Adding more parameter hooks for ILU smoothers. These options are
supported on AMD and Nvidia architectures as of Hypre commit
18b9880 (Jun-15-2023)

Co-authored-by: Paul Mullowney <[email protected]>
  • Loading branch information
PaulMullowney and Paul Mullowney committed Jun 25, 2023
1 parent 239d4d8 commit 93e3d1d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Src/Extern/HYPRE/AMReX_HypreIJIface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,12 @@ void HypreIJIface::boomeramg_precond_configure (const std::string& prefix)
hpp("bamg_ilu_type", HYPRE_BoomerAMGSetILUType);
hpp("bamg_ilu_level", HYPRE_BoomerAMGSetILULevel);
hpp("bamg_ilu_max_iter", HYPRE_BoomerAMGSetILUMaxIter);
#if defined(HYPRE_RELEASE_NUMBER) && (HYPRE_RELEASE_NUMBER >= 22900)
hpp("bamg_ilu_reordering_type", HYPRE_BoomerAMGSetILULocalReordering);
hpp("bamg_ilu_tri_solve", HYPRE_BoomerAMGSetILUTriSolve);
hpp("bamg_ilu_lower_jacobi_iters", HYPRE_BoomerAMGSetILULowerJacobiIters);
hpp("bamg_ilu_upper_jacobi_iters", HYPRE_BoomerAMGSetILUUpperJacobiIters);
#endif
}
else if (smooth_type == 7) { // Pilut
hpp("bamg_smooth_num_sweeps", HYPRE_BoomerAMGSetSmoothNumSweeps);
Expand Down

0 comments on commit 93e3d1d

Please sign in to comment.