[petsc-users] Is there a corresponding function in petsc4py to VecMPISetFhost
Xin Zhao
sean.null at gmail.com
Mon Jul 2 08:25:13 CDT 2012
Hi Jed,
I've add the code to petsc4py and then
I typed in terminal:
python setup.py build
python setup.py install --user
But I still can not find the method Vec.setMPIGhost().
I know the question is stupid, but I really need your help.
Regards,
Xin
On Mon, Jul 2, 2012 at 10:42 AM, Din Zhao <sean.null at gmail.com> wrote:
> Thank you all.
>
>
>
> On Jul 2, 2012, at 2:55 AM, Jed Brown <jedbrown at mcs.anl.gov> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120702/da7cedac/attachment-0001.html>
More information about the petsc-users
mailing list