Skip to content

Commit

Permalink
reduce wind inpit and wave dissipation in presence of sea ice
Browse files Browse the repository at this point in the history
  • Loading branch information
adarmenov committed Feb 8, 2019
1 parent 76ce5af commit ed40d41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/umwm_source_functions.F90
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ subroutine sin_d12()

do concurrent (o = 1:om, p = 1:pm, i = istart:iend)
ssin(o,p,i) = twopi * rhorat(i) * ssin(o,p,i) * fkovg(o,i)
ssin(o,p,i) = (1 - fice(i)) * ssin(o,p,i)
end do

! prevent negative sin for diagnostic tail
Expand Down Expand Up @@ -100,6 +101,7 @@ subroutine sds_d12

do concurrent(o = 1:om, p = 1:pm, i = istart:iend)
sds(o,p,i) = twopisds_fac * f(o) * dummy(o,p,i) * (e(o,p,i) * k4(o,i))**sds_power
sds(o,p,i) = (1 - fice(i)) * sds(o,p,i)
end do

end subroutine sds_d12
Expand Down

0 comments on commit ed40d41

Please sign in to comment.