[petsc-users] Question about DMGlobalToLocal()

Barry Smith bsmith at petsc.dev
Wed May 29 20:40:04 CDT 2024


No particular reason.



> On May 29, 2024, at 8:53 PM, Runjian Wu <wurunjian at gmail.com> wrote:
> 
> 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 <mailto:bsmith at petsc.dev>> wrote:
>> 
>> 
>>> On May 28, 2024, at 12:08 PM, Runjian Wu <wurunjian at gmail.com <mailto: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/20240529/048ddb0d/attachment-0001.html>


More information about the petsc-users mailing list