@@ -696,16 +696,6 @@ subroutine GFS_stochastic_driver (Model, Statein, Stateout, Sfcprop, Coupling, &
696696 implicit none
697697
698698 !- -- interface variables
699- ! DH* gfortran correctly throws an error if the intent() declarations
700- ! for arguments differ between the actual routine (here) and the dummy
701- ! interface routine (IPD_func0d_proc in IPD_typedefs.F90):
702- !
703- ! Error: Interface mismatch in procedure pointer assignment at (1): INTENT mismatch in argument 'control'
704- !
705- ! Since IPD_func0d_proc declares all arguments as intent(inout), we
706- ! need to do the same here - however, this way we are loosing the
707- ! valuable information on the actual intent to this routine. *DH
708- #ifdef __GFORTRAN__
709699 type (GFS_control_type), intent (inout ) :: Model
710700 type (GFS_statein_type), intent (inout ) :: Statein
711701 type (GFS_stateout_type), intent (inout ) :: Stateout
@@ -716,18 +706,7 @@ subroutine GFS_stochastic_driver (Model, Statein, Stateout, Sfcprop, Coupling, &
716706 type (GFS_cldprop_type), intent (inout ) :: Cldprop
717707 type (GFS_radtend_type), intent (inout ) :: Radtend
718708 type (GFS_diag_type), intent (inout ) :: Diag
719- #else
720- type (GFS_control_type), intent (in ) :: Model
721- type (GFS_statein_type), intent (in ) :: Statein
722- type (GFS_stateout_type), intent (in ) :: Stateout
723- type (GFS_sfcprop_type), intent (in ) :: Sfcprop
724- type (GFS_coupling_type), intent (inout ) :: Coupling
725- type (GFS_grid_type), intent (in ) :: Grid
726- type (GFS_tbd_type), intent (in ) :: Tbd
727- type (GFS_cldprop_type), intent (in ) :: Cldprop
728- type (GFS_radtend_type), intent (in ) :: Radtend
729- type (GFS_diag_type), intent (inout ) :: Diag
730- #endif
709+
731710 !- -- local variables
732711 integer :: k, i
733712 real (kind= kind_phys) :: upert, vpert, tpert, qpert, qnew,sppt_vwt
0 commit comments