This function returns, if the given time definition requires a reduction operation if used as a trigger.
If there is a clock setting involved, a reduction is needed, as the wtimes are not synchronous across all processes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tem_time_type), | intent(in) | :: | me |
Time definition to check of its need of a reduction. |
Flag indicating, if this time setting requires a reduction.
elemental function tem_time_needs_reduce(me) result(needs_reduce) ! -------------------------------------------------------------------- ! !> Time definition to check of its need of a reduction. type(tem_time_type), intent(in) :: me !> Flag indicating, if this time setting requires a reduction. logical :: needs_reduce ! -------------------------------------------------------------------- ! ! -------------------------------------------------------------------- ! needs_reduce = me%clock < huge(me%clock) end function tem_time_needs_reduce