Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/OceanSeaIceModels/ocean_sea_ice_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ struct OceanSeaIceModel{I, A, O, F, C} <: AbstractModel{Nothing}
end

const OSIM = OceanSeaIceModel
const OSIMSIM = Simulation{<:OceanSeaIceModel}

function Base.summary(model::OSIM)
A = nameof(typeof(architecture(model)))
Expand Down Expand Up @@ -189,3 +190,8 @@ function above_freezing_ocean_temperature!(ocean, sea_ice::SeaIceSimulation)
return nothing
end

# TODO: picking up OceanSeaIceModel simulations from a checkpoint is a WIP
function set!(sim::OSIMSIM, pickup)
set!(sim.model.ocean, pickup)
return nothing
end