Skip to content

Commit

Permalink
replaceconfig_flux_attenuation_coefficient_runoff with config_flux_at…
Browse files Browse the repository at this point in the history
…tenuation_coefficient_subglacial_runoff in subglacial kpp loop
  • Loading branch information
irenavankova committed Oct 8, 2024
1 parent 6920f5e commit 5812563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mpas-ocean/src/shared/mpas_ocn_diagnostics.F
Original file line number Diff line number Diff line change
Expand Up @@ -3574,8 +3574,8 @@ subroutine ocn_compute_KPP_input_fields(statePool, forcingPool, &
do k = maxLevelCell(iCell), minLevelCell(iCell), -1
zBot = zTop - layerThickness(k,iCell)
if (k == minLevelCell(iCell)) then
transmissionCoeffTop = exp( max(zTop / config_flux_attenuation_coefficient_runoff, -100.0_RKIND) )
transmissionCoeffBot = exp( max(zBot / config_flux_attenuation_coefficient_runoff, -100.0_RKIND) )
transmissionCoeffTop = exp( max(zTop / config_flux_attenuation_coefficient_subglacial_runoff, -100.0_RKIND) )
transmissionCoeffBot = exp( max(zBot / config_flux_attenuation_coefficient_subglacial_runoff, -100.0_RKIND) )
fracAbsorbedSubglacialRunoff = transmissionCoeffTop - transmissionCoeffBot
end if
zTop = zBot
Expand Down

0 comments on commit 5812563

Please sign in to comment.