-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
celestial bodies rotational elements interface
- Loading branch information
1 parent
6fc9be4
commit 4e679a5
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
module Bodies | ||
|
||
""" | ||
body_rotational_elements(T, ::Val{id}) | ||
Interface to compute the rotational elements of a body with ID `id`. | ||
Rotational elements includes `α`, `δ` and `W` that identifies the north pole | ||
of the body and its prime meridian. | ||
The north pole is that pole of rotation that lies on the north side of the | ||
invariable plane of the solar system. Its direction is specified by the values | ||
of its right ascension `α`, declination `δ` . | ||
The location of the prime meridian is then given by `W`, which is a rotation | ||
in the body equator of date. | ||
""" | ||
function body_rotational_elements end | ||
function ∂body_rotational_elements end | ||
function ∂²body_rotational_elements end | ||
function ∂³body_rotational_elements end | ||
|
||
""" | ||
body_pole(T, ::Val{id}) | ||
Interface to compute the north pole direction of the `id` body. | ||
""" | ||
function body_pole end | ||
|
||
""" | ||
body_right_ascension(T, ::Val{id}) | ||
Interface to compute the right ascension of the north pole of a | ||
body identified by `id`. | ||
""" | ||
function body_right_ascension end | ||
|
||
""" | ||
body_declination(T, ::Val{id}) | ||
Interface to compute the declination of the north pole of a | ||
body identified by `id`. | ||
""" | ||
function body_declination end | ||
|
||
""" | ||
body_prime_meridian(T, ::Val{id}) | ||
Interface to compute the prime meridian angle of a body identified by `id`. | ||
""" | ||
function body_prime_meridian end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,6 @@ include("Frames.jl") | |
include("Math.jl") | ||
include("Ephemeris.jl") | ||
include("Models.jl") | ||
include("Bodies.jl") | ||
|
||
end |