Re: [petsc-users] DMDASetBlockFillsSparse format

2019-04-21 Thread Smith, Barry F. via petsc-users
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

Re: [petsc-users] DMDASetBlockFillsSparse format

2019-04-21 Thread Jed Brown via petsc-users
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