Expand description
A list of states for a simple access to properties of multiple states.
Fields
states: Vec<&'a State<U, E>>
Implementations
sourceimpl<'a, U: EosUnit, E: EquationOfState> StateVec<'a, U, E>
impl<'a, U: EosUnit, E: EquationOfState> StateVec<'a, U, E>
pub fn temperature(&self) -> QuantityArray1<U>
pub fn pressure(&self) -> QuantityArray1<U>
pub fn compressibility(&self) -> Array1<f64>
pub fn density(&self) -> QuantityArray1<U>
pub fn molefracs(&self) -> Array2<f64>
pub fn molar_enthalpy(&self) -> QuantityArray1<U>
pub fn molar_entropy(&self) -> QuantityArray1<U>
sourceimpl<'a, U: EosUnit, E: EquationOfState + MolarWeight<U>> StateVec<'a, U, E>
impl<'a, U: EosUnit, E: EquationOfState + MolarWeight<U>> StateVec<'a, U, E>
pub fn mass_density(&self) -> QuantityArray1<U>
pub fn massfracs(&self) -> Array2<f64>
pub fn specific_enthalpy(&self) -> QuantityArray1<U>
pub fn specific_entropy(&self) -> QuantityArray1<U>
Trait Implementations
sourceimpl<'a, U, E> FromIterator<&'a State<U, E>> for StateVec<'a, U, E>
impl<'a, U, E> FromIterator<&'a State<U, E>> for StateVec<'a, U, E>
sourcefn from_iter<I: IntoIterator<Item = &'a State<U, E>>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = &'a State<U, E>>>(iter: I) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<'a, U, E> !RefUnwindSafe for StateVec<'a, U, E>
impl<'a, U, E> !Send for StateVec<'a, U, E>
impl<'a, U, E> !Sync for StateVec<'a, U, E>
impl<'a, U, E> Unpin for StateVec<'a, U, E>
impl<'a, U, E> !UnwindSafe for StateVec<'a, U, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more