Skip to content

Commit

Permalink
Merge pull request #429 from grantfirl/ufs-dev-PR139
Browse files Browse the repository at this point in the history
UFS-dev PR#139
  • Loading branch information
grantfirl authored Mar 12, 2024
2 parents 07174af + 688ce5e commit 245b999
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ccpp/config/ccpp_prebuild_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@
'ccpp/physics/physics/noahmpdrv.F90' ,
'ccpp/physics/physics/flake_driver.F90' ,
'ccpp/physics/physics/clm_lake.f90' ,
'ccpp/physics/physics/sfc_nst_pre.f' ,
'ccpp/physics/physics/sfc_nst.f' ,
'ccpp/physics/physics/sfc_nst_post.f' ,
'ccpp/physics/physics/sfc_nst_pre.f90' ,
'ccpp/physics/physics/sfc_nst.f90' ,
'ccpp/physics/physics/sfc_nst_post.f90' ,
'ccpp/physics/physics/sfc_ocean.F' ,
'ccpp/physics/physics/sfc_sice.f' ,
'ccpp/physics/physics/mp_fer_hires.F90' ,
Expand Down
3 changes: 3 additions & 0 deletions scm/src/CCPP_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ module CCPP_typedefs
logical, pointer :: flag_cice(:) => null() !<
logical, pointer :: flag_guess(:) => null() !<
logical, pointer :: flag_iter(:) => null() !<
logical, pointer :: flag_lakefreeze(:) => null() !<
real (kind=kind_phys), pointer :: ffmm_ice(:) => null() !<
real (kind=kind_phys), pointer :: ffmm_land(:) => null() !<
real (kind=kind_phys), pointer :: ffmm_water(:) => null() !<
Expand Down Expand Up @@ -539,6 +540,7 @@ subroutine gfs_interstitial_create (Interstitial, IM, Model)
allocate (Interstitial%flag_cice (IM))
allocate (Interstitial%flag_guess (IM))
allocate (Interstitial%flag_iter (IM))
allocate (Interstitial%flag_lakefreeze (IM))
allocate (Interstitial%ffmm_ice (IM))
allocate (Interstitial%ffmm_land (IM))
allocate (Interstitial%ffmm_water (IM))
Expand Down Expand Up @@ -1235,6 +1237,7 @@ subroutine gfs_interstitial_phys_reset (Interstitial, Model)
Interstitial%flag_cice = .false.
Interstitial%flag_guess = .false.
Interstitial%flag_iter = .true.
Interstitial%flag_lakefreeze = .false.
Interstitial%ffmm_ice = Model%huge
Interstitial%ffmm_land = Model%huge
Interstitial%ffmm_water = Model%huge
Expand Down
6 changes: 6 additions & 0 deletions scm/src/CCPP_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,12 @@
units = flag
dimensions = (horizontal_loop_extent)
type = logical
[flag_lakefreeze]
standard_name = flag_for_lake_water_freeze
long_name = flag for lake water freeze
units = flag
dimensions = (horizontal_loop_extent)
type = logical
[ffmm_water]
standard_name = Monin_Obukhov_similarity_function_for_momentum_over_water
long_name = Monin-Obukhov similarity function for momentum over water
Expand Down

0 comments on commit 245b999

Please sign in to comment.