[petsc-users] difference between left and right pc
Klaij, Christiaan
C.Klaij at marin.nl
Wed Sep 26 01:50:23 CDT 2012
> > I can't do that, it's a matshell.
>
>
> You can use MatComputeExplicitOperator or MatFDColoring to get the entries.
> Also, make sure the MATSHELL is really, truly a linear operator. You'll get
> very confusing results if you accidentally leave some nonlinearity inside
> that function.
Thanks for pointing this out, very handy indeed for debugging shells.
dr. ir. Christiaan Klaij
CFD Researcher
Research & Development
E mailto:C.Klaij at marin.nl
T +31 317 49 33 44
MARIN
2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
More information about the petsc-users
mailing list