This forum has been archived. All content is frozen. Please use KDE Discuss instead.

GMRES with ILU0 preconditioning

Tags: None
(comma "," separated)
Siddharth
Registered Member
Posts
4
Karma
0

GMRES with ILU0 preconditioning

Tue May 31, 2016 8:16 pm
Hello,

I am using the GMRES solver for a very large sparse system and trying to precondition it using the ILU0 preconditioner. I'm a little confused about how to achieve this with the setFillFactor function in the ILUT preconditioner. I'm not exactly sure how the fillFactor translates into the fill-in procedure. Can some give me a code snippet or clarify how to do this?


Thank you!

Siddharth
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: GMRES with ILU0 preconditioning

Thu Jun 02, 2016 4:21 pm
Looking at the code, ILUT keeps at most the m largest non-zeros per row of L (and U) , where:

m = ((mat.nonZeros()*m_fillfactor)/n + 1) / 2

and n is the number of rows.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]