Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Nov 26, 2024
1 parent af28e4e commit 9b32122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OceanSeaIceModels/CrossRealmFluxes/surface_temperature.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ end

DiffusiveFlux(; κ = 1e-2) = DiffusiveFlux(nothing, κ)

function DiffusiveFlux(grid; κ = 1e-2)
Δz = @allowscalar Δzᶜᶜᶜ(1, 1, grid.Nz, grid)
return DiffusiveFlux(Δz, κ)
function DiffusiveFlux(grid; κ = 0.1)
δ = @allowscalar Δzᶜᶜᶜ(1, 1, grid.Nz, grid)
return DiffusiveFlux(δ, κ)
end

regularize_surface_temperature(T::DiagnosticSurfaceTemperature{<:DiffusiveFlux}, grid) =
Expand Down

0 comments on commit 9b32122

Please sign in to comment.