analyze preconditioned operator?

Barry Smith bsmith at
Thu Oct 9 16:35:02 CDT 2008

    You are not missing something.

    If you want an application of a preconditioner to look like a  
matrix-vector product for SLEPc then you
need to wrap the PCApply inside a MatShell() (it may sound scary but  
is easy).


On Oct 9, 2008, at 4:32 PM, Matt Funk wrote:

> mmhh,
> i think i am missing something. Doesn't PCApply() apply the  
> preconditioner to
> a vector? So how would that work (easily) with a matrix?
> matt
> On Thursday 09 October 2008, Matthew Knepley wrote:
>> CApply().

More information about the petsc-users mailing list