When I want to solve a large-scale sparse problem with the multigrid Solver, how do I set up its components and parameters? The current setup needs to be iterated too many times #1761
Unanswered
cuihaoran21
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
using ir = gko::solver::Ir;
using bj = gko::preconditioner::Jacobi<double, int>;
using pgm = gko::multigrid::Pgm<double, int>;
using mg = gko::solver::Multigrid;
/* Create smoother factory*/
smoother_gen = gko::share(
ir::build()
.with_solver(bj::build().with_max_block_size(2u))
.with_relaxation_factor(static_cast(0.7))
.with_criteria(gko::stop::Iteration::build().with_max_iters(15u))
.on(exec));
Beta Was this translation helpful? Give feedback.
All reactions