public elemental function tem_time_ge_trigger(time, trigger) result(ge)
Compare (>=) a complete time defintion against a trigger.
This returns true, if any of the time definitions in time is greater or
equal to the corresponding time given in trigger.
The time argument should be completely defined, while the trigger might
have some of its definitions set to never.
Due to this definition this comparison operator is not useful to define
a unique ordering of time definitions!
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
elemental function tem_time_ge_trigger(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, true if any of the time specifications in time!! is larger or equal to the ones in trigger.logical::ge! -------------------------------------------------------------------- !! -------------------------------------------------------------------- !ge=((time%sim>=trigger%sim)&&.or.(time%iter>=trigger%iter)&&.or.(time%clock>=trigger%clock))end function tem_time_ge_trigger