Decision on whether the giving tracker should be written in the current iteration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_timeControl_type), | intent(inout) | :: | timeControl | |||
type(tem_simControl_type), | intent(in) | :: | simControl | |||
type(tem_comm_env_type), | intent(inout) | :: | proc |
function tem_tracking_has_triggered( timeControl, simControl, proc ) &
& result(triggered)
type(tem_timeControl_type), intent(inout) :: timeControl
type(tem_comm_env_type), intent(inout) :: proc
type(tem_simControl_type), intent(in) :: simControl
logical :: triggered
logical :: tc_triggered
call tem_timeControl_check( me = timeControl, &
& now = simControl%now, &
& comm = proc%comm, &
& triggered = tc_triggered )
triggered = tc_triggered &
& .or. tem_status_run_end(simControl%status) &
& .or. tem_status_run_terminate(simControl%status)
end function tem_tracking_has_triggered