Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
branch = main
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/ufs-community/ccpp-physics
branch = ufs/dev
url = https://github.com/Qingfu-Liu/ccpp-physics
branch = radiation_clouds_prop
[submodule "upp"]
path = upp
url = https://github.com/NOAA-EMC/UPP
Expand Down
7 changes: 1 addition & 6 deletions ccpp/data/CCPP_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -982,16 +982,11 @@ subroutine gfs_interstitial_setup_tracers(Interstitial, Model)
Interstitial%ntcwx = 2
Interstitial%ntiwx = 3
Interstitial%ntrwx = 4
elseif (Model%imp_physics == Model%imp_physics_zhao_carr) then
Interstitial%ntcwx = 2
endif
endif

if (Model%cplchm) then
! Only the following microphysics schemes are supported with coupled chemistry
if (Model%imp_physics == Model%imp_physics_zhao_carr) then
Interstitial%nvdiff = 3
elseif (Model%imp_physics == Model%imp_physics_mg) then
if (Model%imp_physics == Model%imp_physics_mg) then
if (Model%ntgl > 0) then
Interstitial%nvdiff = 12
else
Expand Down
31 changes: 4 additions & 27 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -6087,27 +6087,12 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
Model%npsdelt = -999
Model%ncnd = nwat - 1 ! ncnd is the number of cloud condensate types
if (Model%imp_physics == Model%imp_physics_zhao_carr) then
Model%npdf3d = 0
Model%num_p3d = 4
Model%num_p2d = 3
Model%shcnvcw = .false.
Model%nT2delt = 1
Model%nqv2delt = 2
Model%nTdelt = 3
Model%nqvdelt = 4
Model%nps2delt = 1
Model%npsdelt = 2
if (nwat /= 2) then
print *,' Zhao-Carr MP requires nwat to be set to 2 - job aborted'
stop
end if
if (Model%me == Model%master) print *,' Using Zhao/Carr/Sundqvist Microphysics'
print *,' Error, Zhao/Carr/Sundqvist Microphysics is not supported'
stop

elseif (Model%imp_physics == Model%imp_physics_zhao_carr_pdf) then !Zhao Microphysics with PDF cloud
Model%npdf3d = 3
Model%num_p3d = 4
Model%num_p2d = 3
if (Model%me == Model%master) print *,'Using Zhao/Carr/Sundqvist Microphysics with PDF Cloud'
print *,' Error, Zhao/Carr/Sundqvist Microphysics with PDF Cloud is not supported'
stop

else if (Model%imp_physics == Model%imp_physics_fer_hires) then ! Ferrier-Aligo scheme
Model%npdf3d = 0
Expand Down Expand Up @@ -6738,14 +6723,6 @@ subroutine control_print(Model)
print *, ' imp_physics : ', Model%imp_physics
print *, ' '

if (Model%imp_physics == Model%imp_physics_zhao_carr .or. Model%imp_physics == Model%imp_physics_zhao_carr_pdf) then
print *, ' Z-C microphysical parameters'
print *, ' psautco : ', Model%psautco
print *, ' prautco : ', Model%prautco
print *, ' evpco : ', Model%evpco
print *, ' wminco : ', Model%wminco
print *, ' '
endif
if (Model%imp_physics == Model%imp_physics_wsm6 .or. Model%imp_physics == Model%imp_physics_thompson) then
print *, ' Thompson microphysical parameters'
print *, ' ltaerosol : ', Model%ltaerosol
Expand Down
2 changes: 1 addition & 1 deletion ccpp/physics
Loading