Hi all,

I need to solve a PDE ( basically a Poisson's equation with Neumann boundary
condition ), and I solved it using a steepest descent method, which is very
slow. Now I want to solve the PDE using GMRES. In addition, I do have the
matrix A, but I have a function which computes Ax, so I also need to use the
matrix free method.

I am very new to PETSc, so I am looking for examples on solving linear
systems using GMRES and/or matrix-free method.

Thanks,
Xiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110607/c80df704/attachment.htm>

Reply via email to