pub enum PressureSolverMode {
RedBlackGaussSeidel,
ConjugateGradient,
}Expand description
Linear Poisson solver backend for enforcing incompressible div(u) = 0 velocity projection.
Variants§
RedBlackGaussSeidel
Checkerboard Red-Black Gauss-Seidel successive over-relaxation solver.
ConjugateGradient
Matrix-Free Conjugate Gradient solver converging rapidly to tight divergence residuals.
Trait Implementations§
Source§impl Clone for PressureSolverMode
impl Clone for PressureSolverMode
impl Copy for PressureSolverMode
Source§impl Debug for PressureSolverMode
impl Debug for PressureSolverMode
Source§impl Default for PressureSolverMode
impl Default for PressureSolverMode
impl Eq for PressureSolverMode
Source§impl Hash for PressureSolverMode
impl Hash for PressureSolverMode
Source§impl Ord for PressureSolverMode
impl Ord for PressureSolverMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PressureSolverMode
impl PartialEq for PressureSolverMode
Source§impl PartialOrd for PressureSolverMode
impl PartialOrd for PressureSolverMode
impl StructuralPartialEq for PressureSolverMode
Auto Trait Implementations§
impl Forget for PressureSolverMode
impl Freeze for PressureSolverMode
impl Move for PressureSolverMode
impl RefUnwindSafe for PressureSolverMode
impl Send for PressureSolverMode
impl Sync for PressureSolverMode
impl Unpin for PressureSolverMode
impl UnsafeUnpin for PressureSolverMode
impl UnwindSafe for PressureSolverMode
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