halo_user_input_check Subroutine

public subroutine halo_user_input_check(me, user_stop)

nlesolver's user_input_check: stop if the solver's stop_check says so.

Arguments

Type IntentOptional Attributes Name
class(nlesolver_type), intent(inout) :: me
logical, intent(out) :: user_stop

Calls

proc~~halo_user_input_check~~CallsGraph proc~halo_user_input_check halo_user_input_check stop_check stop_check proc~halo_user_input_check->stop_check

Source Code

    subroutine halo_user_input_check(me,user_stop)

    implicit none

    class(nlesolver_type),intent(inout) :: me
    logical,intent(out) :: user_stop

    user_stop = .false.
    select type (me)
    class is (my_solver_type)
        if (associated(me%stop_check)) user_stop = me%stop_check()
    end select

    end subroutine halo_user_input_check