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

袁煕 yuanxi at advancesoft.jp
Tue Nov 30 18:18:35 CST 2021


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 <knepley at gmail.com>:

> On Sun, Nov 28, 2021 at 8:05 AM 袁煕 <yuanxi at 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/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211201/971d83c4/attachment.html>


More information about the petsc-users mailing list