<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 25, 2017 at 2:22 PM, Lawrence Mitchell <span dir="ltr"><<a href="mailto:lawrence.mitchell@imperial.ac.uk" target="_blank">lawrence.mitchell@imperial.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 25 May 2017, at 20:03, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
><br>
><br>
> Hmm, I thought I made adjacency per field. I have to look. That way, no problem with the Stokes example. DG is still weird.<br>
<br>
</span>You might, we don't right now. We just make the topological adjacency that is "large enough", and then make fields on that.<br>
<span class=""><br>
><br>
> That seems baroque. So this is just another adjacency pattern. You should be able to easily define it, or if you are a patient person,<br>
> wait for me to do it. Its here<br>
><br>
> <a href="https://bitbucket.org/petsc/petsc/src/01c3230e040078628f5e559992965c1c4b6f473d/src/dm/impls/plex/plexdistribute.c?at=master&fileviewer=file-view-default#plexdistribute.c-239" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/<wbr>petsc/src/<wbr>01c3230e040078628f5e559992965c<wbr>1c4b6f473d/src/dm/impls/plex/<wbr>plexdistribute.c?at=master&<wbr>fileviewer=file-view-default#<wbr>plexdistribute.c-239</a><br>
><br>
> I am more than willing to make this overridable by the user through function composition or another mechanism.<br>
<br>
</span>Hmm, that naive thing of just modifying the XXX_Support_Internal to compute with DMPlexGetTransitiveClosure rather than DMPlexGetCone didn't do what I expected, but I don't understand the way this bootstrapping is done very well.<br></blockquote><div><br></div><div>It should do the right thing. Notice that you have to be careful about the arrays that you use since I reuse them for efficiency here.</div><div>What is going wrong?</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<br>
Lawrence<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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.caam.rice.edu/~mk51/" target="_blank">http://www.caam.rice.edu/~mk51/</a><br></div></div></div>
</div></div>