@@ -40,9 +40,9 @@ subroutine s_compute_enthalpy(q_prim_vf, pres, rho, gamma, pi_inf, Re, H, alpha,
4040 real (wp), intent (inout ), dimension (num_dims) :: vel
4141 real (wp), intent (inout ) :: rho, gamma, pi_inf, vel_sum, H, pres
4242 integer , intent (in ) :: j, k, l
43+ real (wp), dimension (2 ), intent (inout ) :: Re
4344
4445 real (wp), dimension (num_fluids) :: alpha_rho, Gs
45- real (wp), dimension (2 ) :: Re
4646 real (wp) :: qv, E, G
4747
4848 integer :: i
@@ -98,15 +98,16 @@ end subroutine s_compute_enthalpy
9898 ! ! @param Rc_sf (optional) cell centered Rc
9999 subroutine s_compute_stability_from_dt (vel , c , rho , Re_l , j , k , l , icfl_sf , vcfl_sf , Rc_sf )
100100 ! $acc routine seq
101- real (wp), dimension (num_dims) :: vel
102- real (wp) :: c, rho
103- real (wp), dimension (0 :m, 0 :n, 0 :p) :: icfl_sf
104- real (wp), dimension (0 :m, 0 :n, 0 :p), optional :: vcfl_sf, Rc_sf
101+ real (wp), intent (in ), dimension (num_dims) :: vel
102+ real (wp), intent (in ) :: c, rho
103+ real (wp), dimension (0 :m, 0 :n, 0 :p), intent (inout ) :: icfl_sf
104+ real (wp), dimension (0 :m, 0 :n, 0 :p), intent (inout ), optional :: vcfl_sf, Rc_sf
105+ real (wp), dimension (2 ), intent (in ) :: Re_l
106+ integer , intent (in ) :: j, k, l
107+
105108 real (wp) :: fltr_dtheta ! <
106109 ! ! Modified dtheta accounting for Fourier filtering in azimuthal direction.
107- integer :: j, k, l
108110 integer :: Nfq
109- real (wp), dimension (2 ) :: Re_l
110111
111112 if (grid_geometry == 3 ) then
112113 if (k == 0 ) then
@@ -194,14 +195,17 @@ end subroutine s_compute_stability_from_dt
194195 ! ! @param l z coordinate
195196 subroutine s_compute_dt_from_cfl (vel , c , max_dt , rho , Re_l , j , k , l )
196197 ! $acc routine seq
197- real (wp), dimension (num_dims) :: vel
198- real (wp) :: c, icfl_dt, vcfl_dt, rho
199- real (wp), dimension (0 :m, 0 :n, 0 :p) :: max_dt
198+ real (wp), dimension (num_dims), intent (in ) :: vel
199+ real (wp), intent (in ) :: c, rho
200+ real (wp), dimension (0 :m, 0 :n, 0 :p), intent (inout ) :: max_dt
201+ real (wp), dimension (2 ), intent (in ) :: Re_l
202+ integer , intent (in ) :: j, k, l
203+
204+ real (wp) :: icfl_dt, vcfl_dt
200205 real (wp) :: fltr_dtheta ! <
201206 ! ! Modified dtheta accounting for Fourier filtering in azimuthal direction.
202- integer :: j, k, l
207+
203208 integer :: Nfq
204- real (wp), dimension (2 ) :: Re_l
205209
206210 if (grid_geometry == 3 ) then
207211 if (k == 0 ) then
0 commit comments