[petsc-users] Size of off-diagonal matrix

Jed Brown jed at 59A2.org
Thu Jun 23 10:03:05 CDT 2011


On Thu, Jun 23, 2011 at 16:59, John Fettig <john.fettig at gmail.com> wrote:

> I understand everything you say here except what "compressing" means.
> It is compressed by virtue of being in CSR format, but then you do
> some additional mapping with the column indices that further
> compresses it? What purpose does changing the column indices serve?
>

It operates on the dense vector consisting of only those entries on other
processors that interact with the current one. If this thing operated on the
full global vector, there would either need to be a matrix format that could
operator on "sparse vectors" (i.e. an additional layer of indirection) or
the whole dense global vector would need to be gathered to every process
which would be horribly non-scalable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110623/d5ed0859/attachment.htm>


More information about the petsc-users mailing list