On Fri, 01 Mar 2024 10: 58: 10 -0500, Mark Adams wrote: >I don't believe so. You are doing the assembly. If you want to tell PETSc (KSP) >that you changed the matrix so that it will re-setup the solvers (eg, refactor) >then you can call
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
On Fri, 01 Mar 2024 10:58:10 -0500, Mark Adams wrote:
>I don't believe so. You are doing the assembly. If you want to tell PETSc (KSP)
>that you changed the matrix so that it will re-setup the solvers (eg, refactor)
>then you can call KSPSetOperators. (You might want to increment the state of
>the Mat so that other things like TS know the state has changed, maybe that is
>all that you need to do)

Great, thanks for the pointers!

>That sounds fine, but keep in mind that you need to use our data layout for the
>blocks if you use our MatVec, etc.

This is taken care of, thanks.

-- 
fabs

Reply via email to