Paolo Orsini <[email protected]> writes:

> MatConvert was slow when I tested 10 days ago, because was not
> preallocating the new matrix (see initial part of this thread). I was
> trying to find a work around.
> Unless you already fixed this, did you?... I haven't reinstalled petsc from
> then

Thanks for the reminder, I forgot that we were missing a specialized
function.  What I recommended should work and be fast with 'next'.  Can
you try that?

> I need the final Dual Graph (the filtered matrix) in Adj mat format.
> I will extract indices from the AIJ matrix (the matrix to filter), and I I
> will create a new Adj (avoiding to do an in-place operation as you
> suggested)

Yeah, it can't really be done in-place anyway.

Attachment: pgpnA2Gy72bBm.pgp
Description: PGP signature

Reply via email to