<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 9, 2015 at 6:19 PM, Adrian Croucher <span dir="ltr"><<a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is it possible that you have not created the global section yet? I do not use the normal interface here, which creates it<br>
automatically, to speed things up. You can just call DMPlexGetDefaultGlobalSection(<u></u>) before the call.<br>
</blockquote>
<br>
Thanks, it works if I add a call to DMGetDefaultGlobalSection() beforehand (couldn't find a '<u></u>DMPlexGetDefaultGlobalSection(<u></u>)').<br>
<br>
What is the 'normal interface' you're referring to here? Just wondering in case it would be easier for me to use that instead.<br></blockquote><div><br></div><div>Sorry, obscure. What I meant was that internally I was using dm->defaultGlobalSection rather than calling DMGetDefaultGlobalSection()</div><div>which would have created it. I have inserted checks for creation in the debug version.</div><div><br></div><div> Thanks,</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, Adrian<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Dr Adrian Croucher<br>
Senior Research Fellow<br>
Department of Engineering Science<br>
University of Auckland, New Zealand<br>
email: <a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a><br>
tel: +64 (0)9 923 84611<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>