@@ -32,13 +32,15 @@ mutable struct DEStats
3232 njacs:: Int
3333 nnonliniter:: Int
3434 nnonlinconvfail:: Int
35+ nfpiter:: Int
36+ nfpconvfail:: Int
3537 ncondition:: Int
3638 naccept:: Int
3739 nreject:: Int
3840 maxeig:: Float64
3941end
4042
41- DEStats (x:: Int = - 1 ) = DEStats (x, x, x, x, x, x, x, x, x, x, 0.0 )
43+ DEStats (x:: Int = - 1 ) = DEStats (x, x, x, x, x, x, x, x, x, x, x, x, 0.0 )
4244
4345function Base. show (io:: IO , :: MIME"text/plain" , s:: DEStats )
4446 println (io, summary (s))
@@ -49,6 +51,8 @@ function Base.show(io::IO, ::MIME"text/plain", s::DEStats)
4951 @printf io " %-50s %-d\n " " Number of Jacobians created:" s. njacs
5052 @printf io " %-50s %-d\n " " Number of nonlinear solver iterations:" s. nnonliniter
5153 @printf io " %-50s %-d\n " " Number of nonlinear solver convergence failures:" s. nnonlinconvfail
54+ @printf io " %-60s %-d\n " " Number of fixed-point solver iterations:" s. nfpiter
55+ @printf io " %-60s %-d\n " " Number of fixed-point solver convergence failures:" s. nfpconvfail
5256 @printf io " %-50s %-d\n " " Number of rootfind condition calls:" s. ncondition
5357 @printf io " %-50s %-d\n " " Number of accepted steps:" s. naccept
5458 @printf io " %-50s %-d" " Number of rejected steps:" s. nreject
@@ -64,6 +68,8 @@ function Base.merge(a::DEStats, b::DEStats)
6468 a. njacs + b. njacs,
6569 a. nnonliniter + b. nnonliniter,
6670 a. nnonlinconvfail + b. nnonlinconvfail,
71+ a. nfpiter + b. nfpiter,
72+ a. nfpconvfail + b. nfpconvfail,
6773 a. ncondition + b. ncondition,
6874 a. naccept + b. naccept,
6975 a. nreject + b. nreject,
0 commit comments