[petsc-users] Symmetric MPIAIJ matrix

Matthew Knepley knepley at gmail.com
Tue Jul 7 15:25:06 CDT 2015


On Tue, Jul 7, 2015 at 3:22 PM, Bikash Kanungo <bikash at umich.edu> wrote:

> Hi,
>
> Is there a way to ignore the lower (or upper) triangular entries in an
> MATMPIAIJ matrix when I know my matrix is symmetric? I can see a
> MAT_SYMMETRIC option in MatSetOption, but I don't think it ignores any
> lower (or upper) triangular entry.
>

Why do you want this?


> I cannot use MATMPISBAIJ due to MatMatMult incompatibility with MATMPIAIJ.
>

This is the only way. MatMatMult() is quite complex and there is no real
advantage to ignoring
the entries, so we have not implemented it here.

  Matt


> Thanks,
> Bikash
>
> --
> Bikash S. Kanungo
> PhD Student
> Computational Materials Physics Group
> Mechanical Engineering
> University of Michigan
>
>


-- 
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/20150707/09e98a91/attachment.html>


More information about the petsc-users mailing list