MatCreateMPIAIJWithSplitArrays and MatSetValues

Matthew Knepley knepley at gmail.com
Fri Aug 14 10:08:01 CDT 2009


On Fri, Aug 14, 2009 at 3:54 AM, Lukasz Kaczmarczyk
<likask at civil.gla.ac.uk>wrote:

> Hello
>
> I created matrix with some off-processor entries using
> MatCreateMPIAIJWithSplitArrays. However I noticed problem, I can not set
> values on off-proc entries by using MatSetValue and MatSetValues. Can You
> help me?


You should be able to (after calling MatAssemblyBegin/End). What happens?
Can you give a simple example.

  Matt


>
> Regards
> Lukasz
>
-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090814/e36eca96/attachment.htm>


More information about the petsc-users mailing list