pub struct TerrainFlowField { /* private fields */ }Expand description
A diagnostic terrain-adjusted wind field.
Implementations§
Source§impl TerrainFlowField
impl TerrainFlowField
Sourcepub fn adjust(
grid: HeightGrid,
base: &dyn WindField,
monitors: &[Monitor],
levels_agl: &[f64],
obs_length_m: f64,
surface_decay_m: f64,
terrain_scale_m: f64,
) -> Result<Self>
pub fn adjust( grid: HeightGrid, base: &dyn WindField, monitors: &[Monitor], levels_agl: &[f64], obs_length_m: f64, surface_decay_m: f64, terrain_scale_m: f64, ) -> Result<Self>
Build a terrain-adjusted field. base seeds the first guess;
monitors are surface wind observations (x, z, speed_mps, from_deg) blended near the ground and relaxed toward the base field
with height. obs_length_m sets the horizontal influence radius,
surface_decay_m the vertical relaxation of monitor influence, and
terrain_scale_m the depth over which the terrain forcing (flow
rising over the ground) decays.
Trait Implementations§
Source§impl Clone for TerrainFlowField
impl Clone for TerrainFlowField
Source§impl Debug for TerrainFlowField
impl Debug for TerrainFlowField
Auto Trait Implementations§
impl Freeze for TerrainFlowField
impl RefUnwindSafe for TerrainFlowField
impl Send for TerrainFlowField
impl Sync for TerrainFlowField
impl Unpin for TerrainFlowField
impl UnsafeUnpin for TerrainFlowField
impl UnwindSafe for TerrainFlowField
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