Kirill Voronin <[email protected]> writes: > But looking at > http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/impls/bcgs/bcgs.c, > I see that there should be two for each iteration of do loop. > Can this 3-d call happen due to the monitoring routines?
Yes, -ksp_monitor_true_residual computes the true residual explicitly instead of via the recurrence. > Actually I run code with -ksp_monitor_max -ksp_monitor_true_residual and > -ksp_monitor, > with additional monitor routine which calls KSPBuildResidual() and then > computes in NORM_1.
signature.asc
Description: PGP signature
