Skip to content

Commit

Permalink
Fix minimum parameter name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Jan 23, 2025
1 parent e71de9a commit bcc145a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phys_utils/atmos_pbl_utils.F90
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module atmos_phys_pbl_utils
public :: austausch_atm
public :: austausch_atm_free

real(kind_phys), parameter :: ustar_min = 0.01_kind_phys
real(kind_phys), parameter :: zkmin = 0.01_kind_phys ! Minimum kneutral*f(ri). CCM1 2.f.14
real(kind_phys), parameter :: minimum_friction_velocity = 0.01_kind_phys
real(kind_phys), parameter :: zkmin = 0.01_kind_phys ! Minimum kneutral*f(ri). CCM1 2.f.14

contains

Expand Down Expand Up @@ -46,7 +46,7 @@ pure elemental function calc_friction_velocity(taux, tauy, rrho) result(friction

real(kind_phys) :: friction_velocity ! surface friction velocity [m/s]

friction_velocity = max( sqrt( sqrt(taux**2 + tauy**2)*rrho ), ustar_min )
friction_velocity = max( sqrt( sqrt(taux**2 + tauy**2)*rrho ), minimum_friction_velocity )
end function calc_friction_velocity

pure elemental function calc_kinematic_heat_flux(shflx, rrho, cpair) result(khfs)
Expand Down

0 comments on commit bcc145a

Please sign in to comment.