I'm confused about how to use KSPMonitorSingularValue
in my fortran code (not using the options database)

By looking at ex30.c I have:

call KSPMonitorSet(ksp,KSPMonitorSingularValue,PETSC_NULL,PETSC_NULL,ierr);
call KSPSetComputeSingularValues(ksp,PETSC_TRUE,ierr)

in the part where I initialize the KSP. But where to call
KSPMonitorSingularValue? And how do I get "n" and "rnorm"?

Chris


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

Reply via email to