diff --git a/src/Physics/subgrid_diffusion.jl b/src/Physics/subgrid_diffusion.jl index a8875eed..ef45ed83 100644 --- a/src/Physics/subgrid_diffusion.jl +++ b/src/Physics/subgrid_diffusion.jl @@ -65,7 +65,7 @@ end pTᵢ = @cell pT[ip, I...] # subgrid diffusion of the i-th particle - pΔTᵢ = (pTᵢ - pT0ᵢ) * (1 - exp(-d * dt / max(@cell(dt₀[ip, I...]), 1e-9)) + pΔTᵢ = (pTᵢ - pT0ᵢ) * (1 - exp(-d * dt / max(@cell(dt₀[ip, I...]), 1e-9))) @cell pT0[ip, I...] = pT0ᵢ + pΔTᵢ @cell pΔT[ip, I...] = pΔTᵢ end