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 <bsm...@petsc.dev> wrote: > > > On May 28, 2024, at 12:08 PM, Runjian Wu <wurunj...@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 > > >