[petsc-users] Example of PCShell

Jed Brown jed at 59A2.org
Tue Mar 15 08:28:25 CDT 2011


On Tue, Mar 15, 2011 at 14:21, Zhang, Yifan <yifan_zhang at brown.edu> wrote:

> I am trying to preconditioning spectral method with 2nd order finite
> difference.
>

You might be interested in https://github.com/jedbrown/spectral-petsc which
does this for Chebyshev spectral methods where differentiation is
implemented using FFTW. There are examples for a scalar elliptic problem and
3D Stokes. It may need updates to work with petsc-3.1 or petsc-dev.


> So just writing to ask if anyone got a good Petsc examples of
> using PCShell in fortran other than ex15.F .
>

There is src/snes/examples/tutorials/ex33f.F, but that example can't be
built because the common block definition is missing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110315/14f9376c/attachment.htm>


More information about the petsc-users mailing list