True if a and b are the same frame (object).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(in), | target | :: | a |
the frames compared |
|
| class(ReferenceFrame), | intent(in), | target | :: | b |
the frames compared |
logical function same_frame(a, b) class(ReferenceFrame), intent(in), target :: a, b !! the frames compared class(ReferenceFrame), pointer :: pa pa => a same_frame = associated(pa, b) end function same_frame