Skip to content

Commit e1e4ef1

Browse files
authored
Update PrescribedAtmosphere default thermodynamics_parameters (#609)
1 parent 82528b8 commit e1e4ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OceanSeaIceModels/PrescribedAtmospheres.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ end
381381
clock = Clock{Float64}(time = 0),
382382
surface_layer_height = 10, # meters
383383
boundary_layer_height = 512 # meters,
384-
thermodynamics_parameters = AtmosphereThermodynamicsParameters(FT),
384+
thermodynamics_parameters = AtmosphereThermodynamicsParameters(eltype(grid)),
385385
auxiliary_freshwater_flux = nothing,
386386
velocities = default_atmosphere_velocities(grid, times),
387387
tracers = default_atmosphere_tracers(grid, times),
@@ -396,7 +396,7 @@ function PrescribedAtmosphere(grid, times=[zero(grid)];
396396
clock = Clock{Float64}(time = 0),
397397
surface_layer_height = 10,
398398
boundary_layer_height = 512,
399-
thermodynamics_parameters = AtmosphereThermodynamicsParameters(FT),
399+
thermodynamics_parameters = AtmosphereThermodynamicsParameters(eltype(grid)),
400400
auxiliary_freshwater_flux = nothing,
401401
velocities = default_atmosphere_velocities(grid, times),
402402
tracers = default_atmosphere_tracers(grid, times),

0 commit comments

Comments
 (0)