Trait Flow

Source
pub trait Flow {
    // Required methods
    fn set_flow(&mut self, p0: &dyn HasState, p1: &dyn HasState);
    fn flow(&self) -> f64;
}

Required Methods§

Source

fn set_flow(&mut self, p0: &dyn HasState, p1: &dyn HasState)

Sets flow variable based on difference between two potential variables

Source

fn flow(&self) -> f64

returns value of flow variable (e.g. heat transfer, fluid flow rate, electrical current)

Implementors§