sphere_attitude Function

private pure function sphere_attitude(self) result(q)

Attitude of the body in its frame (quaternion [x, y, z, w]).

Type Bound

Sphere

Arguments

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

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


Source Code

    pure function sphere_attitude(self) result(q)
        class(Sphere), intent(in) :: self
        real(wp) :: q(4)
        q = self%sphere_attitude_
    end function sphere_attitude