JuliaLinearAlgebra / AlgebraicMultigrid.jl

Algebraic Multigrid in Julia
Other
116 stars 23 forks source link

implement W and F cycles and n-dimensional Poisson matrix #77

Closed Alexander-Barth closed 3 years ago

Alexander-Barth commented 3 years ago

This PR implements W and F cycles for the function solve using the same approach than pyamg and for the function aspreconditioner. To test it on a more realistic configuration I also implemented a multidimensional Poisson function. The number of iterations to reach convergence is the same as pyamg for a 1000x1000 Poisson systems (11 for V cycles, and 7 for F and W cycles using ruge_stuben and reltol = 1e-8)

Thank you for reviewing this PR.

ranjanan commented 3 years ago

Hi @Alexander-Barth, this is great, thank you very much! Could you please rebase this with the current master? I just added Travis CI as a github action. Let's run CI on this PR too.

Alexander-Barth commented 3 years ago

Hi @ranjanan, I am glad to help. I just rebased the PR.