Index of frame among the children, or 0.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(in) | :: | self | |||
| class(ReferenceFrame), | intent(in), | target | :: | frame |
the frame to find |
integer function child_index(self, frame) class(ReferenceFrame), intent(in) :: self class(ReferenceFrame), intent(in), target :: frame !! the frame to find child_index = find(self%children, self%n_children, frame) end function child_index