Procedures

ProcedureLocationProcedure TypeDescription
add_digits text_buffer_module Subroutine

Append the decimal digits of an integer.

add_int text_buffer_module Subroutine

Append an integer.

add_point_to_trajectory halo_module Subroutine

Add a point to a trajectory variable.

add_real text_buffer_module Subroutine

Append a real number, in JSON syntax, in double precision (also when wp is quad precision: the trajectory files are for plotting and SPK files, which are double precision), with 17 significant digits (e.g., 8.2031911203980994E+8; trailing zeros are removed, e.g. 1.5E+0).

Read more…
add_real_array text_buffer_module Subroutine

Append a JSON array of real numbers ([x1, x2, ...]).

add_real_list text_buffer_module Subroutine

Append a list of real numbers, separated by commas (x1, x2, ...: the contents of a JSON array, for writing a large array in pieces).

add_str text_buffer_module Subroutine

Append a string.

allocate_body_eph splined_ephemeris_module Subroutine
ballistic_derivs halo_module Subroutine

Equations of motion for a ballistic segment.

Read more…
cache halo_module Subroutine

Cache all the data in a segment.

clear text_buffer_module Subroutine

Empty the buffer (the storage is kept, to be reused).

close_config_file config_file_module Subroutine

Open the file.

compute_jacobian_stm halo_module Subroutine

Compute the (scaled) sparse Jacobian analytically (jacobian_mode=2): each segment is propagated once with its state transition matrix (in parallel, see propagate_segment_stm), and the blocks are assembled.

Read more…
compute_rdot halo_module Function

compute rdot, which is d(rmag)/dt.

Read more…
compute_rdot_vecs halo_module Subroutine

compute the rmag and rdot vectors, given the state vectors

constraint_violations halo_module Subroutine

Computes the constraint violation vector for the mission.

cross astro_partials_module Function
cross_matrix astro_partials_module Function

[w x]: x*v = w cross v

define_problem_size halo_module Subroutine

Returns the size variables for the "forward-backward" formulation of the problem.

Read more…
delete_file halo_module Subroutine

Delete a file if it exists

destroy_body_eph splined_ephemeris_module Subroutine
destroy_body_eph_interface splined_ephemeris_module Subroutine
destroy_jpl_ephemeris_splined splined_ephemeris_module Subroutine
destroy_moon_pa_frame splined_moon_frame_module Subroutine

Reset the object's workspace (the global splines are kept).

destroy_trajectory halo_module Subroutine

Destroy a trajectory (deallocate the data arrays).

earth_moon_frame_matrices halo_module Subroutine

The Moon-centered Earth-Moon rotating frame transformations at et (and their time derivatives), consistent with the toolkit's two_body_rotating_frame as used in set_segment_inputs and propagate_segment. Requires the splined ephemeris (for the time derivatives).

eclipse_fc halo_eclipse_opt_submodule Subroutine

The objective and the constraints for sqpopt: halo's continuity constraints, then the eclipse rows.

eclipse_gjac halo_eclipse_opt_submodule Subroutine

The gradient of the objective and the Jacobian values for sqpopt: halo's analytic Jacobian, then the eclipse rows (central differences).

eclipse_optimize halo_module Interface
epochs_in_range halo_eclipse_opt_submodule Function

If all the node epochs of x (halo's scaled variables) are within the range of the splined ephemeris (2 periods before the reference epoch to 2 periods after the last rev, see initialize_the_mission), less a margin of half a period. A trial point of the optimization can be far off.

equilibrate halo_eclipse_opt_submodule Subroutine

Equilibrate the continuity Jacobian at x for the optimization (eclipse_opt_equilibrate): alternately normalize its rows (weights w) and its columns (the variables' factors r, the optimization's variables being x/r), a few times, so that the rows and the columns all have 2-norms near 1. This lowers the condition number of the KKT systems of sqpopt's QP subproblems (for 100 revolutions, J's condition number goes from 8e4 to 7e2). The objective, |x/r - x0/r|^2/2, is then measured in these units.

equilibrate_scales halo_module Subroutine

Set the opt var scales from the sensitivities (xscale_mode=2): the Jacobian is computed at x (as the solver does, see jacobian_mode), and each variable's scale is divided by the norm of its column, so the columns of the scaled Jacobian all have unit norm. A unit change of any scaled variable then gives the same size change in the (scaled) constraints, so the solver's minimum-norm steps weigh each variable by its effect, not its units. (With the scales from the magnitudes, the 1e5 km position scale makes the positions at periapsis, where they are most sensitive, the cheapest variables to change.) The epoch scales are also multiplied by epoch_scale_factor.

Read more…
eval_rows halo_eclipse_opt_submodule Subroutine

The eclipse rows (and, optionally, their partials, in the order of the rows' columns), for the x already in the segments. The rows (segments) are done in parallel.

export_rp_ra_json_file halo_module Subroutine

Export the rp/ra file.

Read more…
export_trajectory_json_file halo_module Subroutine

Export the trajectory JSON file.

Read more…
find_rows halo_eclipse_opt_submodule Subroutine

Check the shadow function along the whole trajectory (every eclipse_opt_detect_step seconds), and make the rows of the segments that come near the shadow (where the shadow function, with the constraints' bubble, is below eclipse_opt_detect_phi).

frame_to_j2000 splined_moon_frame_module Function

The rotation matrix from the MOON_PA frame to J2000 at et.

generate_eclipse_data halo_module Subroutine

Propagate all the segments with a dense time step and export the Eclipsing data w.r.t. Earth. In this file, any point <0 is in eclipse.

Read more…
generate_mkspk_setup_file halo_module Subroutine

Generate the mkspk setup file. See kernel/mkspk for an example.

Read more…
generate_patch_points halo_module Subroutine

Generates the patch points (unnormalized, moon-centered) from the CR3BP normalized guess.

generate_pck_file halo_module Subroutine

Generate a PCK (JSON version) to go with the BSP file. Note: this kernel can be read by jsonspice + SpiceyPy.

Read more…
get_case_name halo_module Function

Returns a string that can be used for file names, etc. (read the values of the global variables).

Read more…
get_char config_file_module Subroutine

Get a character variable from the config file.

get_int config_file_module Subroutine

Get an integer variable from the config file.

get_logical config_file_module Subroutine

Get a logical variable from the config file.

get_problem_arrays halo_module Subroutine

Get the arrays for the problem

get_r splined_ephemeris_module Function
get_r_splined splined_ephemeris_module Subroutine
get_real config_file_module Subroutine

Get a real variable from the config file.

get_real_vec config_file_module Subroutine

Get a real vector from the config file.

get_rv splined_ephemeris_module Function
get_rv_derivative_splined splined_ephemeris_module Subroutine

The time derivative of the splined state returned by get_rv_splined (the derivative of each component's spline: so rvdot(1:3) is the derivative of the position spline, which is close to, but not exactly, the velocity spline). Only the Earth/Moon pairs are available.

get_rv_dot splined_ephemeris_module Function

time derivative of each component's spline

get_rv_splined splined_ephemeris_module Subroutine
get_scales_from_segs halo_module Subroutine

Populate the xscale and fscale problem arrays from the segment data.

get_segment_inputs halo_module Subroutine

Gets the initial states of a segment

get_segment_outputs halo_module Subroutine

After propagating a segment, this gets the outputs.

get_sparsity_pattern halo_module Subroutine

Returns the sparsity pattern for the "forward-backward" Halo problem.

get_sun_fraction halo_utilities_module Function

Compute the "sun fraction" for eclipses by the Earth, using the circular cubic shadow model (the apparent positions of the Sun and the Earth).

get_x_from_json_file halo_module Subroutine

Read the JSON solution file and put the x vector in the mission. Can be used to restart a solution from a previous run (e.g., with different settings, as long as the fundamental problem isn't changed).

Read more…
halo_export halo_module Subroutine

export an iteration from the solver

halo_func halo_module Subroutine

Compute the solver function (all the constraint violations)

halo_grad halo_module Subroutine

Compute the gradient of the solver function (Jacobian matrix). Dense version.

halo_grad_info halo_module Subroutine

Info function for the gradients.

Read more…
halo_grad_sparse halo_module Subroutine

Compute the gradient of the solver function (Jacobian matrix). Sparse version.

halo_solver_main halo_module Subroutine

Main program to solve the Halo targeting problem.

Read more…
halo_user_input_check halo_module Subroutine

nlesolver's user_input_check: stop if the solver's stop_check says so.

identity_stm halo_module Function

The 6x6 identity matrix, as a vector (the initial state transition matrix).

initialize_body_eph_interface splined_ephemeris_module Subroutine
initialize_globals splined_ephemeris_module Subroutine

initialize the earth and sun ephemeris.

initialize_moon_pa_frame splined_moon_frame_module Subroutine

Read the table and compute the (global) splines, for the time span [et0, etf]: the rows from the last one at or before et0 to the first one at or after etf (as in moonframe). Then the object's workspace is reset; copies of the object (allocate(..., source=...)) can be used by other threads.

initialize_splinded_ephemeris splined_ephemeris_module Subroutine

the ephemeris must be initialized before this is called

initialize_the_mission halo_module Subroutine

Initialize the mission.

initialize_the_solver halo_module Subroutine

Initialize the mission.

Read more…
int_to_string halo_module Function

integer to string with optional zero padding

iteration_epochs halo_module Subroutine

Send the epochs at the constraint points (where segments 2k-1 and 2k end) for the solver's current x to the solver's epoch_callback.

iteration_trajectory halo_module Subroutine

Propagate the segments for the solver's current x, and send the trajectory (joined in time order) to the solver's iteration_callback.

j2000_to_frame splined_moon_frame_module Function

The rotation matrix from J2000 to the MOON_PA frame at et.

jacobian_is_cached halo_module Function

True if x is the point of the Jacobian kept by the last function evaluation (func_with_stm).

ks_aggregate halo_eclipse_opt_submodule Function

The KS aggregate of values ks: . Of the segments' KS rows, it is exactly the KS of all their samples.

merge_rows halo_eclipse_opt_submodule Subroutine

Add the new rows: a segment already in the list gets the union of the sample ranges.

my_func halo_module Subroutine

Wrapper for the constraint violation function (use by NumDiff)

newton_export halo_eclipse_opt_submodule Subroutine

The Newton finish's iteration printout.

newton_finish halo_eclipse_opt_submodule Subroutine

The Newton finish (eclipse_opt_newton_finish): from the optimization's point, solve halo's continuity constraints and, as equalities , the eclipse rows that are at or near their bound ( plus eclipse_opt_newton_active_tol), with halo's minimum-norm Newton solver (nlesolver, with halo's sparse linear solver). The optimization's point is near feasible but its continuity isn't converged; a solve of the continuity alone (eclipse_opt_polish) moves the trajectory back into the shadow, but with the active rows held at their bound it can't. A row left free that falls below its bound is added to the equalities, and the solve repeated (from where it ended).

newton_func halo_eclipse_opt_submodule Subroutine

The Newton finish's functions: halo's continuity constraints, then KS - phi_min of the active eclipse rows. A point that can't be evaluated (outside the splined ephemeris, or an integrator failure) gets large values, so the line search backs off.

newton_grad halo_eclipse_opt_submodule Subroutine

The Newton finish's Jacobian: halo's analytic one, then the active eclipse rows (central differences, see eval_rows).

open_config_file config_file_module Subroutine

Open the file.

outer astro_partials_module Function
pines_gravity astro_partials_module Subroutine

Spherical harmonic gravity acceleration, and optionally its gradient , with Pines' formulation (see the module documentation). Includes the central (point mass) term.

Read more…
plot_trajectory halo_module Subroutine

Plot the trajectory using matplotlib and/or generate a text file (for MKSPK)

Read more…
point_gradient astro_partials_module Function

pointmass_gravity_gradient astro_partials_module Function

Gravity gradient of a point mass at the origin: .

populate_body_eph splined_ephemeris_module Subroutine

populate the f array with the ephemeris data

print_constraint_defects halo_module Subroutine

Print the r and v constraint defect norms for each segment constraint.

propagate_segment halo_module Subroutine

Propagate a segment (assumes the inputs have already been populated)

propagate_segment_stm halo_module Subroutine

Propagate a segment with its state transition matrix, and compute the analytic partials of its final rotating-frame state (for jacobian_mode=2):

Read more…
put_data_in_segment halo_module Subroutine

Set all the data in a segment.

put_x_in_segments halo_module Subroutine

Take the x vector from the solver, and use it to populate all the segments

qrm_solver halo_module Subroutine

Custom solver that uses QR_MUMPS

read_config_file halo_module Subroutine

Read the config file that defines the problem to be solved and set all the global variables.

Read more…
read_epoch halo_module Subroutine

Read the epoch info from a config file.

removed_columns halo_module Function

The columns (optimization variables) of the full problem that are removed (fixed) by the problem options. The full problem has 7 columns per node ([t, rx, ry, rz, vx, vy, vz]), with nodes in time order.

report_change halo_eclipse_opt_submodule Subroutine

Print how far the optimization moved the solution.

reserve text_buffer_module Subroutine

Make sure the buffer has room for nchars more characters.

row_columns halo_eclipse_opt_submodule Subroutine

The variables a row of segment iseg depends on: the epoch and state of its start node.

row_ks halo_eclipse_opt_submodule Function

The KS aggregate of the shadow function at a row's samples, for the given start epoch, final epoch [days] and initial rotating-frame state (a copy of the segment is propagated, with output every eclipse_opt_sample_step seconds).

rpy_to_rot splined_moon_frame_module Subroutine

Roll, pitch and yaw (rad) to the rotation matrix (as in moonframe).

scale_row_columns halo_eclipse_opt_submodule Subroutine

Multiply the eclipse rows' partials by the optimization's variable scaling r.

scaled text_buffer_module Subroutine

(), correctly rounded to an integer, when the result is about to . ok is false if (no exact power of ten).

Read more…
segment_trajectory_json halo_module Subroutine

The JSON object of a segment's trajectory (for export_trajectory_json_file), replacing the contents of buf.

segs_to_propagate halo_module Subroutine

Given the functions to be computed, returns the segments that need to be propagated.

set_segment_inputs halo_module Subroutine

Sets all the info in a segment for it to be propagated.

set_segment_outputs halo_module Subroutine

Set the outputs of a segment, assuming it has been propagated elsewhere

spline_body_eph splined_ephemeris_module Subroutine
split text_buffer_module Subroutine

Veltkamp's split of a double into two halves of 26 bits: .

step_limits halo_eclipse_opt_submodule Function

The largest change of each of the optimization's variables in one sqpopt iteration (problem%set_max_step), from the limits in physical units (eclipse_opt_max_step_*): a variable's unscaled value is y*r*xscale (plus its offset), so its limit is limit/(r*xscale). A variable without a limit gets sqpopt_infinity.

third_body_gravity_gradient astro_partials_module Function

Gradient of the third-body acceleration , , with respect to the spacecraft position (the indirect term does not depend on it): . This is also the gradient of Battin's equivalent form (the same function).

trajectory_export_func halo_module Subroutine

Export a trajectory point during propagation.

Read more…
two_body_rotating_frame_matrices astro_partials_module Subroutine

The 6x6 state transformations of a two-body rotating frame (as defined by the toolkit's two_body_rotating_frame), and their exact time derivatives.

Read more…
two_prod text_buffer_module Subroutine

Dekker's exact product: exactly (barring overflow), without FMA.

uncache halo_module Subroutine

Restore all the segment data form the cache.

union_columns halo_eclipse_opt_submodule Subroutine

With single: the columns of the single eclipse row (the union of the segment rows'), and where each segment row's column is in them.

update_epoch halo_module Subroutine

Update the variables for the reference epoch in the mission class. Either computes the et from the calendar state, or vice versa.

write_json_real_array halo_module Subroutine

Write a JSON name and real array ("name": [x1, x2, ...], followed by a comma unless it is the last one) to a file opened for unformatted stream access. The array is formatted in parallel, in chunks, and written in order.

write_optvars_to_file halo_module Subroutine

Write the current x variables to a file (compatible with the Copernicus optvar file).

write_solution_plot_data halo_module Subroutine

Write the data for the solution plots (generate_solution_plots, see python/plot_solution.py): for the initial guess and the solution, the epochs at the constraint points (where segments 2k-1 and 2k end) and the defects there (|dr|, |dv| in the rotating frame). The segments are left with the solution.

call~~graph~~CallGraph interface~eclipse_optimize my_solver_type%eclipse_optimize proc~eclipse_optimize eclipse_optimize interface~eclipse_optimize->proc~eclipse_optimize none~get config_file%get proc~get_char config_file%get_char none~get->proc~get_char proc~get_int config_file%get_int none~get->proc~get_int proc~get_logical config_file%get_logical none~get->proc~get_logical proc~get_real config_file%get_real none~get->proc~get_real proc~get_real_vec config_file%get_real_vec none~get->proc~get_real_vec proc~add_digits add_digits proc~add_str text_buffer%add_str proc~add_digits->proc~add_str proc~add_int text_buffer%add_int proc~add_int->proc~add_digits proc~add_point_to_trajectory trajectory%add_point_to_trajectory proc~add_real text_buffer%add_real proc~add_real->proc~add_digits proc~add_real->proc~add_str proc~reserve text_buffer%reserve proc~add_real->proc~reserve proc~scaled scaled proc~add_real->proc~scaled proc~add_real_array text_buffer%add_real_array proc~add_real_list text_buffer%add_real_list proc~add_real_array->proc~add_real_list proc~add_real_array->proc~add_str proc~add_real_array->proc~reserve proc~add_real_list->proc~add_real proc~add_real_list->proc~add_str proc~add_real_list->proc~reserve proc~add_str->proc~reserve proc~allocate_body_eph body_eph%allocate_body_eph proc~ballistic_derivs ballistic_derivs proc~pines_gravity pines_gravity proc~ballistic_derivs->proc~pines_gravity proc~pointmass_gravity_gradient pointmass_gravity_gradient proc~ballistic_derivs->proc~pointmass_gravity_gradient proc~third_body_gravity_gradient third_body_gravity_gradient proc~ballistic_derivs->proc~third_body_gravity_gradient get_acc get_acc proc~ballistic_derivs->get_acc get_r get_r proc~ballistic_derivs->get_r icrf_to_iau_moon icrf_to_iau_moon proc~ballistic_derivs->icrf_to_iau_moon j2000_to_frame j2000_to_frame proc~ballistic_derivs->j2000_to_frame third_body_gravity third_body_gravity proc~ballistic_derivs->third_body_gravity proc~cache segment%cache proc~clear text_buffer%clear proc~close_config_file config_file%close_config_file destroy destroy proc~close_config_file->destroy proc~compute_jacobian_stm mission_type%compute_jacobian_stm proc~define_problem_size mission_type%define_problem_size proc~compute_jacobian_stm->proc~define_problem_size proc~earth_moon_frame_matrices earth_moon_frame_matrices proc~compute_jacobian_stm->proc~earth_moon_frame_matrices proc~get_sparsity_pattern mission_type%get_sparsity_pattern proc~compute_jacobian_stm->proc~get_sparsity_pattern proc~propagate_segment_stm segment%propagate_segment_stm proc~compute_jacobian_stm->proc~propagate_segment_stm proc~put_x_in_segments mission_type%put_x_in_segments proc~compute_jacobian_stm->proc~put_x_in_segments proc~removed_columns mission_type%removed_columns proc~compute_jacobian_stm->proc~removed_columns proc~compute_rdot compute_rdot proc~compute_rdot_vecs compute_rdot_vecs proc~constraint_violations mission_type%constraint_violations proc~get_problem_arrays mission_type%get_problem_arrays proc~constraint_violations->proc~get_problem_arrays proc~propagate_segment segment%propagate_segment proc~constraint_violations->proc~propagate_segment proc~constraint_violations->proc~put_x_in_segments proc~segs_to_propagate mission_type%segs_to_propagate proc~constraint_violations->proc~segs_to_propagate proc~cross cross proc~cross_matrix cross_matrix proc~delete_file delete_file proc~destroy_body_eph body_eph%destroy_body_eph proc~destroy_body_eph_interface body_eph_interface%destroy_body_eph_interface proc~destroy_body_eph_interface->proc~destroy_body_eph proc~destroy_jpl_ephemeris_splined jpl_ephemeris_splined%destroy_jpl_ephemeris_splined proc~destroy_jpl_ephemeris_splined->proc~destroy_body_eph_interface proc~destroy_moon_pa_frame moon_pa_frame%destroy_moon_pa_frame proc~destroy_trajectory trajectory%destroy_trajectory proc~two_body_rotating_frame_matrices two_body_rotating_frame_matrices proc~earth_moon_frame_matrices->proc~two_body_rotating_frame_matrices get_rv get_rv proc~earth_moon_frame_matrices->get_rv get_rv_derivative get_rv_derivative proc~earth_moon_frame_matrices->get_rv_derivative proc~eclipse_fc eclipse_fc proc~epochs_in_range epochs_in_range proc~eclipse_fc->proc~epochs_in_range proc~eval_rows eval_rows proc~eclipse_fc->proc~eval_rows proc~ks_aggregate ks_aggregate proc~eclipse_fc->proc~ks_aggregate constraint_violations constraint_violations proc~eclipse_fc->constraint_violations proc~eclipse_gjac eclipse_gjac proc~eclipse_gjac->proc~epochs_in_range proc~eclipse_gjac->proc~eval_rows proc~scale_row_columns scale_row_columns proc~eclipse_gjac->proc~scale_row_columns compute_jacobian_stm compute_jacobian_stm proc~eclipse_gjac->compute_jacobian_stm r r proc~eclipse_gjac->r rows rows proc~eclipse_gjac->rows upos upos proc~eclipse_gjac->upos w w proc~eclipse_gjac->w proc~eclipse_optimize->proc~constraint_violations proc~eclipse_optimize->proc~define_problem_size proc~equilibrate equilibrate proc~eclipse_optimize->proc~equilibrate proc~eclipse_optimize->proc~eval_rows proc~find_rows find_rows proc~eclipse_optimize->proc~find_rows proc~eclipse_optimize->proc~get_sparsity_pattern proc~eclipse_optimize->proc~ks_aggregate proc~merge_rows merge_rows proc~eclipse_optimize->proc~merge_rows proc~newton_finish newton_finish proc~eclipse_optimize->proc~newton_finish proc~eclipse_optimize->proc~put_x_in_segments proc~report_change report_change proc~eclipse_optimize->proc~report_change proc~step_limits step_limits proc~eclipse_optimize->proc~step_limits proc~union_columns union_columns proc~eclipse_optimize->proc~union_columns c c proc~eclipse_optimize->c proc~eclipse_optimize->destroy get_results get_results proc~eclipse_optimize->get_results get_solution get_solution proc~eclipse_optimize->get_solution initialize initialize proc~eclipse_optimize->initialize set_bounds set_bounds proc~eclipse_optimize->set_bounds set_functions set_functions proc~eclipse_optimize->set_functions set_jacobian_sparsity set_jacobian_sparsity proc~eclipse_optimize->set_jacobian_sparsity set_max_step set_max_step proc~eclipse_optimize->set_max_step set_problem_size set_problem_size proc~eclipse_optimize->set_problem_size solve solve proc~eclipse_optimize->solve status status proc~eclipse_optimize->status status_message status_message proc~eclipse_optimize->status_message proc~equilibrate->proc~compute_jacobian_stm proc~equilibrate_scales mission_type%equilibrate_scales proc~equilibrate_scales->proc~cache proc~equilibrate_scales->proc~compute_jacobian_stm proc~equilibrate_scales->proc~get_sparsity_pattern proc~uncache segment%uncache proc~equilibrate_scales->proc~uncache compute_jacobian compute_jacobian proc~equilibrate_scales->compute_jacobian set_dpert set_dpert proc~equilibrate_scales->set_dpert proc~row_ks row_ks proc~eval_rows->proc~row_ks proc~export_rp_ra_json_file mission_type%export_rp_ra_json_file add add proc~export_rp_ra_json_file->add proc~export_rp_ra_json_file->destroy evaluate evaluate proc~export_rp_ra_json_file->evaluate proc~export_rp_ra_json_file->initialize proc~export_rp_ra_json_file->solve proc~export_trajectory_json_file mission_type%export_trajectory_json_file proc~export_trajectory_json_file->proc~compute_rdot_vecs proc~export_trajectory_json_file->proc~destroy_trajectory proc~export_trajectory_json_file->proc~export_rp_ra_json_file proc~export_trajectory_json_file->proc~propagate_segment proc~segment_trajectory_json segment_trajectory_json proc~export_trajectory_json_file->proc~segment_trajectory_json proc~find_rows->proc~define_problem_size proc~find_rows->proc~destroy_trajectory proc~get_sun_fraction get_sun_fraction proc~find_rows->proc~get_sun_fraction proc~find_rows->proc~propagate_segment proc~find_rows->proc~put_x_in_segments proc~find_rows->proc~removed_columns proc~row_columns row_columns proc~find_rows->proc~row_columns proc~frame_to_j2000 moon_pa_frame%frame_to_j2000 proc~j2000_to_frame moon_pa_frame%j2000_to_frame proc~frame_to_j2000->proc~j2000_to_frame proc~generate_eclipse_data mission_type%generate_eclipse_data proc~generate_eclipse_data->proc~destroy_trajectory proc~get_case_name mission_type%get_case_name proc~generate_eclipse_data->proc~get_case_name proc~generate_eclipse_data->proc~get_sun_fraction proc~generate_eclipse_data->proc~propagate_segment proc~write_json_real_array write_json_real_array proc~generate_eclipse_data->proc~write_json_real_array icrf_frame icrf_frame proc~generate_eclipse_data->icrf_frame transform transform proc~generate_eclipse_data->transform two_body_rotating_frame two_body_rotating_frame proc~generate_eclipse_data->two_body_rotating_frame proc~generate_mkspk_setup_file generate_mkspk_setup_file proc~int_to_string int_to_string proc~generate_mkspk_setup_file->proc~int_to_string proc~generate_patch_points mission_type%generate_patch_points compute_crtpb_parameter compute_crtpb_parameter proc~generate_patch_points->compute_crtpb_parameter first_call first_call proc~generate_patch_points->first_call proc~generate_patch_points->initialize integrate integrate proc~generate_patch_points->integrate proc~generate_pck_file generate_pck_file proc~generate_pck_file->proc~int_to_string proc~generate_pck_file->add proc~generate_pck_file->destroy proc~generate_pck_file->initialize proc~get_case_name->proc~int_to_string get get proc~get_char->get proc~get_int->get proc~get_logical->get proc~get_problem_arrays->proc~compute_rdot fill_vector fill_vector proc~get_problem_arrays->fill_vector proc~get_r body_eph_interface%get_r db1val db1val proc~get_r->db1val proc~get_r_splined jpl_ephemeris_splined%get_r_splined proc~get_r_splined->proc~get_r proc~get_real->get proc~get_real_vec->get proc~get_rv body_eph_interface%get_rv proc~get_rv->db1val proc~get_rv_derivative_splined jpl_ephemeris_splined%get_rv_derivative_splined proc~get_rv_dot body_eph_interface%get_rv_dot proc~get_rv_derivative_splined->proc~get_rv_dot proc~get_rv_dot->db1val proc~get_rv_splined jpl_ephemeris_splined%get_rv_splined proc~get_rv_splined->proc~get_rv proc~get_scales_from_segs mission_type%get_scales_from_segs proc~get_scales_from_segs->proc~define_problem_size proc~get_scales_from_segs->fill_vector proc~get_segment_inputs segment%get_segment_inputs proc~get_segment_outputs segment%get_segment_outputs proc~get_sparsity_pattern->proc~define_problem_size proc~get_sparsity_pattern->proc~removed_columns apparent_position apparent_position proc~get_sun_fraction->apparent_position cubic_shadow_model cubic_shadow_model proc~get_sun_fraction->cubic_shadow_model from_j2000body_to_j2000ssb from_j2000body_to_j2000ssb proc~get_sun_fraction->from_j2000body_to_j2000ssb proc~get_x_from_json_file mission_type%get_x_from_json_file proc~get_x_from_json_file->get get_child get_child proc~get_x_from_json_file->get_child info info proc~get_x_from_json_file->info load load proc~get_x_from_json_file->load proc~halo_export halo_export proc~iteration_epochs iteration_epochs proc~halo_export->proc~iteration_epochs proc~iteration_trajectory iteration_trajectory proc~halo_export->proc~iteration_trajectory proc~halo_func halo_func proc~halo_func->compute_jacobian_stm proc~halo_func->constraint_violations get_problem_arrays get_problem_arrays proc~halo_func->get_problem_arrays proc~halo_grad halo_grad proc~jacobian_is_cached jacobian_is_cached proc~halo_grad->proc~jacobian_is_cached cache cache proc~halo_grad->cache compute_jacobian_dense compute_jacobian_dense proc~halo_grad->compute_jacobian_dense proc~halo_grad->compute_jacobian_stm get_sparsity_pattern get_sparsity_pattern proc~halo_grad->get_sparsity_pattern uncache uncache proc~halo_grad->uncache proc~halo_grad_info halo_grad_info proc~halo_grad_info->uncache proc~halo_grad_sparse halo_grad_sparse proc~halo_grad_sparse->proc~jacobian_is_cached proc~halo_grad_sparse->cache proc~halo_grad_sparse->compute_jacobian proc~halo_grad_sparse->compute_jacobian_stm proc~halo_grad_sparse->uncache proc~halo_solver_main halo_solver_main proc~halo_solver_main->interface~eclipse_optimize proc~halo_solver_main->proc~constraint_violations proc~halo_solver_main->proc~define_problem_size proc~halo_solver_main->proc~delete_file proc~halo_solver_main->proc~export_trajectory_json_file proc~halo_solver_main->proc~generate_eclipse_data proc~halo_solver_main->proc~generate_mkspk_setup_file proc~halo_solver_main->proc~generate_pck_file proc~halo_solver_main->proc~get_case_name proc~halo_solver_main->proc~get_segment_inputs proc~initialize_the_solver my_solver_type%initialize_the_solver proc~halo_solver_main->proc~initialize_the_solver proc~plot_trajectory mission_type%plot_trajectory proc~halo_solver_main->proc~plot_trajectory proc~print_constraint_defects mission_type%print_constraint_defects proc~halo_solver_main->proc~print_constraint_defects proc~halo_solver_main->proc~put_x_in_segments proc~write_optvars_to_file mission_type%write_optvars_to_file proc~halo_solver_main->proc~write_optvars_to_file proc~write_solution_plot_data mission_type%write_solution_plot_data proc~halo_solver_main->proc~write_solution_plot_data proc~halo_solver_main->solve proc~halo_solver_main->status proc~halo_user_input_check halo_user_input_check stop_check stop_check proc~halo_user_input_check->stop_check proc~identity_stm identity_stm proc~initialize_body_eph_interface body_eph_interface%initialize_body_eph_interface proc~initialize_globals jpl_ephemeris_splined%initialize_globals proc~initialize_globals->proc~destroy_jpl_ephemeris_splined proc~populate_body_eph body_eph%populate_body_eph proc~initialize_globals->proc~populate_body_eph proc~spline_body_eph body_eph%spline_body_eph proc~initialize_globals->proc~spline_body_eph proc~initialize_moon_pa_frame moon_pa_frame%initialize_moon_pa_frame db1ink db1ink proc~initialize_moon_pa_frame->db1ink proc~initialize_moon_pa_frame->destroy proc~initialize_moon_pa_frame->get proc~initialize_splinded_ephemeris jpl_ephemeris_splined%initialize_splinded_ephemeris proc~initialize_splinded_ephemeris->proc~initialize_globals proc~initialize_splinded_ephemeris->initialize proc~initialize_the_mission mission_type%initialize_the_mission proc~initialize_the_mission->proc~define_problem_size proc~initialize_the_mission->proc~equilibrate_scales proc~initialize_the_mission->proc~get_problem_arrays proc~initialize_the_mission->proc~get_scales_from_segs proc~initialize_the_mission->proc~get_sparsity_pattern proc~set_segment_inputs segment%set_segment_inputs proc~initialize_the_mission->proc~set_segment_inputs proc~initialize_the_mission->destroy proc~initialize_the_mission->initialize initialize_splinded_ephemeris initialize_splinded_ephemeris proc~initialize_the_mission->initialize_splinded_ephemeris magnitude magnitude proc~initialize_the_mission->magnitude proc~initialize_the_mission->set_dpert set_sparsity_pattern set_sparsity_pattern proc~initialize_the_mission->set_sparsity_pattern proc~initialize_the_solver->proc~define_problem_size proc~initialize_the_solver->proc~get_sparsity_pattern proc~initialize_the_solver->proc~get_x_from_json_file proc~initialize_the_solver->proc~initialize_the_mission proc~initialize_the_solver->proc~put_x_in_segments proc~read_config_file my_solver_type%read_config_file proc~initialize_the_solver->proc~read_config_file proc~initialize_the_solver->initialize proc~initialize_the_solver->status proc~iteration_epochs->proc~put_x_in_segments proc~iteration_trajectory->proc~destroy_trajectory proc~iteration_trajectory->proc~propagate_segment proc~iteration_trajectory->proc~put_x_in_segments proc~rpy_to_rot rpy_to_rot proc~j2000_to_frame->proc~rpy_to_rot proc~j2000_to_frame->db1val proc~my_func my_func proc~my_func->constraint_violations proc~newton_export newton_export proc~newton_finish->proc~eval_rows proc~newton_finish->proc~get_sparsity_pattern proc~newton_func newton_func proc~newton_finish->proc~newton_func proc~newton_finish->proc~put_x_in_segments proc~newton_finish->destroy proc~newton_finish->initialize kt kt proc~newton_finish->kt proc~newton_finish->solve proc~newton_finish->status proc~newton_func->proc~epochs_in_range proc~newton_func->proc~eval_rows proc~newton_func->constraint_violations proc~newton_grad newton_grad proc~newton_grad->proc~eval_rows active active proc~newton_grad->active proc~newton_grad->compute_jacobian_stm proc~newton_grad->rows proc~open_config_file config_file%open_config_file failed failed proc~open_config_file->failed proc~open_config_file->load proc~outer outer proc~pines_gravity->proc~outer proc~plot_trajectory->proc~destroy_trajectory proc~plot_trajectory->proc~get_case_name proc~plot_trajectory->proc~propagate_segment add_3d_plot add_3d_plot proc~plot_trajectory->add_3d_plot add_sphere add_sphere proc~plot_trajectory->add_sphere proc~plot_trajectory->initialize savefig savefig proc~plot_trajectory->savefig proc~point_gradient point_gradient proc~point_gradient->proc~outer proc~pointmass_gravity_gradient->proc~point_gradient proc~populate_body_eph->get_rv proc~print_constraint_defects->proc~define_problem_size proc~print_constraint_defects->proc~get_problem_arrays proc~propagate_segment->proc~identity_stm proc~set_segment_outputs segment%set_segment_outputs proc~propagate_segment->proc~set_segment_outputs proc~propagate_segment->first_call proc~propagate_segment->icrf_frame proc~propagate_segment->integrate proc~propagate_segment->transform proc~propagate_segment->two_body_rotating_frame proc~propagate_segment_stm->proc~ballistic_derivs proc~propagate_segment_stm->proc~earth_moon_frame_matrices proc~propagate_segment_stm->proc~identity_stm proc~propagate_segment_stm->proc~set_segment_outputs proc~propagate_segment_stm->first_call proc~propagate_segment_stm->icrf_frame proc~propagate_segment_stm->integrate proc~propagate_segment_stm->transform proc~propagate_segment_stm->two_body_rotating_frame proc~put_data_in_segment segment%put_data_in_segment proc~put_x_in_segments->proc~define_problem_size proc~put_x_in_segments->proc~set_segment_inputs extract_vector extract_vector proc~put_x_in_segments->extract_vector proc~qrm_solver qrm_solver proc~read_config_file->none~get proc~read_config_file->proc~generate_patch_points proc~read_epoch read_epoch proc~read_config_file->proc~read_epoch proc~update_epoch mission_type%update_epoch proc~read_config_file->proc~update_epoch proc~read_config_file->compute_crtpb_parameter compute_jacobi_constant compute_jacobi_constant proc~read_config_file->compute_jacobi_constant proc~read_config_file->evaluate proc~read_config_file->initialize proc~read_epoch->none~get jd_to_et jd_to_et proc~read_epoch->jd_to_et julian_date julian_date proc~read_epoch->julian_date proc~removed_columns->proc~define_problem_size proc~report_change->proc~define_problem_size proc~report_change->proc~removed_columns proc~row_ks->proc~destroy_trajectory proc~row_ks->proc~get_sun_fraction proc~row_ks->proc~propagate_segment proc~row_ks->proc~set_segment_inputs proc~two_prod two_prod proc~scaled->proc~two_prod proc~segment_trajectory_json->proc~add_int proc~segment_trajectory_json->proc~add_real_array proc~segment_trajectory_json->proc~add_str proc~segment_trajectory_json->proc~clear proc~segs_to_propagate->proc~define_problem_size proc~set_segment_inputs->icrf_frame proc~set_segment_inputs->transform proc~set_segment_inputs->two_body_rotating_frame proc~spline_body_eph->db1ink proc~split split proc~step_limits->proc~define_problem_size proc~step_limits->proc~removed_columns proc~third_body_gravity_gradient->proc~point_gradient proc~trajectory_export_func trajectory_export_func proc~trajectory_export_func->add proc~trajectory_export_func->icrf_frame proc~trajectory_export_func->transform proc~trajectory_export_func->two_body_rotating_frame proc~two_body_rotating_frame_matrices->proc~cross proc~two_body_rotating_frame_matrices->proc~cross_matrix proc~two_prod->proc~split calendar_date_to_et calendar_date_to_et proc~update_epoch->calendar_date_to_et et_to_jd et_to_jd proc~update_epoch->et_to_jd julian_date_to_calendar_date julian_date_to_calendar_date proc~update_epoch->julian_date_to_calendar_date proc~write_json_real_array->proc~add_real_list proc~write_json_real_array->proc~add_str proc~write_json_real_array->proc~clear proc~write_optvars_to_file->proc~get_case_name proc~write_optvars_to_file->add create_array create_array proc~write_optvars_to_file->create_array create_object create_object proc~write_optvars_to_file->create_object proc~write_optvars_to_file->destroy proc~write_optvars_to_file->initialize insert_after insert_after proc~write_optvars_to_file->insert_after proc~write_solution_plot_data->proc~constraint_violations proc~write_solution_plot_data->proc~define_problem_size proc~write_solution_plot_data->proc~get_case_name proc~write_solution_plot_data->add proc~write_solution_plot_data->destroy proc~write_solution_plot_data->initialize
Help