This function returns true if tem_time_type is defined either as iter, sim or clock.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_time_type), | intent(in) | :: | me |
pure function tem_time_isDefined(me) result(isDefined) ! -------------------------------------------------------------------- ! type(tem_time_type), intent(in) :: me logical :: isDefined ! -------------------------------------------------------------------- ! ! -------------------------------------------------------------------- ! isDefined = ( (me%iter < huge(me%iter)) & & .or. (me%sim < huge(me%sim)) & & .or. (me%clock < huge(me%clock)) ) end function tem_time_isDefined