pub fn gpu_pressure_tait(grid: &mut GpuSphGrid)Expand description
Vectorized Tait EOS pressure update.
For each particle i, computes:
Pᵢ = (ρ₀·c₀²/γ) · [(ρᵢ/ρ₀)^γ − 1]
Results are written into grid.pressures.
pub fn gpu_pressure_tait(grid: &mut GpuSphGrid)Vectorized Tait EOS pressure update.
For each particle i, computes:
Pᵢ = (ρ₀·c₀²/γ) · [(ρᵢ/ρ₀)^γ − 1]
Results are written into grid.pressures.