try_integrate_trajectory

Function try_integrate_trajectory 

Source
pub fn try_integrate_trajectory(
    initial_state: [f64; 6],
    t_span: (f64, f64),
    params: TrajectoryParams,
    method: &str,
    tolerance: f64,
    max_step: f64,
) -> Result<Vec<(f64, Vector6<f64>)>, WindSegmentError>
Expand description

Checked sibling of integrate_trajectory (MBA-1338): rejects malformed wind segments with a typed WindSegmentError before sorting, vector precomputation, or producing any trajectory points, so a caller can never receive a poisoned trajectory from non-finite segment fields. The error’s index refers to the caller’s own segment ordering.