Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Aug 1, 2024
1 parent 5e6eabe commit 15e20c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sea_ice_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function SeaIceModel(grid;
tracers = TracerFields(tracers, grid, boundary_conditions)

# TODO: pass `clock` into `field`, so functions can be time-dependent?
# Wrap ice_salinity in a field (should we )
# Wrap ice_salinity in a field
ice_salinity = field((Center, Center, Nothing), ice_salinity, grid)

# Adding thickness and concentration if not there
Expand All @@ -57,6 +57,8 @@ function SeaIceModel(grid;
tuple(unique((tracernames(tracers)..., :S, :h, :ℵ))...)
end

# TODO: should we have ice thickness and concentration as part of the tracers or
# just additional fields of the sea ice model?
tracers = merge(tracers, (; S = ice_salinity))

# Only one time-stepper is supported currently
Expand Down

0 comments on commit 15e20c4

Please sign in to comment.