Skip to content

Commit

Permalink
tidal forcing 0 at t=0
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Jun 4, 2023
1 parent 292b4e8 commit 72a2399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/barotropic_tide.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72a2399

Please sign in to comment.