pub fn new() -> Self {
        Self {
            min_pressure_iter: 1,
            max_pressure_iter: 50,
            max_density_error: na::convert::<_, Real>(0.05),
            omega: na::convert::<_, Real>(0.5),
            densities: Vec::new(),
            dii: Vec::new(),
            aii: Vec::new(),
            dij_pjl: Vec::new(),
            pressures: Vec::new(),
            next_pressures: Vec::new(),
            predicted_densities: Vec::new(),
            velocity_changes: Vec::new(),
            phantoms: PhantomData,
        }
    }
/// Initialize a new IISPH pressure solver.
Initialize a new IISPH pressure solver.
Initialize a new IISPH pressure solver .
pub fn new() -> Self {
        Self {
            min_pressure_iter: 1,
            max_pressure_iter: 50,
            max_density_error: na::convert::<_, Real>(0.05),
            omega: na::convert::<_, Real>(0.5),
            densities: Vec::new(),
            dii: Vec::new(),
            aii: Vec::new(),
            dij_pjl: Vec::new(),
            pressures: Vec::new(),
            next_pressures: Vec::new(),
            predicted_densities: Vec::new(),
            velocity_changes: Vec::new(),
            phantoms: PhantomData,
        }
    }
pub fn new ( ) -> Self { Self { min_pressure_iter : 1 , max_pressure_iter : 50 , max_density_error : na :: convert :: < _ , Real > ( 0.05 ) , omega : na :: convert :: < _ , Real > ( 0.5 ) , densities : Vec :: new ( ) , dii : Vec :: new ( ) , aii : Vec :: new ( ) , dij_pjl : Vec :: new ( ) , pressures : Vec :: new ( ) , next_pressures : Vec :: new ( ) , predicted_densities : Vec :: new ( ) , velocity_changes : Vec :: new ( ) , phantoms : PhantomData , } }
Initialize a new IISPH pressure solver.
Initialize a new IISPH pressure solver .