[petsc-dev] [pflotran-dev: 976] Re: [pflotran-users: 998] Distorted structured grid

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 15 14:47:35 CST 2013


Paolo Orsini <paolo.orsini at gmail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131115/27d486da/attachment.sig>


More information about the petsc-dev mailing list