pub struct FluidState3D {
pub velocity: Vec<Array3<f64>>,
pub pressure: Array3<f64>,
pub temperature: Option<Array3<f64>>,
pub time: f64,
pub dx: f64,
pub dy: f64,
pub dz: f64,
}Expand description
Fluid state for 3D visualization
Fields§
§velocity: Vec<Array3<f64>>Velocity components [u, v, w] as 3D arrays
pressure: Array3<f64>Pressure field
temperature: Option<Array3<f64>>Temperature field (optional)
time: f64Current time
dx: f64Grid spacing in x-direction
dy: f64Grid spacing in y-direction
dz: f64Grid spacing in z-direction
Trait Implementations§
Source§impl Clone for FluidState3D
impl Clone for FluidState3D
Source§fn clone(&self) -> FluidState3D
fn clone(&self) -> FluidState3D
Returns a duplicate of the value. Read more
1.0.0 · 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 FluidState3D
impl RefUnwindSafe for FluidState3D
impl Send for FluidState3D
impl Sync for FluidState3D
impl Unpin for FluidState3D
impl UnwindSafe for FluidState3D
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