[petsc-users] Is there a corresponding function in petsc4py to VecMPISetFhost

Jed Brown jedbrown at mcs.anl.gov
Sun Jul 1 20:55:53 CDT 2012

No, but you can use Vec.createGhost()

On Sun, Jul 1, 2012 at 5:22 PM, Din Zhao <sean.null at gmail.com> wrote:

> And in general, does any function in petsc have a counterpart in petsc4py?

Most do, but the projects are maintained somewhat separately so not every
one make it into petsc4py. Also, sometimes a more "pythonic" interface is
adopted by petsc4py, so the calls don't line up exactly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120701/00348b6e/attachment.html>

More information about the petsc-users mailing list