[petsc-dev] Matlab implementation of PC

Barry Smith bsmith at mcs.anl.gov
Sun Dec 12 16:51:40 CST 2010

  I've added the PetscPC object to the Matlab interface as well as PetscKSP.GetPC() to access it.

  Also added PetscOptionsSetValue() and PetscOptionsClearValue() to the Matlab interface to allow easily changing options interactively between solver runs without using PetscInitialize() again.


  For the Matlab interface I have not tried to write all the PetscXXXSetYYY() and PetscXXXYYYSetZZZ() interfaces manual. For example KSPGMRESSetRestart() etc. It would be nice to generate them all automatically :-) but then we have some cumbersome scripts to generate them (ugg) or someone (hint hint) could spend a couple hours typing them in (only bad in that they would to be kept in sync with the C interfaces).

On Dec 9, 2010, at 3:26 PM, Dave May wrote:

> Hi Barry,
>  Is it possible that you could possible add PetscPC.m?
> I work with a bunch of matlab users solving Stokes on staggered grid who
> rely on umfpack. I'd love to be able to get them to try ML or hypre via PETSc.
> Cheers,
>  Dave

More information about the petsc-dev mailing list