log_iteration Subroutine

private subroutine log_iteration(ctx)

Log one iteration summary line (time, residual, per-iteration and elapsed wall time). The lightweight iter_s and elapsed_s fields are always populated. Called every ctx % print_freq iterations and once unconditionally after the loop.

Arguments

Type IntentOptional Attributes Name
type(solver_run_context_t), intent(in) :: ctx

Solver context (read-only).