iteration_controls Derived Type

type, public :: iteration_controls

Provides a collection of iteration control parameters.


Contents


Components

Type Visibility Attributes Name Initial
real(kind=real64), public :: change_in_solution_tolerance

Defines a tolerance on the change in parameter values.

real(kind=real64), public :: gradient_tolerance

Defines a tolerance on the gradient of the fitted function.

real(kind=real64), public :: iteration_improvement_tolerance

Defines a tolerance to ensure adequate improvement on each iteration.

integer(kind=int32), public :: max_function_evaluations

Defines the maximum number of function evaluations allowed.

integer(kind=int32), public :: max_iteration_between_updates

Defines how many iterations can pass before a re-evaluation of the Jacobian matrix is forced.

integer(kind=int32), public :: max_iteration_count

Defines the maximum number of iterations allowed.

real(kind=real64), public :: residual_tolerance

Defines a tolerance on the metric associated with the residual error.


Type-Bound Procedures

procedure, public :: set_to_default => lm_set_default_tolerances

  • private subroutine lm_set_default_tolerances(x)

    Arguments

    Type IntentOptional Attributes Name
    class(iteration_controls), intent(inout) :: x