[petsc-users] KSPMonitorSingularValue
Klaij, Christiaan
C.Klaij at marin.nl
Fri Oct 21 09:40:01 CDT 2011
>>> If you just want to see the monitor, why not use the command line or
>>> PetscOptionsSetValue()?
>>
>> I have three ksp's: one for the momentum eqs (GMRES) and one for
>> the pressure eq (CG) inside the SIMPLE preconditioner and one for
>> the matrix-free coupled mass-momentum system (FGMRES). The
>> command line shows me results for all but right now I'm only
>> interested in monitoring FGMRES on the coupled system.
>
> http://www.mcs.anl.gov/petsc/petsc-2/snapshots/petsc-current/docs/manualpages/KSP/KSPSetOptionsPrefix.html
>
> Give each ksp a unique prefix: for example -momentum -pressure and -mass-momentum Then use -mass-momentum_ksp_monitor_singular_value at the command line.
>
> Barry
Nice, thanks for the tip!
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
More information about the petsc-users
mailing list