<div class="gmail_quote">On Wed, Dec 21, 2011 at 16:35, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@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">> before checking whether vec_func is available yet. The problem with this is that SNESGetFunction() is currently Not Collective, and this would make it collective in that case.<br>
<br>
</div> Seems ok to me to make it collective and create the vector if needed.</blockquote></div><div><br></div>Done:<div><br><div><a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2d5e73b75a6c">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2d5e73b75a6c</a></div>
</div>