From 10de0b3af6445f5e060dfe33bc988633203f129f Mon Sep 17 00:00:00 2001 From: Simone Silvestri Date: Thu, 16 Apr 2026 08:02:06 +0200 Subject: [PATCH 1/2] materialize advection --- src/sea_ice_model.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sea_ice_model.jl b/src/sea_ice_model.jl index 617120d9..d9276529 100644 --- a/src/sea_ice_model.jl +++ b/src/sea_ice_model.jl @@ -1,5 +1,6 @@ using Oceananigans: tupleit, tracernames using Oceananigans.Architectures: architecture +using Oceananigans.Advection: materialize_advection using Oceananigans.BoundaryConditions: regularize_field_boundary_conditions using Oceananigans.Fields: TracerFields, ConstantField using Oceananigans.Forcings: model_forcing @@ -219,6 +220,10 @@ function SeaIceModel(grid; model_fields = isnothing(dynamics) ? prognostic_fields : merge(prognostic_fields, fields(dynamics)) forcing = model_forcing(forcing, model_fields, prognostic_fields) + # Fill any settings in advection scheme that might have been deferred until + # the grid and backend is known + advection = materialize_advection(advection, grid) + # Package the external fluxes and boundary conditions external_heat_fluxes = (top = top_heat_flux, bottom = bottom_heat_flux) From 660ebc56cd00b8bd8bfdc8dca4381c792669babc Mon Sep 17 00:00:00 2001 From: Simone Silvestri Date: Thu, 16 Apr 2026 08:04:09 +0200 Subject: [PATCH 2/2] add to project --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 958ad3c3..da6ab51e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ClimaSeaIce" uuid = "6ba0ff68-24e6-4315-936c-2e99227c95a4" authors = ["Climate Modeling Alliance and contributors"] -version = "0.4.8" +version = "0.4.9" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"