pub struct LbmCell {
pub f_in: [f64; 9],
pub f_out: [f64; 9],
}Expand description
A single D2Q9 LBM cell holding incoming and outgoing distribution functions.
Fields§
§f_in: [f64; 9]Incoming distribution functions (post-stream).
f_out: [f64; 9]Outgoing distribution functions (post-collision).
Implementations§
Trait Implementations§
impl StructuralPartialEq for LbmCell
Auto Trait Implementations§
impl Freeze for LbmCell
impl RefUnwindSafe for LbmCell
impl Send for LbmCell
impl Sync for LbmCell
impl Unpin for LbmCell
impl UnsafeUnpin for LbmCell
impl UnwindSafe for LbmCell
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more