pub struct LogProfile {
pub reference_speed_mps: f64,
pub reference_height_m: f64,
pub roughness_m: f64,
pub direction_from_deg: f64,
}Expand description
Log-law boundary layer: u(z) = u_ref · ln(z/z0) / ln(z_ref/z0) for
z > z0, zero below the roughness length z0. Direction is constant
with height.
z is height above the GROUND, the surface where the profile is calm:
the altitude argument of speed_at and position_m[1]
in WindField::wind must both be height above ground. In a frame whose
y is altitude above sea level, read it at y - ground elevation, in one
place only (this crate has no offset wrapper; see
Sounding::to_profile_field).
Fields§
§reference_speed_mps: f64Wind speed at the reference height, m/s.
reference_height_m: f64Reference height, metres (above the roughness length).
roughness_m: f64Aerodynamic roughness length z0, metres.
direction_from_deg: f64Meteorological direction the air comes FROM, degrees (constant with height).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogProfile
impl RefUnwindSafe for LogProfile
impl Send for LogProfile
impl Sync for LogProfile
impl Unpin for LogProfile
impl UnsafeUnpin for LogProfile
impl UnwindSafe for LogProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more