Skip to content

Commit

Permalink
fixed indentation and relocated alvl in calling arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidclemenssewall committed Nov 12, 2024
1 parent 0b09d92 commit 5f53385
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion columnphysics/icepack_therm_mushy.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3160,7 +3160,7 @@ subroutine flushing_velocity(zTin, phi, &
if (tr_pond_lvl) then
w_down_max = (hpond * apnd * alvl) / dt
else
w_down_max = (hpond * apnd) / dt
w_down_max = (hpond * apnd) / dt
endif

! limit flow
Expand Down
6 changes: 4 additions & 2 deletions columnphysics/icepack_therm_vertical.F90
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ subroutine thermo_vertical (dt, aicen, &
Tsf, zSin, &
zqin, zqsn, &
apnd, hpond, &
alvl, &
flw, potT, &
Qa, rhoa, &
fsnow, fpond, &
Expand All @@ -107,7 +108,7 @@ subroutine thermo_vertical (dt, aicen, &
congel, snoice, &
mlt_onset, frz_onset, &
yday, dsnow, &
prescribed_ice, alvl)
prescribed_ice)

real (kind=dbl_kind), intent(in) :: &
dt , & ! time step
Expand Down Expand Up @@ -2695,6 +2696,7 @@ subroutine icepack_step_therm1(dt, &
Tsf=Tsfc (n), zSin=zSin (:,n), &
zqin=zqin (:,n), zqsn=zqsn (:,n), &
apnd=apnd (n), hpond=hpnd (n), &
alvl=alvl (n), &
flw=flw, potT=potT, &
Qa=Qa, rhoa=rhoa, &
fsnow=fsnow, fpond=fpond, &
Expand All @@ -2718,7 +2720,7 @@ subroutine icepack_step_therm1(dt, &
congel=congeln (n), snoice=snoicen (n), &
mlt_onset=mlt_onset, frz_onset=frz_onset, &
yday=yday, dsnow=dsnown (n), &
prescribed_ice=prescribed_ice, alvl=alvl (n))
prescribed_ice=prescribed_ice)

if (icepack_warnings_aborted(subname)) then
write(warnstr,*) subname, ' ice: Vertical thermo error, cat ', n
Expand Down

0 comments on commit 5f53385

Please sign in to comment.