Return the (>=) comparison of each time measurement between the two arguments.
This returns an array of logicals with the length tem_time_n_ids, with each one indicating the comparison result for the individual measures.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_time_type), | intent(in) | :: | time |
A fully defined time definition (all components should have meaningful settings). |
||
type(tem_time_type), | intent(in) | :: | trigger |
A comparison time definition, where some entries might be set to never. If any of the time components is larger, the result will be true. |
Result of the comparison for each of the time specifications.
pure function tem_time_ge_each(time, trigger) result(ge)
! -------------------------------------------------------------------- !
!> A fully defined time definition (all components should have meaningful
!! settings).
type(tem_time_type), intent(in) :: time
!> A comparison time definition, where some entries might be set to never.
!! If any of the time components is larger, the result will be true.
type(tem_time_type), intent(in) :: trigger
!> Result of the comparison for each of the time specifications.
logical :: ge(tem_time_n_ids)
! -------------------------------------------------------------------- !
! -------------------------------------------------------------------- !
ge(tem_time_sim_id) = (time%sim >= trigger%sim)
ge(tem_time_iter_id) = (time%iter >= trigger%iter)
ge(tem_time_clock_id) = (time%clock >= trigger%clock)
end function tem_time_ge_each