Skip to content

setiter_root

Fabian Kindermann edited this page Apr 1, 2021 · 2 revisions
subroutine setiter_root(iter)

Description:

Allows to alter the maximum number of iterations of the root-finder fzero, if you feel that the default number of 200 iterations is not enough for solving your problem.

Input arguments:

  • integer :: iter
    A scalar value indicating the new number of iterations. Note that iter needs to be strictly greater than 0, otherwise the subroutine will throw an error message.

References

  • For further reading refer to:
    • Broydn, C.G. (1967). Quasi-Newton methods and their application to function minimisation. Mathematics of Computation, 19, 577-593.
    • Allen, M.B. & Isaacson, E.L. (1998). Numerical Analysis for Applied Science. Wiley Series in Pure and Applied Mathematics, New York: Wiley.
  • This routine is used in the following programs:
    • prog10_06.f90
Clone this wiki locally