[petsc-users] Question about DMGlobalToLocal()

Barry Smith bsmith at petsc.dev
Tue May 28 11:27:24 CDT 2024



> 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/20240528/112b6970/attachment-0001.html>


More information about the petsc-users mailing list