On Sun, Nov 28, 2021 at 8:05 AM 袁煕 <yua...@advancesoft.jp> 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 functions like DMDAGetAO to do this. My question is : Is there any > DMPlex version of such a function? If not, I wish to know how to do it. > There is a GlobalToNatural map for Plex. We are in the process of reworking this, but you can see its use in Plex test ex26. Thanks, Matt > Many thanks > > Yuan > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>