[petsc-users] Question about DMGlobalToLocal()

Runjian Wu wurunjian at gmail.com
Wed May 29 19:53:24 CDT 2024


I just have a follow-up question.  It seems that there's no
DMLocalToLocal() for DMLocalToLocalBegin() and DMLocalToLocalEnd().  Why is
it not developed?

Thanks,

Runjian

On Wed, May 29, 2024 at 12:27 AM Barry Smith <bsmith at petsc.dev> wrote:

>
>
> On May 28, 2024, at 12:08 PM, Runjian Wu <wurunjian at gmail.com> wrote:
>
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi all,
>
> I have two questions about this information.
> "DMGlobalToLocal() is a short form of DMGlobalToLocalBegin() and
> DMGlobalToLocalEnd()".
>
>
>   Yes
>
>
> (1) Is DMGlobalToLocal() recently added?  Are DMGlobalToLocalBegin() and
> DMGlobalToLocalEnd() reserved for old code?
>
>
>    Somewhat recent. No they are not reserved for old code.
>
>
> (2) I can only use DMGlobalToLocal() to replace DMGlobalToLocalBegin() and
> DMGlobalToLocalEnd(), correct?
>
>
>    As opposed to what other use? It is literally just those two calls.
>
>
> Thanks,
>
> Runjian Wu
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240530/422cb707/attachment.html>


More information about the petsc-users mailing list