<div dir="ltr"><div dir="ltr">On Wed, May 31, 2023 at 6:37 PM Ferrand, Jesus A. <<a href="mailto:FERRANJ2@my.erau.edu">FERRANJ2@my.erau.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1074977951203158725">
<div dir="ltr">
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
Dear PETSc team:</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
For one of my applications, I need to know which owned DAG points in a (DMPlex) are other ranks' ghosts.</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
Say, rank-0 has some point "x" (which it owns) and it shows up in, say, rank-1 as a ghost numbered "y".</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
Then, if I inspect the "Point" PestcSF, in rank-1 there should be a leaf for "y" that records rank-0 and the value of "x", right?</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
However, back in rank-0, the same PetscSF has no record that "x" is "y" in rank-1 (and potentially "z","a","b",... in additional ranks).<br>
</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
Is this what, in PetscSF terminology, is referred to as "One-Sided"?</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)">
If so, I think what I am really asking is how can I obtain a "Two-Sided" version of the PointSF?</div></div></div></blockquote><div><br></div><div>You need</div><div><br></div><div> <a href="https://petsc.org/main/manualpages/PetscSF/PetscSFComputeDegreeBegin/">https://petsc.org/main/manualpages/PetscSF/PetscSFComputeDegreeBegin/</a></div><div><br></div><div>If the point is not in the leaf list (owned) and has rootdegree > 1 (shared), it is your point.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1074977951203158725"><div dir="ltr">
<div>
<div id="m_1074977951203158725Signature">
<div>
<div></div>
<div></div>
<div id="m_1074977951203158725divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif;color:rgb(0,0,0)">
<p style="margin-top:0px;margin-bottom:0px"></p>
<div>
<p style="margin:0px 0px 10.66px"></p>
<div>
<p style="background:none 0% 0% repeat scroll white;margin:0px 0px 11px;line-height:normal">
<span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">Sincerely:</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<u><span style="margin:0px;font-family:"Courier New",monospace;font-size:14pt;color:red"><b><span style="font-family:"Courier New",monospace">J.A. Ferrand</span></b></span><span style="margin:0px;font-family:"Swis721 BlkCn BT",sans-serif;font-size:12pt;color:red"></span></u></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">Embry-Riddle Aeronautical University - Daytona Beach - FL<br>
Ph.D. Candidate, Aerospace Engineering<br>
</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">M.Sc.</span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">
Aerospace Engineering<br>
</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">B.Sc.</span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">
Aerospace Engineering</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">B.Sc.</span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">
Computational Mathematics</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></p>
<span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:rgb(0,0,0)"></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black"></span>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><u><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">Phone:</span></u><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">
(386)-843-1829</span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal">
<span style="font-family:"Times New Roman",Times,serif"></span><u><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">Email(s):</span></u><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black">
<a href="mailto:ferranj2@my.erau.edu" target="_blank">ferranj2@my.erau.edu</a></span></p>
<p style="background:none 0% 0% repeat scroll white;margin:0px;line-height:normal;text-indent:0.5in">
<span style="font-family:"Times New Roman",Times,serif"></span><span style="margin:0px;font-family:Courant;font-size:12pt;color:black"><span style="margin:0px;font-family:"Times New Roman",Times,serif">
</span></span><span style="margin:0px;font-family:"Times New Roman",Times,serif;font-size:12pt;color:black"><a href="mailto:jesus.ferrand@gmail.com" target="_blank">jesus.ferrand@gmail.com</a></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>