[−][src]Struct lmb_engine_simulator::connector::orifice::Orifice
Connector struct that connects two zero_dim
objects by an orifice
Implementations
impl Orifice
[src]
pub fn new(
name: &str,
diam: f64,
discharge_coeff: f64,
connecting: Vec<String>
) -> Result<Orifice, String>
[src]
name: &str,
diam: f64,
discharge_coeff: f64,
connecting: Vec<String>
) -> Result<Orifice, String>
Trait Implementations
impl Conn for Orifice
[src]
impl Connector for Orifice
[src]
pub fn name<'a>(&'a self) -> &'a str
[src]
pub fn connecting<'a>(&'a self) -> &'a Vec<String>
[src]
pub fn connect_to(&mut self, elem_name: &str) -> Result<(), String>
[src]
pub fn update_flow_ratio(&mut self, prop: Vec<BasicProperties<'_>>, _step: f64)
[src]
pub fn get_flow_ratio<'a>(
&'a self,
elem_name: &str
) -> Result<&'a FlowRatio, String>
[src]
&'a self,
elem_name: &str
) -> Result<&'a FlowRatio, String>
impl SaveData for Orifice
[src]
pub fn get_headers(&self) -> String
[src]
pub fn num_storable_variables(&self) -> usize
[src]
pub fn get_storable_data(&self) -> Array1<f64>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Orifice
[src]
impl Send for Orifice
[src]
impl Sync for Orifice
[src]
impl Unpin for Orifice
[src]
impl UnwindSafe for Orifice
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,