Re: [petsc-users] PETSc Ordering for vectors generated by DMCreateGlobalVector

2021-11-30 Thread 袁煕
I see. It would be a feasible approach to solve my problem. Thank you for your suggestion. Yuan 2021年11月30日(火) 0:02 Matthew Knepley : > On Sun, Nov 28, 2021 at 8:05 AM 袁煕 wrote: > >> Hi all, >> >> Application Ordering of a vector is generally different from its PETSc >> one. In my application,

Re: [petsc-users] PETSc Ordering for vectors generated by DMCreateGlobalVector

2021-11-29 Thread Matthew Knepley
On Sun, Nov 28, 2021 at 8:05 AM 袁煕 wrote: > Hi all, > > Application Ordering of a vector is generally different from its PETSc > one. In my application, I wish to retrieve the value of a vector generated > by DMCreateGlobalVector into its original application order. I know there > are some functi

[petsc-users] PETSc Ordering for vectors generated by DMCreateGlobalVector

2021-11-28 Thread 袁煕
Hi all, Application Ordering of a vector is generally different from its PETSc one. In my application, I wish to retrieve the value of a vector generated by DMCreateGlobalVector into its original application order. I know there are some functions like DMDAGetAO to do this. My question is : Is ther