[petsc-dev] Creation of snes->vec_func
Jed Brown
jedbrown at mcs.anl.gov
Wed Dec 21 22:19:42 CST 2011
On Wed, Dec 21, 2011 at 16:35, Barry Smith <bsmith at mcs.anl.gov> wrote:
> > 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.
>
> Seems ok to me to make it collective and create the vector if needed.
Done:
http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2d5e73b75a6c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111221/1f298408/attachment.html>
More information about the petsc-dev
mailing list