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

> I'm trying to use MatCreateMPIAIJWithSplitArrays, but it isn't clear
> to me how the off-diagonal portion is supposed to be constructed.
>

Okay, it's defined by compressing all the sorted off-process entries and
then defining the sequential matrix operating on those values.

Unless you already happen to use the same format, you're better off using
MatSetValues().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110623/441df6e3/attachment.htm>

Reply via email to