Skip to content

Commit

Permalink
Adds docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
cadojo committed Nov 16, 2024
1 parent 7cde94c commit c607aba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/AstrodynamicalSolvers/src/Propagation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ function monodromy(
return reshape((solution.u[end][begin+6:end]), 6, 6)
end

"""
Return a vector of orbits along the manifold which diverges from the provided
halo orbit.
"""
function divergent_manifold(u, μ, Δt; eps = 1e-8, trajectories = nothing, kwargs...)
orbit = Orbit(u, CR3BParameters(μ))
Φ = monodromy(orbit, Δt)
Expand Down Expand Up @@ -236,7 +240,10 @@ function divergent_manifold(u, μ, Δt; eps = 1e-8, trajectories = nothing, kwar

end


"""
Return a vector of orbits along the manifold which converges to the provided
halo orbit.
"""
function convergent_manifold(u, μ, Δt; eps = 1e-8, trajectories = nothing, kwargs...)
orbit = Orbit(u, CR3BParameters(μ))
Φ = monodromy(orbit, Δt)
Expand Down

0 comments on commit c607aba

Please sign in to comment.