https://petsc.org/main/docs/manualpages/Mat/MatCreateSubMatrix/
Note, PETSc lets you give NULL arguments if there is a reasonable default. In this case give NULL for the column IS and you will get the whole columns. Mark On Fri, Feb 3, 2023 at 4:05 AM 김성익 <[email protected]> wrote: > Hello, > > > By using MatGetRow, user can get vectors from local matrix (at each > process). > > However, I need other process's row values. > So I have 2 questions. > > 1. Is there any function for getting arrays from other process's?? > > 2. Or is there any function like matrix version of vecscattertoall?? > > Thanks, > Hyung Kim >
