Skip to content

Commit

Permalink
Merge pull request #887 from climbfuji/feature/split_gfs_typedefs
Browse files Browse the repository at this point in the history
Split fv3atm GFS_typedefs.F90: import GFS_interstitial_type from CCPP_typedefs instead of GFS_typedefs
  • Loading branch information
climbfuji authored Apr 12, 2022
2 parents 0ccc8ac + c275462 commit 1ad4399
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
24 changes: 12 additions & 12 deletions physics/GFS_debug.F90
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ module GFS_diagtoscreen
!!
subroutine GFS_diagtoscreen_init (Model, Data, Interstitial, errmsg, errflg)

use GFS_typedefs, only: GFS_control_type, GFS_data_type, &
GFS_interstitial_type
use GFS_typedefs, only: GFS_control_type, GFS_data_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -349,8 +349,8 @@ end subroutine GFS_diagtoscreen_init
!!
subroutine GFS_diagtoscreen_timestep_init (Model, Data, Interstitial, errmsg, errflg)

use GFS_typedefs, only: GFS_control_type, GFS_data_type, &
GFS_interstitial_type
use GFS_typedefs, only: GFS_control_type, GFS_data_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -397,8 +397,8 @@ subroutine GFS_diagtoscreen_run (Model, Statein, Stateout, Sfcprop, Coupling,
GFS_stateout_type, GFS_sfcprop_type, &
GFS_coupling_type, GFS_grid_type, &
GFS_tbd_type, GFS_cldprop_type, &
GFS_radtend_type, GFS_diag_type, &
GFS_interstitial_type
GFS_radtend_type, GFS_diag_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -967,8 +967,8 @@ module GFS_interstitialtoscreen
!!
subroutine GFS_interstitialtoscreen_init (Model, Data, Interstitial, errmsg, errflg)

use GFS_typedefs, only: GFS_control_type, GFS_data_type, &
GFS_interstitial_type
use GFS_typedefs, only: GFS_control_type, GFS_data_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -1001,8 +1001,8 @@ end subroutine GFS_interstitialtoscreen_init
!!
subroutine GFS_interstitialtoscreen_timestep_init (Model, Data, Interstitial, errmsg, errflg)

use GFS_typedefs, only: GFS_control_type, GFS_data_type, &
GFS_interstitial_type
use GFS_typedefs, only: GFS_control_type, GFS_data_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -1051,8 +1051,8 @@ subroutine GFS_interstitialtoscreen_run (Model, Statein, Stateout, Sfcprop, Coup
GFS_stateout_type, GFS_sfcprop_type, &
GFS_coupling_type, GFS_grid_type, &
GFS_tbd_type, GFS_cldprop_type, &
GFS_radtend_type, GFS_diag_type, &
GFS_interstitial_type
GFS_radtend_type, GFS_diag_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down
13 changes: 8 additions & 5 deletions physics/GFS_suite_interstitial.F90
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ end subroutine GFS_suite_interstitial_rad_reset_finalize
!!
subroutine GFS_suite_interstitial_rad_reset_run (Interstitial, Model, errmsg, errflg)

use machine, only: kind_phys
use GFS_typedefs, only: GFS_control_type, GFS_interstitial_type
use machine, only: kind_phys
use GFS_typedefs, only: GFS_control_type
use CCPP_typedefs, only: GFS_interstitial_type

implicit none

Expand Down Expand Up @@ -52,8 +53,10 @@ end subroutine GFS_suite_interstitial_phys_reset_finalize
!!
subroutine GFS_suite_interstitial_phys_reset_run (Interstitial, Model, errmsg, errflg)

use machine, only: kind_phys
use GFS_typedefs, only: GFS_control_type, GFS_interstitial_type
use machine, only: kind_phys
use GFS_typedefs, only: GFS_control_type
use CCPP_typedefs, only: GFS_interstitial_type


implicit none

Expand Down Expand Up @@ -89,7 +92,7 @@ end subroutine GFS_suite_interstitial_1_finalize
subroutine GFS_suite_interstitial_1_run (im, levs, ntrac, dtf, dtp, slmsk, area, dxmin, dxinv, pgr, &
islmsk, work1, work2, psurf, dudt, dvdt, dtdt, dqdt, errmsg, errflg)

use machine, only: kind_phys
use machine, only: kind_phys

implicit none

Expand Down

0 comments on commit 1ad4399

Please sign in to comment.