yaeos__math_nonlinearsolvers Module



Interfaces

public interface to_solve

  • public subroutine to_solve(X, F, J)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=pr), intent(in) :: X(:)
    real(kind=pr), intent(out) :: F(:)
    real(kind=pr), intent(out) :: J(:,:)

Subroutines

public subroutine homotopy(sub, x, tol, max_its, its)

Arguments

Type IntentOptional Attributes Name
procedure(to_solve) :: sub
real(kind=pr), intent(inout) :: x(:)
real(kind=pr), intent(in) :: tol
integer, intent(in) :: max_its
integer, intent(out) :: its

public subroutine newton(sub, x, tol, max_its, its)

Arguments

Type IntentOptional Attributes Name
procedure(to_solve) :: sub
real(kind=pr), intent(inout) :: x(:)
real(kind=pr), intent(in) :: tol
integer, intent(in) :: max_its
integer, intent(out) :: its