@@ -91,11 +91,11 @@ contains
9191
9292 if (model_eqns == 1 ) then ! Gamma/ pi_inf model
9393 call s_convert_mixture_to_mixture_variables(q_vf, i, j, k, &
94- rho, gamma, pi_inf, qv, Re_K, G_K, G )
94+ rho, gamma, pi_inf, qv)
9595
9696 else if (bubbles_euler) then
9797 call s_convert_species_to_mixture_variables_bubbles(q_vf, i, j, k, &
98- rho, gamma, pi_inf, qv, Re_K, G_K, G )
98+ rho, gamma, pi_inf, qv, Re_K)
9999 else
100100 ! Volume fraction model
101101 call s_convert_species_to_mixture_variables(q_vf, i, j, k, &
@@ -206,7 +206,7 @@ contains
206206 !! @param pi_inf liquid stiffness
207207 !! @param qv fluid reference energy
208208 subroutine s_convert_mixture_to_mixture_variables (q_vf , i , j , k , &
209- rho , gamma , pi_inf , qv , Re_K , G_K , G )
209+ rho , gamma , pi_inf , qv )
210210
211211 type(scalar_field), dimension (sys_size), intent (in ) :: q_vf
212212 integer , intent (in ) :: i, j, k
@@ -216,11 +216,6 @@ contains
216216 real (wp), intent (out ), target :: pi_inf
217217 real (wp), intent (out ), target :: qv
218218
219- real (wp), optional, dimension (2 ), intent (out ) :: Re_K
220-
221- real (wp), optional, intent (out ) :: G_K
222- real (wp), optional, dimension (num_fluids), intent (in ) :: G
223-
224219 ! Transferring the density, the specific heat ratio function and the
225220 ! liquid stiffness function, respectively
226221 rho = q_vf(1 )%sf(i, j, k)
@@ -253,7 +248,7 @@ contains
253248 !! @param pi_inf liquid stiffness
254249 !! @param qv fluid reference energy
255250 subroutine s_convert_species_to_mixture_variables_bubbles (q_vf , j , k , l , &
256- rho , gamma , pi_inf , qv , Re_K , G_K , G )
251+ rho , gamma , pi_inf , qv , Re_K )
257252
258253 type(scalar_field), dimension (sys_size), intent (in ) :: q_vf
259254
@@ -265,8 +260,6 @@ contains
265260 real (wp), intent (out ), target :: qv
266261
267262 real (wp), optional, dimension (2 ), intent (out ) :: Re_K
268- real (wp), optional, intent (out ) :: G_K
269- real (wp), optional, dimension (num_fluids), intent (in ) :: G
270263
271264 integer :: i, q
272265 real (wp), dimension (num_fluids) :: alpha_rho_K, alpha_K
@@ -463,7 +456,7 @@ contains
463456
464457 pure subroutine s_convert_species_to_mixture_variables_acc (rho_K , &
465458 gamma_K , pi_inf_K , qv_K , &
466- alpha_K , alpha_rho_K , Re_K , k , l , r , &
459+ alpha_K , alpha_rho_K , Re_K , &
467460 G_K , G )
468461#ifdef _CRAYFTN
469462 !DIR$ INLINEALWAYS s_convert_species_to_mixture_variables_acc
@@ -480,8 +473,6 @@ contains
480473 real (wp), optional, intent (out ) :: G_K
481474 real (wp), optional, dimension (num_fluids), intent (in ) :: G
482475
483- integer , intent (in ) :: k, l, r
484-
485476 integer :: i, j !< Generic loop iterators
486477 real (wp) :: alpha_K_sum
487478
@@ -547,7 +538,7 @@ contains
547538
548539 pure subroutine s_convert_species_to_mixture_variables_bubbles_acc (rho_K , &
549540 gamma_K , pi_inf_K , qv_K , &
550- alpha_K , alpha_rho_K , Re_K , k , l , r )
541+ alpha_K , alpha_rho_K , Re_K )
551542#ifdef _CRAYFTN
552543 !DIR$ INLINEALWAYS s_convert_species_to_mixture_variables_bubbles_acc
553544#else
@@ -560,7 +551,6 @@ contains
560551 !! Partial densities and volume fractions
561552
562553 real (wp), dimension (2 ), intent (out ) :: Re_K
563- integer , intent (in ) :: k, l, r
564554
565555 integer :: i, j !< Generic loop iterators
566556
@@ -819,16 +809,12 @@ contains
819809 subroutine s_convert_conservative_to_primitive_variables (qK_cons_vf , &
820810 q_T_sf , &
821811 qK_prim_vf , &
822- ibounds , &
823- gm_alphaK_vf )
812+ ibounds )
824813
825814 type(scalar_field), dimension (sys_size), intent (in ) :: qK_cons_vf
826815 type(scalar_field), intent (inout ) :: q_T_sf
827816 type(scalar_field), dimension (sys_size), intent (inout ) :: qK_prim_vf
828817 type(int_bounds_info), dimension (1 :3 ), intent (in ) :: ibounds
829- type(scalar_field), &
830- allocatable, optional, dimension (:), &
831- intent (in ) :: gm_alphaK_vf
832818
833819 real (wp), dimension (num_fluids) :: alpha_K, alpha_rho_K
834820 real (wp), dimension (2 ) :: Re_K
@@ -902,13 +888,13 @@ contains
902888 ! If in simulation, use acc mixture subroutines
903889 if (elasticity) then
904890 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, alpha_K, &
905- alpha_rho_K, Re_K, j, k, l, G_K, Gs)
891+ alpha_rho_K, Re_K, G_K, Gs)
906892 else if (bubbles_euler) then
907893 call s_convert_species_to_mixture_variables_bubbles_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
908- alpha_K, alpha_rho_K, Re_K, j, k, l )
894+ alpha_K, alpha_rho_K, Re_K)
909895 else
910896 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
911- alpha_K, alpha_rho_K, Re_K, j, k, l )
897+ alpha_K, alpha_rho_K, Re_K)
912898 end if
913899#else
914900 ! If pre- processing, use non acc mixture subroutines
@@ -1509,13 +1495,13 @@ contains
15091495 if (elasticity) then
15101496 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
15111497 alpha_K, alpha_rho_K, Re_K, &
1512- j, k, l, G_K, Gs)
1498+ G_K, Gs)
15131499 else if (bubbles_euler) then
15141500 call s_convert_species_to_mixture_variables_bubbles_acc(rho_K, gamma_K, &
1515- pi_inf_K, qv_K, alpha_K, alpha_rho_K, Re_K, j, k, l )
1501+ pi_inf_K, qv_K, alpha_K, alpha_rho_K, Re_K)
15161502 else
15171503 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
1518- alpha_K, alpha_rho_K, Re_K, j, k, l )
1504+ alpha_K, alpha_rho_K, Re_K)
15191505 end if
15201506
15211507 ! Computing the energy from the pressure
0 commit comments