Hi,
I was reading the source code of PETScLUSolver.cpp. The spot most confusing me is that:
LUSolver::parameters
has the entry for symmetric
, but it looks to me that it is never read and parsed to PETSc. Instead, it seems to check symmetry by calling MatIsSymmetricKnown
.
Question 1: does this mean parameters['symmetric']
is useless even if user set it?
On the documentation page of MatIsSymmetricKnown
, it says it doesn’t explicitly check matrix entry values.
Question 2: what is the intension of using MatIsSymmetricKnown
instead of using MatIsSymmetric
if it doesn’t ensure if a matrix is symmetric by checking all entries
Thanks
Victor