Skip to content

Commit cf22586

Browse files
Merge branch 'ss/omip-prototype' of github.com:CliMA/ClimaOcean.jl into ss/omip-prototype
2 parents 049dacd + 5e0997c commit cf22586

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

Manifest.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ version = "1.1.1"
5959

6060
[[deps.ArnoldiMethod]]
6161
deps = ["LinearAlgebra", "Random", "StaticArrays"]
62-
git-tree-sha1 = "f87e559f87a45bece9c9ed97458d3afe98b1ebb9"
62+
git-tree-sha1 = "d57bd3762d308bded22c3b82d033bff85f6195c6"
6363
uuid = "ec485272-7323-5ecc-a04f-4719b315124d"
64-
version = "0.1.0"
64+
version = "0.4.0"
6565

6666
[[deps.ArrayInterface]]
6767
deps = ["Adapt", "LinearAlgebra"]
@@ -203,7 +203,7 @@ version = "0.17.1+0"
203203

204204
[[deps.ClimaSeaIce]]
205205
deps = ["Adapt", "KernelAbstractions", "Oceananigans", "RootSolvers", "Roots", "SeawaterPolynomials"]
206-
git-tree-sha1 = "a03e0b78e613effa713161eaf46985a7f8421510"
206+
git-tree-sha1 = "fec29f3dd61c8179b6bd757fd2fd24c4dee2402e"
207207
repo-rev = "ss/no-heat-flux-when-unconsolidated"
208208
repo-url = "https://github.com/CliMA/ClimaSeaIce.jl.git"
209209
uuid = "6ba0ff68-24e6-4315-936c-2e99227c95a4"
@@ -273,9 +273,9 @@ version = "1.0.0"
273273

274274
[[deps.Compat]]
275275
deps = ["TOML", "UUIDs"]
276-
git-tree-sha1 = "3a3dfb30697e96a440e4149c8c51bf32f818c0f3"
276+
git-tree-sha1 = "0037835448781bb46feb39866934e243886d756a"
277277
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
278-
version = "4.17.0"
278+
version = "4.18.0"
279279
weakdeps = ["Dates", "LinearAlgebra"]
280280

281281
[deps.Compat.extensions]
@@ -506,6 +506,12 @@ git-tree-sha1 = "97285bbd5230dd766e9ef6749b80fc617126d496"
506506
uuid = "c27321d9-0574-5035-807b-f59d2c89b15c"
507507
version = "1.3.1"
508508

509+
[[deps.Graphs]]
510+
deps = ["ArnoldiMethod", "DataStructures", "Distributed", "Inflate", "LinearAlgebra", "Random", "SharedArrays", "SimpleTraits", "SparseArrays", "Statistics"]
511+
git-tree-sha1 = "c5abfa0ae0aaee162a3fbb053c13ecda39be545b"
512+
uuid = "86223c79-3864-5bf0-83f7-82e725a168b6"
513+
version = "1.13.0"
514+
509515
[[deps.HDF5_jll]]
510516
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "LazyArtifacts", "LibCURL_jll", "Libdl", "MPICH_jll", "MPIPreferences", "MPItrampoline_jll", "MicrosoftMPI_jll", "OpenMPI_jll", "OpenSSL_jll", "TOML", "Zlib_jll", "libaec_jll"]
511517
git-tree-sha1 = "e94f84da9af7ce9c6be049e9067e511e17ff89ec"
@@ -656,10 +662,10 @@ uuid = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
656662
version = "0.10.1"
657663

658664
[[deps.KrylovPreconditioners]]
659-
deps = ["Adapt", "KernelAbstractions", "LightGraphs", "LinearAlgebra", "Metis", "SparseArrays"]
660-
git-tree-sha1 = "52d302d5e950e242f037316b6dd6e1e080afea09"
665+
deps = ["Adapt", "Graphs", "KernelAbstractions", "LinearAlgebra", "Metis", "SparseArrays"]
666+
git-tree-sha1 = "77e0d2f1a250af347261c9aa89f74b0cfc530a71"
661667
uuid = "45d422c2-293f-44ce-8315-2cb988662dec"
662-
version = "0.3.4"
668+
version = "0.3.6"
663669

664670
[deps.KrylovPreconditioners.extensions]
665671
KrylovPreconditionersAMDGPUExt = "AMDGPU"
@@ -755,12 +761,6 @@ git-tree-sha1 = "be484f5c92fad0bd8acfef35fe017900b0b73809"
755761
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
756762
version = "1.18.0+0"
757763

758-
[[deps.LightGraphs]]
759-
deps = ["ArnoldiMethod", "DataStructures", "Distributed", "Inflate", "LinearAlgebra", "Random", "SharedArrays", "SimpleTraits", "SparseArrays", "Statistics"]
760-
git-tree-sha1 = "432428df5f360964040ed60418dd5601ecd240b6"
761-
uuid = "093fc24a-ae57-5d10-9952-331d41423f4d"
762-
version = "1.3.5"
763-
764764
[[deps.LinearAlgebra]]
765765
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"]
766766
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -967,8 +967,8 @@ version = "1.2.0"
967967

968968
[[deps.Oceananigans]]
969969
deps = ["Adapt", "Crayons", "CubedSphere", "Dates", "Distances", "DocStringExtensions", "FFTW", "GPUArrays", "GPUArraysCore", "Glob", "InteractiveUtils", "IterativeSolvers", "JLD2", "KernelAbstractions", "Krylov", "KrylovPreconditioners", "LinearAlgebra", "Logging", "MPI", "MuladdMacro", "OffsetArrays", "OrderedCollections", "Pkg", "Printf", "Random", "ReactantCore", "Rotations", "SeawaterPolynomials", "SparseArrays", "StaticArrays", "Statistics", "StructArrays"]
970-
git-tree-sha1 = "b0ea5f938cb437ab7f194c4d0785588f941af765"
971-
repo-rev = "ss/omip-branch"
970+
git-tree-sha1 = "72ef9588d32a97f29dd13db42b57dcfd96841dc2"
971+
repo-rev = "ss/omip-branch-2"
972972
repo-url = "https://github.com/CliMA/Oceananigans.jl.git"
973973
uuid = "9e8cae18-63c1-5223-a75c-80ca9d6e9a09"
974974
version = "0.97.5"

src/SeaIceSimulations.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ function sea_ice_simulation(grid, ocean=nothing;
6363
bottom_heat_flux = Field{Center, Center, Nothing}(grid)
6464
top_heat_flux = Field{Center, Center, Nothing}(grid)
6565

66+
u_bc = FluxBoundaryCondition(u_immersed_bottom_drag, discrete_form=true, parameters=1e-1)
67+
v_bc = FluxBoundaryCondition(v_immersed_bottom_drag, discrete_form=true, parameters=1e-1)
68+
69+
# immersed_u_bc = ImmersedBoundaryConditions(top=nothing, bottom=nothing, west=nothing, east=nothing, south=u_bc, north=u_bc)
70+
# immersed_v_bc = ImmersedBoundaryConditions(top=nothing, bottom=nothing, south=nothing, north=nothing, west=v_bc, east=v_bc)
71+
# u_bcs = FieldBoundaryConditions(grid, (Face(), Center(), nothing); immersed = immersed_u_bc)
72+
# v_bcs = FieldBoundaryConditions(grid, (Center(), Face(), nothing); immersed = immersed_v_bc)
73+
6674
# Build the sea ice model
6775
sea_ice_model = SeaIceModel(grid;
6876
ice_salinity,

0 commit comments

Comments
 (0)