pub fn calculate_solar_perturbations(
    sim_obj: &bodies::SimobjT,
    env: &bodies::Environment,
    perturbations_out: &mut Option<&mut Vec<sim_cpu::Perturbation>>,
) -> sim_cpu::PerturbationDelta {
    // Perturbation due to solar gravity on simulation object
    // TODO combine perturbations if there are more than one
    calculate_solar_gravity_perturbation(sim_obj, env, perturbations_out)
}
/// Calculate all solar perturbations on sim_obj
///
/// ### Arguments
/// * 'sim_obj' - Simulation object
/// * 'env' - Simulation environment
/// * 'perturbations_out' - Array of individual perturbations wrapped in a option.
///    This array should be appended to if option value is some
///
/// ### Returns
/// Combined perturbations
///
Calculate all solar perturbations on sim_obj
Calculate all solar perturbations on sim_obj
pub fn calculate_solar_perturbations(
    sim_obj: &bodies::SimobjT,
    env: &bodies::Environment,
    perturbations_out: &mut Option<&mut Vec<sim_cpu::Perturbation>>,
) -> sim_cpu::PerturbationDelta {
    // Perturbation due to solar gravity on simulation object
    // TODO combine perturbations if there are more than one
    calculate_solar_gravity_perturbation(sim_obj, env, perturbations_out)
}
pub fn calculate_solar_perturbations ( sim_obj : & bodies :: SimobjT , env : & bodies :: Environment , perturbations_out : & mut Option < & mut Vec < sim_cpu :: Perturbation > > , ) -> sim_cpu :: PerturbationDelta { // Perturbation due to solar gravity on simulation object // TODO combine perturbations if there are more than one calculate_solar_gravity_perturbation ( sim_obj , env , perturbations_out ) }
Calculate all solar perturbations on sim_obj
Calculate all solar perturbations on sim_obj
None
sim_obj
&bodies::SimobjT
env
&bodies::Environment
perturbations_out
&mut Option<&mut Vec<sim_cpu::Perturbation>>