fn project(&mut self, delta_t: f64, tolerance: f64, max_iterations: usize) {
        self.build_rhs();
        self.solve_pressure(delta_t, tolerance, max_iterations);
        self.apply_pressure(delta_t);
    }
/// Calculate the right amount of pressure to make the velocity
/// field divergence-free.
Calculate the right amount of pressure to make the velocity
field divergence-free.
Calculate the right amount of pressure to make the velocity field divergence - free .
fn project(&mut self, delta_t: f64, tolerance: f64, max_iterations: usize) {
        self.build_rhs();
        self.solve_pressure(delta_t, tolerance, max_iterations);
        self.apply_pressure(delta_t);
    }
fn project ( & mut self , delta_t : f64 , tolerance : f64 , max_iterations : usize ) { self . build_rhs ( ) ; self . solve_pressure ( delta_t , tolerance , max_iterations ) ; self . apply_pressure ( delta_t ) ; }
Calculate the right amount of pressure to make the velocity
field divergence-free.
Calculate the right amount of pressure to make the velocity field divergence - free .
&mut self
delta_t
f64
tolerance
f64
max_iterations
usize
&mut self
delta_t
f64
tolerance
f64
max_iterations
usize