Skip to content

Commit

Permalink
Delete uncessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Nov 17, 2020
1 parent 11cc3dc commit 48616d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,6 @@ subroutine step_MOM_dynamics(forces, p_surf_begin, p_surf_end, dt, dt_thermo, &
p_surf_begin, p_surf_end, CS%uh, CS%vh, CS%uhtr, CS%vhtr, &
CS%eta_av_bc, G, GV, US, CS%dyn_unsplit_RK2_CSp, CS%VarMix, CS%MEKE)
else
! GMM do nothing
call step_MOM_dyn_unsplit(u, v, h, CS%tv, CS%visc, Time_local, dt, forces, &
p_surf_begin, p_surf_end, CS%uh, CS%vh, CS%uhtr, CS%vhtr, &
CS%eta_av_bc, G, GV, US, CS%dyn_unsplit_CSp, CS%VarMix, CS%MEKE, Waves=Waves)
Expand Down Expand Up @@ -1161,7 +1160,6 @@ subroutine step_MOM_tracer_dyn(CS, G, GV, US, h, Time_local)
call cpu_clock_begin(id_clock_thermo) ; call cpu_clock_begin(id_clock_tracer)
call enable_averages(CS%t_dyn_rel_adv, Time_local, CS%diag)

! GMM, turn off advection
call advect_tracer(h, CS%uhtr, CS%vhtr, CS%OBC, CS%t_dyn_rel_adv, G, GV, US, &
CS%tracer_adv_CSp, CS%tracer_Reg)
call tracer_hordiff(h, CS%t_dyn_rel_adv, CS%MEKE, CS%VarMix, G, GV, US, &
Expand Down
3 changes: 0 additions & 3 deletions src/core/MOM_dynamics_unsplit.F90
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ subroutine step_MOM_dyn_unsplit(u, v, h, tv, visc, Time_local, dt, forces, &
if (dyn_p_surf) then ; do j=js-2,je+2 ; do i=is-2,ie+2
p_surf(i,j) = 0.75*p_surf_begin(i,j) + 0.25*p_surf_end(i,j)
enddo ; enddo ; endif
! GMM, turn off pressure force
call PressureForce(h_av, tv, CS%PFu, CS%PFv, G, GV, US, &
CS%PressureForce_CSp, CS%ALE_CSp, p_surf)
call cpu_clock_end(id_clock_pres)
Expand Down Expand Up @@ -379,7 +378,6 @@ subroutine step_MOM_dyn_unsplit(u, v, h, tv, visc, Time_local, dt, forces, &
if (dyn_p_surf) then ; do j=js-2,je+2 ; do i=is-2,ie+2
p_surf(i,j) = 0.25*p_surf_begin(i,j) + 0.75*p_surf_end(i,j)
enddo ; enddo ; endif
! GMM, turn off pressure force
call PressureForce(h_av, tv, CS%PFu, CS%PFv, G, GV, US, &
CS%PressureForce_CSp, CS%ALE_CSp, p_surf)
call cpu_clock_end(id_clock_pres)
Expand Down Expand Up @@ -455,7 +453,6 @@ subroutine step_MOM_dyn_unsplit(u, v, h, tv, visc, Time_local, dt, forces, &

! PFu = d/dx M(h_av,T,S)
call cpu_clock_begin(id_clock_pres)
! GMM, turn off pressure force
call PressureForce(h_av, tv, CS%PFu, CS%PFv, G, GV, US, &
CS%PressureForce_CSp, CS%ALE_CSp, p_surf)
call cpu_clock_end(id_clock_pres)
Expand Down

0 comments on commit 48616d8

Please sign in to comment.