Whether two frame pointers are both null or point to the same frame.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(in), | pointer | :: | a |
the pointers |
|
| class(ReferenceFrame), | intent(in), | pointer | :: | b |
the pointers |
logical function same_pointer(a, b) class(ReferenceFrame), pointer, intent(in) :: a, b !! the pointers if (associated(a)) then same_pointer = associated(b, a) else same_pointer = .not. associated(b) end if end function same_pointer