[petsc-users] KSPBuildResidual in ex42.c

Klaij, Christiaan C.Klaij at marin.nl
Tue May 22 06:10:51 CDT 2012


In src/ksp/ksp/examples/tutorials/ex42.c.html the Stokes system
is solved and KSPBuildResidual is used to compute the residuals
for the velocity components and pressure individually. Are these
the preconditioned residuals or the true residuals? And how to
get both?


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