Ah ok, Then I will have a look at matconvert. And then maybe later switch to AIJ as well.
Thanks of the help, Frank > On 29 May 2024, at 16:57, Barry Smith <bsm...@petsc.dev> wrote: > > > You can use MatConvert() > > >> On May 29, 2024, at 10:53 AM, Frank Bramkamp <bramk...@nsc.liu.se> wrote: >> >> This Message Is From an External Sender >> This message came from outside your organization. >> Hello Hong, >> >> Thank you for the clarification. >> If I already have a BAIJ matrix format, can I then convert it later into AIJ >> format as well ?! >> In that case I would have two matrices, but that would be ok for testing. >> I think that you sometimes convert different matrix formats into each other >> ?! >> >> >> Since I typically have BAIJ format, I also use a blocked ILU, which would >> turn into a point wise ILU >> for an AIJ matrix. That is why I typically have the BAIJ format. >> >> Otherwise, I have to change it into an AIJ format from the beginning. >> >> >> Thanks for the quick help, >> >> Frank >> >> >> >> >