I looked at the code and in the end the values get propagated into calls to
MatSetValuesLocal() which does not require sorted values.
Thus my conclusion is that you do not have to sorted column indices in these
calls
Barry
Yes we do a nonexistent job of indicating when indices need
Dear All,
Does anyone know if the format of sparse matrices in DMDASetBlockFillsSparse
require column indicies for chosen row to be in increasing order?
Thank you,
Oleksandr.
I'm pretty confident all the tests are sorted. It wouldn't be any great
hardship for us to allow unsorted input. If you submit an unsorted
test, we can make sure it works (it might already, but we should
probably add a call to in-place sort).
Oleksandr Koshkarov via petsc-users writes:
> Dear