From f0ef9858cf43e301ccfb77a96a518158b7668046 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Tue, 22 Jun 2021 13:42:04 -0600 Subject: [PATCH 1/2] Removes manual grid manipulation in VerticallyStretchedRectilinearGrid constructor --- src/Grids/vertically_stretched_rectilinear_grid.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Grids/vertically_stretched_rectilinear_grid.jl b/src/Grids/vertically_stretched_rectilinear_grid.jl index 8f24206c6b..ebcf95b27c 100644 --- a/src/Grids/vertically_stretched_rectilinear_grid.jl +++ b/src/Grids/vertically_stretched_rectilinear_grid.jl @@ -157,10 +157,6 @@ function VerticallyStretchedRectilinearGrid(FT = Float64; Δzᵃᵃᶠ = OffsetArray(Δzᵃᵃᶠ, -Hz) Δzᵃᵃᶜ = OffsetArray(Δzᵃᵃᶜ, -Hz) - # Needed for pressure solver solution to be divergence-free. - # Will figure out why later... - Δzᵃᵃᶠ[Nz] = Δzᵃᵃᶠ[Nz-1] - # Seems needed to avoid out-of-bounds error in viscous dissipation # operators wanting to access Δzᵃᵃᶠ[Nz+2]. Δzᵃᵃᶠ = OffsetArray(cat(Δzᵃᵃᶠ[0], Δzᵃᵃᶠ..., Δzᵃᵃᶠ[Nz], dims=1), -Hz-1) From dd8571e9475eda7c4a54bb5e4403edc6c7531649 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Tue, 22 Jun 2021 15:48:26 -0600 Subject: [PATCH 2/2] Bump to 0.58.5 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 172f820a88..70001710fb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Oceananigans" uuid = "9e8cae18-63c1-5223-a75c-80ca9d6e9a09" -version = "0.58.4" +version = "0.58.5" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"