[petsc-users] Newbie Question - Really slow - PetscMemCpy

Jed Brown jed at 59A2.org
Thu Apr 22 08:14:40 CDT 2010


On Thu, 22 Apr 2010 15:11:46 +0200, Jed Brown <jed at 59A2.org> wrote:
> Yes, if you call MatSeqBAIJSetPreallocation() with a MATSEQAIJ, then you
> have not preallocated anything.

But note that when you called MatCreateSeqBAIJ(), your sparsity was
actually used (and interpreted as BAIJ).  Since this still had poor
performance, there is still something wrong with the sparsity.

Jed


More information about the petsc-users mailing list