pub struct LinkResult {
pub flow: f64,
pub velocity: f64,
pub head_loss: f64,
pub status: f64,
}Expand description
Per-link result at a single timestep.
All values are in the internal SI unit system.
Fields§
§flow: f64Volumetric flow rate through the link (m³/s; positive = from-node → to-node).
velocity: f64Mean flow velocity in the link (m/s).
head_loss: f64Head loss across the link (m; positive = from-node head > to-node head).
status: f64Dimensionless link status flag (0.0 = closed/inactive, 1.0 = open/active).
Trait Implementations§
Source§impl Clone for LinkResult
impl Clone for LinkResult
Source§fn clone(&self) -> LinkResult
fn clone(&self) -> LinkResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LinkResult
impl RefUnwindSafe for LinkResult
impl Send for LinkResult
impl Sync for LinkResult
impl Unpin for LinkResult
impl UnsafeUnpin for LinkResult
impl UnwindSafe for LinkResult
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