[petsc-users] petsc4py, MatShell and SNES

Jed Brown jed at jedbrown.org
Sun Apr 20 19:50:17 CDT 2014


Veltz Romain <romvegeta at yahoo.fr> writes:

> Hi Petsc users,
>
> I would like to know how the following code must be modified in order to work with the latest versions of Petsc4py.
>
> http://code.google.com/p/petsc4py/issues/attachmentText?id=11&aid=4044638157340430804&name=SNES_MatShell.py&token=e664eb9a46d94c453334a46c924d3e93
>
> Thank you for your help,

See attached.  In the future, it's a good idea to try updating the
example and let us know what went wrong.  We can't tell from your email
if anything needs updating, for example.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 741 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140420/8ce15fb4/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140420/8ce15fb4/attachment.pgp>


More information about the petsc-users mailing list