14 Jun
2017
14 Jun
'17
5:25 p.m.
On 14 Jun 2017, at 17:43, Colin Cotter <colin.cotter@imperial.ac.uk> wrote:
I'm using a matfree solver, for the same equation with changing coefficients, but always the same preconditioner. Is there are way to avoid rebuilding the preconditioner but updating the matrix entries? I'm hoping that this actually happens by default, because of the matfree setup, but am not sure.
If your update method in your PC is empty, then the pc will not be rebuilt when the matrix changes. I think that is what you want. If course, there are no matrix entries, so you just need to ensure that you reassemble the matrix appropriately I think. Lawrence