pub trait WindField {
// Required method
fn wind(
&self,
time_s: f64,
position_m: Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>,
) -> Matrix<f64, Const<3>, Const<1>, ArrayStorage<f64, 3, 1>>;
}Expand description
A deterministic, stateless wind field: same time and position always give the same wind, so integrator substeps, snapshots and seeded reproduction are exact.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
impl WindField for ConstantField
impl WindField for EkmanProfile
impl WindField for LogProfile
impl WindField for ProfileField
impl WindField for TerrainFlowField
impl WindField for WindSock
The existing segmented wind as a field: the wind at downrange position x, exactly
WindSock::vector_for_range_stateless. Time, height and cross-range position are ignored.