Skip to content

Commit

Permalink
Revert mp init move.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed May 23, 2024
1 parent 5c43e68 commit 45e99c9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
12 changes: 6 additions & 6 deletions physics/MP/GFDL/v3_2022/gfdl_cloud_microphys_v3.F90
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ subroutine gfdl_cloud_microphys_v3_run(

! rain/snow/ice/graupel/precip amounts, fraction of frozen precip
!real(kind_phys), dimension(:) :: water0
real(kind_phys), intent(out ), dimension(:) :: rain0
real(kind_phys), intent(out ), dimension(:) :: snow0
real(kind_phys), intent(out ), dimension(:) :: ice0
real(kind_phys), intent(out ), dimension(:) :: graupel0
real(kind_phys), intent(out ), dimension(:), optional :: rain0
real(kind_phys), intent(out ), dimension(:), optional :: snow0
real(kind_phys), intent(out ), dimension(:), optional :: ice0
real(kind_phys), intent(out ), dimension(:), optional :: graupel0
real(kind_phys), intent(out ), dimension(:) :: prcp0
real(kind_phys), intent(out ), dimension(:) :: sr

Expand All @@ -165,10 +165,10 @@ subroutine gfdl_cloud_microphys_v3_run(
logical, intent (in) :: lradar
real(kind=kind_phys), intent(inout), dimension(:,:) :: refl_10cm
logical, intent (in) :: reset, effr_in
real(kind=kind_phys), intent(inout), dimension(:,:) :: rew, rei, rer, res, reg
real(kind=kind_phys), intent(inout), dimension(:,:), optional :: rew, rei, rer, res, reg
logical, intent (in) :: cplchm
! ice and liquid water 3d precipitation fluxes - only allocated if cplchm is .true.
real(kind=kind_phys), intent(inout), dimension(:,:) :: pfi_lsan, pfl_lsan
real(kind=kind_phys), intent(inout), dimension(:,:), optional :: pfi_lsan, pfl_lsan

character(len=*), intent(out) :: errmsg
integer, intent(out) :: errflg
Expand Down
11 changes: 11 additions & 0 deletions physics/MP/GFDL/v3_2022/gfdl_cloud_microphys_v3.meta
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@
type = real
kind = kind_phys
intent = out
optional = True
[ice0]
standard_name = lwe_thickness_of_ice_amount
long_name = ice fall on physics timestep
Expand All @@ -355,6 +356,7 @@
type = real
kind = kind_phys
intent = out
optional = True
[snow0]
standard_name = lwe_thickness_of_snow_amount
long_name = snow fall on physics timestep
Expand All @@ -363,6 +365,7 @@
type = real
kind = kind_phys
intent = out
optional = True
[graupel0]
standard_name = lwe_thickness_of_graupel_amount
long_name = graupel fall on physics timestep
Expand All @@ -371,6 +374,7 @@
type = real
kind = kind_phys
intent = out
optional = True
[prcp0]
standard_name = lwe_thickness_of_explicit_precipitation_amount
long_name = explicit precipitation (rain, ice, snow, graupel) on physics timestep
Expand Down Expand Up @@ -447,6 +451,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[rei]
standard_name = effective_radius_of_stratiform_cloud_ice_particle
long_name = eff. radius of cloud ice water particle in micrometer
Expand All @@ -455,6 +460,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[rer]
standard_name = effective_radius_of_stratiform_cloud_rain_particle
long_name = effective radius of cloud rain particle in micrometers
Expand All @@ -463,6 +469,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[res]
standard_name = effective_radius_of_stratiform_cloud_snow_particle
long_name = effective radius of cloud snow particle in micrometers
Expand All @@ -471,6 +478,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[reg]
standard_name = effective_radius_of_stratiform_cloud_graupel_particle
long_name = eff. radius of cloud graupel particle in micrometer
Expand All @@ -479,6 +487,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[cplchm]
standard_name = flag_for_chemistry_coupling
long_name = flag controlling cplchm collection (default off)
Expand All @@ -494,6 +503,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[pfl_lsan]
standard_name = liquid_flux_due_to_large_scale_precipitation
long_name = instantaneous 3D flux of liquid water from nonconvective precipitation
Expand All @@ -502,6 +512,7 @@
type = real
kind = kind_phys
intent = inout
optional = True
[errmsg]
standard_name = ccpp_error_message
long_name = error message for error handling in CCPP
Expand Down

0 comments on commit 45e99c9

Please sign in to comment.