solver_session_run_to_end Subroutine

public subroutine solver_session_run_to_end(session, status, message, on_progress, every_steps, every_seconds)

Run the current session until time_stop is reached.

When an on_progress callback is supplied, the runtime fires it every every_steps iterations or every every_seconds wall-clock seconds (whichever comes first) from inside the bounded step loop. With no callback bound, behaviour is byte-identical to a callback-free run.

Arguments

Type IntentOptional Attributes Name
type(solver_session_t), intent(inout) :: session
integer, intent(out), optional :: status
character(len=*), intent(out), optional :: message
procedure(progress_callback_i), optional :: on_progress
integer, intent(in), optional :: every_steps
real(kind=wp), intent(in), optional :: every_seconds