[petsc-users] Setting entries of symmetric matrix

2014-09-12 Thread Florian Lindner
Hello, I have a matrix that have the option set MAT_SYMMETRY_ETERNAL and set some values in the upper triangular. When reading values I was expecting that Petsc makes it a symmetric matrix, but the lower triangular is empty like it was initialized. Thanks, Florian Example code: #include

Re: [petsc-users] Setting entries of symmetric matrix

2014-09-12 Thread Matthew Knepley
On Fri, Sep 12, 2014 at 2:56 AM, Florian Lindner mailingli...@xgm.de wrote: Hello, I have a matrix that have the option set MAT_SYMMETRY_ETERNAL and set some values in the upper triangular. When reading values I was expecting that Petsc makes it a symmetric matrix, but the lower triangular