attitude Function

private pure function attitude(self) result(q)

The sky's attitude in the root frame (quaternion [x, y, z, w]).

Type Bound

SkySphere

Arguments

Type IntentOptional Attributes Name
class(SkySphere), intent(in) :: self

Return Value real(kind=wp), (4)


Source Code

    pure function attitude(self) result(q)
        class(SkySphere), intent(in) :: self
        real(wp) :: q(4)
        q = self%attitude_
    end function attitude