<div class="gmail_quote">On Fri, Feb 10, 2012 at 00:02, Dmitry Karpeev <span dir="ltr"><<a href="mailto:karpeev@mcs.anl.gov">karpeev@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">
Yes. And, by the way, preallocation for J and P could be different (e.g., mass matrix vs lumped mass matrix for projection problems).  As could be the preferred MatType.</blockquote></div><br><div>This is not easy to encode in a DM, the user should do the allocation in this case (maybe another hook is needed).</div>