Skip to content

Commit

Permalink
Remote application of Stokes tendency on thermodynamic step
Browse files Browse the repository at this point in the history
- This only makes sense to add on the dynamics timestep.
  • Loading branch information
breichl committed Jun 7, 2021
1 parent 9fbdf11 commit a6de11c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,10 @@ subroutine step_MOM(forces_in, fluxes_in, sfc_state, Time_start, time_int_in, CS
else ! not do_dyn.
if (CS%UseWaves) then ! Diagnostics are not enabled in this call.
call Update_Stokes_Drift(G, GV, US, Waves, h, fluxes%ustar, dt)
if (Waves%Stokes_DDT) then
u(:,:,:) = u(:,:,:) + Waves%ddt_us_x(:,:,:)*dt
v(:,:,:) = v(:,:,:) + Waves%ddt_us_y(:,:,:)*dt
endif
!if (Waves%Stokes_DDT) then
! u(:,:,:) = u(:,:,:) + Waves%ddt_us_x(:,:,:)*dt
! v(:,:,:) = v(:,:,:) + Waves%ddt_us_y(:,:,:)*dt
!endif
endif
endif

Expand Down

0 comments on commit a6de11c

Please sign in to comment.