pub enum Reconstruction {
FirstOrder,
SecondOrder,
VanAlbada,
VanLeer,
MonotonizedCentral,
}Expand description
Face reconstruction of the transported momentum component on a momentum control-volume face, phi_f = phi_U + s(a, b) / 2 with a = phi_U - phi_UU and b = phi_D - phi_U (van Leer’s MUSCL, Sweby’s limiter notation). Division-free.
Variants§
FirstOrder
s = 0: flux-form first-order upwind. A test control only; it is not the production donor-cell scheme, which uses the advective form.
SecondOrder
s = a: unlimited second-order upwind.
VanAlbada
s = ab(a + b)/(a^2 + b^2) where ab > 0, else 0.
VanLeer
s = 2ab/(a + b) where ab > 0, else 0.
MonotonizedCentral
s = sign(b) min(2|a|, |a + b|/2, 2|b|) where ab > 0, else 0.
Implementations§
Trait Implementations§
Source§impl Clone for Reconstruction
impl Clone for Reconstruction
impl Copy for Reconstruction
Source§impl Debug for Reconstruction
impl Debug for Reconstruction
impl Eq for Reconstruction
Source§impl PartialEq for Reconstruction
impl PartialEq for Reconstruction
impl StructuralPartialEq for Reconstruction
Auto Trait Implementations§
impl Forget for Reconstruction
impl Freeze for Reconstruction
impl Move for Reconstruction
impl RefUnwindSafe for Reconstruction
impl Send for Reconstruction
impl Sync for Reconstruction
impl Unpin for Reconstruction
impl UnsafeUnpin for Reconstruction
impl UnwindSafe for Reconstruction
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