Closed cortner closed 6 years ago
actually, this has nothing to do with speye
, everything seems to fail right now. wait for more info, probably a problem at my end.
Seems this is just matrix size:
julia> ruge_stuben(poisson(11))
Multilevel Solver
-----------------
Operator Complexity: 1.419
Grid Complexity: 1.455
No. of Levels: 2
Coarse Solver: AMG.Pinv()
Level Unknowns NonZeros
----- -------- --------
1 11 31 [70.45%]
2 5 13 [29.55%]
julia> ruge_stuben(poisson(10))
Error showing value of type AMG.MultiLevel{AMG.Pinv,AMG.GaussSeidel{AMG.SymmetricSweep},AMG.GaussSeidel{AMG.SymmetricSweep},Float64,Int64}:
ERROR: ArgumentError: reducing over an empty collection is not allowed
Hi @cortner, yes, I have been a little lax with testing the ruge_stuben
. The smoothed_aggregation
is perhaps a little more robust. I will look through this as well as issue #32 and fix all of them. Other than that I'll add a bunch of tests for the classical amg. Thanks for considering using this package! :-)
This is actually a display issue that fails for matrices smaller than max_coarse
interesring, and not to worry about the bugs, just trying to help find them. I’ll try out smoothed aggregation