Re: [petsc-dev] : Implementing of a variable block size BILU preconditioner

2018-12-05 Thread Ali Reza Khaz7;ali via petsc-dev
results if they are relevant. On Tue, Dec 4, 2018 at 11:57 PM Ali Reza Khaz'ali via petsc-dev mailto:petsc-dev@mcs.anl.gov> > wrote: Dear Jed, It is ILU(0) since I did not set the levels. Also, no shift was applied. I have attached a Jacobian matrix for the smallest case that I c

Re: [petsc-dev] Implementing of a variable block size BILU preconditioner

2018-12-04 Thread Ali Reza Khaz7;ali via petsc-dev
Dear Jed, ILU with BAIJ works, and its performance in reducing the condition number is slightly better than PCVPBJACOBI. Thanks for your guidance. Best wishes, Ali -Original Message- From: Jed Brown Sent: Tuesday, December 04, 2018 9:40 PM To: Ali Reza Khaz'ali ; 'Smith, Barry F.'

Re: [petsc-dev] Implementing of a variable block size BILU preconditioner

2018-12-04 Thread Ali Reza Khaz7;ali via petsc-dev
Dear Jed, Thanks for your kind answer. I thought Scalar BJACOBI does not need data from the other domains, but ILU does. I have tested my code with scalar ILU. However, no KSP could converge. Also, there are no zeros on the diagonal, at least in the current cases that I am simulating them. Howe

[petsc-dev] Implementing of a variable block size BILU preconditioner

2018-12-03 Thread Ali Reza Khaz7;ali via petsc-dev
Hi, Ithink that the topic is more suited for PETSc-developers than its users; therefore, I move it to the dev list. Continuing the discussion on implementing a variable-block size BILU preconditioner, would it be possible to change the block size parameter (bs) on BAIJ format such that it ca