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

Barry Smith bsmith at mcs.anl.gov
Sun Jul 1 22:10:40 CDT 2012


On Jul 1, 2012, at 8:55 PM, Jed Brown wrote:

> 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.

   We do intend to have the same functionality in both, so if something is a bit different on the pythonic side we still want it to have the same functionality. 

   It is easy for us to miss something so please do report to petsc-maint at mcs.anl.gov missing python functionality.


   Barry




More information about the petsc-users mailing list