True if a points to the clock b.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(SimulationClock), | intent(in), | pointer | :: | a |
the clock pointer (may be null) |
|
| class(SimulationClock), | intent(in), | target | :: | b |
the clock |
logical function same_clock(a, b) type(SimulationClock), pointer, intent(in) :: a !! the clock pointer (may be null) class(SimulationClock), intent(in), target :: b !! the clock select type (b) type is (SimulationClock) same_clock = associated(a, b) class default same_clock = .false. end select end function same_clock