<div dir="ltr"><div>The coordinate DM also is automatically created and has dim fields in its vectors, making it far more heavyweight than a scalar problem.  It should definitely be something that's lazily evaluated.<br>
<br></div>- Peter<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 7:39 AM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> writes:<br>
<br>
> Well, the scatter operations are collective, so making creation lazy here<br>
> seems fine.<br>
> I have no problem forcing a setup of local-to-global since I do not think<br>
> many people<br>
> use it directly.<br>
<br>
</div>It gets added to any Mat or Vec that gets created.  Any code that uses<br>
VecSetValuesLocal() or MatSetValuesStencil() would fail without it.<br>
</blockquote></div><br></div>