Skip to content

Commit 156d02c

Browse files
Make use_drag_rate independent of MEKE_damping
Remove MEKE_damping from use_drag_rate so we can use linear dissipation without bottom drag. This is needed for the GEOMETRIC scheme.
1 parent b771b91 commit 156d02c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/parameterizations/lateral/MOM_MEKE.F90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ subroutine step_forward_MEKE(MEKE, h, SN_u, SN_v, visc, dt, G, GV, US, CS, hu, h
175175
if (.not.associated(MEKE)) call MOM_error(FATAL, &
176176
"MOM_MEKE: MEKE must be initialized before it is used.")
177177

178-
if ((CS%MEKE_damping > 0.0) .or. (CS%MEKE_Cd_scale > 0.0) .or. (CS%MEKE_Cb>0.) &
179-
.or. CS%visc_drag) then
178+
if ((CS%MEKE_Cd_scale > 0.0) .or. (CS%MEKE_Cb>0.) .or. CS%visc_drag) then
180179
use_drag_rate = .true.
181180
else
182181
use_drag_rate = .false.

0 commit comments

Comments
 (0)