Skip to content

Commit e1e045e

Browse files
committed
Merge branch 'main' into rm_gfdl_parse_tracers
2 parents f4c5b9a + e6c40e1 commit e1e045e

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

scm/src/CCPP_typedefs.F90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ module CCPP_typedefs
282282
real (kind=kind_phys), pointer :: t2mmp(:) => null() !<
283283
real (kind=kind_phys), pointer :: theta(:) => null() !<
284284
real (kind=kind_phys), pointer :: tlvl(:,:) => null() !<
285+
real (kind=kind_phys), pointer :: tkeh(:,:) => null() !< vertical turbulent kinetic energy (m2/s2) at the model layer interfaces
285286
real (kind=kind_phys), pointer :: tlyr(:,:) => null() !<
286287
real (kind=kind_phys), pointer :: tprcp_ice(:) => null() !<
287288
real (kind=kind_phys), pointer :: tprcp_land(:) => null() !<
@@ -621,6 +622,7 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
621622
allocate (Interstitial%stress_land (IM))
622623
allocate (Interstitial%stress_water (IM))
623624
allocate (Interstitial%theta (IM))
625+
allocate (Interstitial%tkeh (IM,Model%levs+1)) !Vertical turbulent kinetic energy at model layer interfaces
624626
allocate (Interstitial%tlvl (IM,Model%levr+1+LTP))
625627
allocate (Interstitial%tlyr (IM,Model%levr+LTP))
626628
allocate (Interstitial%tprcp_ice (IM))
@@ -970,6 +972,7 @@ subroutine gfs_interstitial_setup_tracers(Interstitial, Model)
970972
do n=2,Model%ntrac
971973
ltest = ( n /= Model%ntcw .and. n /= Model%ntiw .and. n /= Model%ntclamt .and. &
972974
n /= Model%ntrw .and. n /= Model%ntsw .and. n /= Model%ntrnc .and. &
975+
n /= Model%ntlnc .and. n /= Model%ntinc .and. &
973976
n /= Model%ntsnc .and. n /= Model%ntgl .and. n /= Model%ntgnc .and. &
974977
n /= Model%nthl .and. n /= Model%nthnc .and. n /= Model%ntgv .and. &
975978
n /= Model%nthv .and. n /= Model%ntccn .and. n /= Model%ntccna .and. &
@@ -1277,6 +1280,7 @@ subroutine gfs_interstitial_phys_reset (Interstitial, Model)
12771280
Interstitial%stress_land = Model%huge
12781281
Interstitial%stress_water = Model%huge
12791282
Interstitial%theta = clear_val
1283+
Interstitial%tkeh = clear_val
12801284
Interstitial%tprcp_ice = Model%huge
12811285
Interstitial%tprcp_land = Model%huge
12821286
Interstitial%tprcp_water = Model%huge

scm/src/CCPP_typedefs.meta

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2836,6 +2836,13 @@
28362836
units = count
28372837
dimensions = ()
28382838
type = integer
2839+
[tkeh]
2840+
standard_name = vertical_turbulent_kinetic_energy_at_interface
2841+
long_name = vertical turbulent kinetic energy at model layer interfaces
2842+
units = m2 s-2
2843+
dimensions = (horizontal_loop_extent,vertical_interface_dimension)
2844+
type = real
2845+
kind = kind_phys
28392846
[active_phys_tend]
28402847
standard_name = tendencies_for_active_process_in_ccpp_suite_simulator
28412848
long_name = tendencies for active physics process in ccpp suite simulator

0 commit comments

Comments
 (0)