Evan Um <[email protected]> writes: > PETSC users, > > As memory is at a premium in my problem, I want to compute only the upper > triangular elements of a matrix and then construct a parallel sparse > symmetric matrix. In this case, do I have to use "MatSetOption > <http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatSetOption.html#MatSetOption> > (A,MAT_SYMMETRIC,PETSC_TRUE
This asserts that the matrix is symmetric, but it does not change the data structure at all and doesn't magically make the matrix symmetric. You want MATSBAIJ.
signature.asc
Description: PGP signature
