stop_iterations Subroutine

private subroutine stop_iterations(me)

A method that the user can call to stop the iterations. (it can be called in any of the functions). SLSQP will stop at the end of the next iteration.

Type Bound

slsqp_solver

Arguments

Type IntentOptional Attributes Name
class(slsqp_solver), intent(inout) :: me

Source Code

    subroutine stop_iterations(me)

    implicit none

    class(slsqp_solver),intent(inout) :: me

    me%user_triggered_stop = .true.

    end subroutine stop_iterations