pub fn run_monte_carlo_with_station_presence(
base_inputs: BallisticInputs,
base_wind: WindConditions,
params: MonteCarloParams,
wind_direction_std_dev: f64,
seed: Option<u64>,
station_presence: StationAtmospherePresence,
) -> Result<MonteCarloResults, BallisticsError>Expand description
Run Monte Carlo knowing which of base_inputs’ temperature and pressure the caller
supplied (0.49.0).
seed: None draws from the process-global RNG, as
run_monte_carlo_with_wind_and_direction_std_dev does; Some(seed) seeds a StdRng,
as run_monte_carlo_with_wind_and_direction_std_dev_seeded does. Every trial and the
baseline solve resolve the station air with station_presence (see
TrajectorySolver::new_with_station_presence): a supplied temperature or pressure flies
as given, an omitted one keeps the legacy default-sentinel rule. With
StationAtmospherePresence::NEITHER this is bit-identical to those two functions.