-
Notifications
You must be signed in to change notification settings - Fork 46
setiter_root
Fabian Kindermann edited this page Apr 1, 2021
·
2 revisions
subroutine setiter_root(iter)
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.
-
integer :: iter
A scalar value indicating the new number of iterations. Note thatiter
needs to be strictly greater than 0, otherwise the subroutine will throw an error message.
- 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