Skip to content

Commit 5812563

Browse files
committed
replaceconfig_flux_attenuation_coefficient_runoff with config_flux_attenuation_coefficient_subglacial_runoff in subglacial kpp loop
1 parent 6920f5e commit 5812563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/mpas-ocean/src/shared/mpas_ocn_diagnostics.F

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,8 +3574,8 @@ subroutine ocn_compute_KPP_input_fields(statePool, forcingPool, &
35743574
do k = maxLevelCell(iCell), minLevelCell(iCell), -1
35753575
zBot = zTop - layerThickness(k,iCell)
35763576
if (k == minLevelCell(iCell)) then
3577-
transmissionCoeffTop = exp( max(zTop / config_flux_attenuation_coefficient_runoff, -100.0_RKIND) )
3578-
transmissionCoeffBot = exp( max(zBot / config_flux_attenuation_coefficient_runoff, -100.0_RKIND) )
3577+
transmissionCoeffTop = exp( max(zTop / config_flux_attenuation_coefficient_subglacial_runoff, -100.0_RKIND) )
3578+
transmissionCoeffBot = exp( max(zBot / config_flux_attenuation_coefficient_subglacial_runoff, -100.0_RKIND) )
35793579
fracAbsorbedSubglacialRunoff = transmissionCoeffTop - transmissionCoeffBot
35803580
end if
35813581
zTop = zBot

0 commit comments

Comments
 (0)