Re: [petsc-users] MatSetValues() can't work right

2024-03-18 Thread Barry Smith
> On Mar 18, 2024, at 9:41 PM, Waltz Jan wrote: > > Thank you for your response. > However, even after reading the Notes in >

Re: [petsc-users] MatSetValues() can't work right

2024-03-18 Thread Barry Smith
The output is correct (only confusing). For PETSc DMDA by default viewing a parallel matrix converts it to the "natural" ordering instead of the PETSc parallel ordering. See the Notes in