Skip to content

Commit 21cb109

Browse files
committed
add new convectively-transported tracer tendency array
1 parent 61f355a commit 21cb109

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.gitmodules

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
branch = main
55
[submodule "ccpp-physics"]
66
path = ccpp/physics
7-
url = https://github.com/NCAR/ccpp-physics
8-
branch = main
7+
#url = https://github.com/NCAR/ccpp-physics
8+
#branch = main
9+
url = https://github.com/grantfirl/ccpp-physics
10+
branch = feature/tendency_cleanup
911
[submodule "CMakeModules"]
1012
path = CMakeModules
1113
url = https://github.com/noaa-emc/CMakeModules

ccpp/physics

Submodule physics updated 127 files

scm/src/CCPP_typedefs.F90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ module CCPP_typedefs
7676
real (kind=kind_phys), pointer :: cld1d(:) => null() !<
7777
real (kind=kind_phys), pointer :: clouds(:,:,:) => null() !<
7878
real (kind=kind_phys), pointer :: clw(:,:,:) => null() !<
79+
real (kind=kind_phys), pointer :: dclw(:,:,:) => null() !<
7980
real (kind=kind_phys), pointer :: clx(:,:) => null() !<
8081
real (kind=kind_phys), pointer :: cmm_ice(:) => null() !<
8182
real (kind=kind_phys), pointer :: cmm_land(:) => null() !<
@@ -478,6 +479,7 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
478479
allocate (Interstitial%cld1d (IM))
479480
allocate (Interstitial%clouds (IM,Model%levr+LTP,NF_CLDS))
480481
allocate (Interstitial%clw (IM,Model%levs,Interstitial%nn))
482+
allocate (Interstitial%dclw (IM,Model%levs,Interstitial%nn))
481483
allocate (Interstitial%clx (IM,4))
482484
allocate (Interstitial%cmm_ice (IM))
483485
allocate (Interstitial%cmm_land (IM))
@@ -1157,6 +1159,7 @@ subroutine gfs_interstitial_phys_reset (Interstitial, Model)
11571159
Interstitial%cldf = clear_val
11581160
Interstitial%clw = clear_val
11591161
Interstitial%clw(:,:,2) = -999.9
1162+
Interstitial%dclw = clear_val
11601163
Interstitial%clx = clear_val
11611164
Interstitial%cmm_ice = Model%huge
11621165
Interstitial%cmm_land = Model%huge

scm/src/CCPP_typedefs.meta

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@
331331
dimensions = (horizontal_loop_extent,vertical_layer_dimension)
332332
type = real
333333
kind = kind_phys
334+
[dclw]
335+
standard_name = tendency_of_convective_transportable_tracers
336+
long_name = array to contain tendencies of cloud water and other convective trans. tracers
337+
units = kg kg-1 s-1
338+
dimensions = (horizontal_loop_extent,vertical_layer_dimension,number_of_tracers_for_convective_transport)
339+
type = real
340+
kind = kind_phys
334341
[clx]
335342
standard_name = fraction_of_grid_box_with_subgrid_orography_higher_than_critical_height
336343
long_name = frac. of grid box with by subgrid height_above_mean_sea_level higher than critical height

0 commit comments

Comments
 (0)