Skip to content

Commit

Permalink
Fix an omission.
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedstrom committed Jan 22, 2021
1 parent 69d0011 commit 20e679b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SIS_dyn_cgrid.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ subroutine SIS_C_dynamics(ci, mis, mice, ui, vi, uo, vo, fxat, fyat, &
endif
else
drag_u = cdRho * sqrt(uio_init**2 + v2_at_u )
if (CS%lemieux_landfast) speed_u = sqrt(uio_init**2 + v2_at_u )
if (CS%lemieux_landfast) speed_u = sqrt(uio_init**2 + v2_at_u_min )
endif
if (drag_max>0.) drag_u = min( drag_u, drag_max )

Expand Down Expand Up @@ -1151,7 +1151,7 @@ subroutine SIS_C_dynamics(ci, mis, mice, ui, vi, uo, vo, fxat, fyat, &
endif
else
drag_v = cdRho * sqrt(vio_init**2 + u2_at_v )
if (CS%lemieux_landfast) speed_v = sqrt(vio_init**2 + u2_at_v )
if (CS%lemieux_landfast) speed_v = sqrt(vio_init**2 + u2_at_v_min )
endif
if (drag_max>0.) drag_v = min( drag_v, drag_max )

Expand Down

0 comments on commit 20e679b

Please sign in to comment.