Skip to content

Commit

Permalink
adjust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Jul 14, 2024
1 parent 0866f88 commit 76e81c7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/sea_ice_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ struct SeaIceModel{GR, TD, D, CL, TS, U, T, IT, IC, STF, SMS, A} <: AbstractMode
end

function SeaIceModel(grid;
clock = Clock{eltype(grid)}(time = 0),
ice_thickness = Field{Center, Center, Nothing}(grid),
ice_concentration = Field{Center, Center, Nothing}(grid),
ice_salinity = 0, # psu
top_heat_flux = nothing,
bottom_heat_flux = 0,
velocities = nothing,
advection = nothing,
top_momentum_stress = nothing, # Fix when introducing dynamics
tracers = (),
boundary_conditions = NamedTuple(),
ice_thermodynamics = SlabSeaIceThermodynamics(grid),
ice_dynamics = nothing)
clock = Clock{eltype(grid)}(time = 0),
ice_thickness = Field{Center, Center, Nothing}(grid),
ice_concentration = Field{Center, Center, Nothing}(grid),
ice_salinity = 0, # psu
top_heat_flux = nothing,
bottom_heat_flux = 0,
velocities = nothing,
advection = nothing,
top_momentum_stress = nothing, # Fix when introducing dynamics
tracers = (),
boundary_conditions = NamedTuple(),
ice_thermodynamics = SlabSeaIceThermodynamics(grid),
ice_dynamics = nothing)

if isnothing(velocities)
velocities = (u = ZeroField(), v=ZeroField(), w=ZeroField())
Expand Down

0 comments on commit 76e81c7

Please sign in to comment.