Re: [petsc-users] how to reuse Mumps factorization

2022-10-19 Thread 袁煕
Got it. Thanks for your detailed explanation. YUAN 2022年10月19日(水) 23:58 Barry Smith : > >Every time a matrix entry gets changes PETSc tracks these changes so > for the next KSP by default solve it repeats the numerical factorization if > the matrix has changed. Otherwise it reuses the

Re: [petsc-users] how to reuse Mumps factorization

2022-10-19 Thread Barry Smith
Every time a matrix entry gets changes PETSc tracks these changes so for the next KSP by default solve it repeats the numerical factorization if the matrix has changed. Otherwise it reuses the still current factorization. If you are calling KSP directly, you can call

Re: [petsc-users] how to reuse Mumps factorization

2022-10-19 Thread Matthew Knepley
On Wed, Oct 19, 2022 at 9:13 AM 袁煕 wrote: > Hello, > > I am using Mumps to solve a problem with multiple time steps. The matrix > structure does not change but its value may or may not change during > those steps. That means I should reuse the symbolic factorization but > recall numeric

[petsc-users] how to reuse Mumps factorization

2022-10-19 Thread 袁煕
Hello, I am using Mumps to solve a problem with multiple time steps. The matrix structure does not change but its value may or may not change during those steps. That means I should reuse the symbolic factorization but recall numeric factorization when needed. I have found the following anwser