pub struct FractionalStepResult {
pub u_star: Vec<f64>,
pub pressure: Vec<f64>,
pub u_new: Vec<f64>,
}Expand description
Fractional step result from one projection step.
Fields§
§u_star: Vec<f64>Intermediate (unprojected) velocity.
pressure: Vec<f64>Pressure correction field.
u_new: Vec<f64>Divergence-free velocity after projection.
Trait Implementations§
Source§impl Clone for FractionalStepResult
impl Clone for FractionalStepResult
Source§fn clone(&self) -> FractionalStepResult
fn clone(&self) -> FractionalStepResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FractionalStepResult
impl RefUnwindSafe for FractionalStepResult
impl Send for FractionalStepResult
impl Sync for FractionalStepResult
impl Unpin for FractionalStepResult
impl UnsafeUnpin for FractionalStepResult
impl UnwindSafe for FractionalStepResult
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.