run_monte_carlo_with_wind_and_direction_std_dev_seeded

Function run_monte_carlo_with_wind_and_direction_std_dev_seeded 

Source
pub fn run_monte_carlo_with_wind_and_direction_std_dev_seeded(
    base_inputs: BallisticInputs,
    base_wind: WindConditions,
    params: MonteCarloParams,
    wind_direction_std_dev: f64,
    seed: u64,
) -> Result<MonteCarloResults, BallisticsError>
Expand description

Run Monte Carlo with an explicit PRNG seed, for deterministic/reproducible output.

Otherwise identical to run_monte_carlo_with_wind_and_direction_std_dev, which draws from the process-global RNG instead. Intended for callers that need repeatable results across runs — e.g. tests, or a WEZ (Weapon Employment Zone, MBA-1317) sweep that a caller wants to reproduce exactly while tuning target size or wind-call error.