root_state Derived Type

type, public :: root_state

State variables for root.


Components

Type Visibility Attributes Name Initial
real(kind=dp), public :: a

Previous iterate point used for secant step calculation.

real(kind=dp), public :: acbs

Width of the bracketing interval at the last forced bisection checkpoint.

real(kind=dp), public :: acmb

Absolute value of half the current interval length, |(c - b)/2|.

real(kind=dp), public :: ae

Internal absolute error tolerance bound, max(abserr, 0.0).

real(kind=dp), public :: cmb

Half-interval vector representation, (c - b)/2.

real(kind=dp), public :: fa

Function value evaluated at point a, f(a).

real(kind=dp), public :: fb

Function value evaluated at point b, f(b).

real(kind=dp), public :: fc

Function value evaluated at point c, f(c).

real(kind=dp), public :: fx

Maximum initial absolute function value, used to detect poles or divergence.

real(kind=dp), public :: p

Numerator of the proposed secant step update fraction (p/q).

real(kind=dp), public :: q

Denominator of the proposed secant step update fraction (p/q).

real(kind=dp), public :: re

Internal relative error tolerance bound, max(relerr, epsilon).

real(kind=dp), public :: tol

Dynamic convergence tolerance threshold for the current iteration step.

integer, public :: ic

Counter of sequential secant steps used to force bisection if convergence stalls.

integer, public :: fcount

Total number of function evaluations completed so far.