euv_core/game/fluid_kit/eulerian/enum.rs
1/// Advection integration scheme for velocity, dye, and thermal fields in MAC fluid grids.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
3pub enum AdvectionScheme {
4 /// First-order unconditionally stable RK2 semi-Lagrangian backtrace advection.
5 SemiLagrangian,
6 /// Second-order MacCormack predictor-corrector advection with local min/max overshoot clamping.
7 #[default]
8 MacCormack,
9}
10
11/// Linear Poisson solver backend for enforcing incompressible `div(u) = 0` velocity projection.
12#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
13pub enum PressureSolverMode {
14 /// Checkerboard Red-Black Gauss-Seidel successive over-relaxation solver.
15 RedBlackGaussSeidel,
16 /// Matrix-Free Conjugate Gradient solver converging rapidly to tight divergence residuals.
17 #[default]
18 ConjugateGradient,
19}