From 72a2399394d60fa22d77dc51822d6175ffcf07e3 Mon Sep 17 00:00:00 2001 From: "Navid C. Constantinou" Date: Sun, 4 Jun 2023 10:00:39 +1000 Subject: [PATCH] tidal forcing 0 at t=0 --- examples/barotropic_tide.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/barotropic_tide.jl b/examples/barotropic_tide.jl index 485e3a8624..00e24bf4ab 100644 --- a/examples/barotropic_tide.jl +++ b/examples/barotropic_tide.jl @@ -78,7 +78,7 @@ U_tidal = ε * ω₂ * width const tidal_forcing_amplitude = U_tidal * (coriolis.f^2 - ω₂^2) / ω₂ -@inline tidal_forcing(x, y, z, t) = tidal_forcing_amplitude * cos(ω₂ * t) +@inline tidal_forcing(x, y, z, t) = tidal_forcing_amplitude * sin(ω₂ * t) # ## Model