@@ -92,11 +92,11 @@ contains
9292
9393 if (model_eqns == 1 ) then ! Gamma/ pi_inf model
9494 call s_convert_mixture_to_mixture_variables(q_vf, i, j, k, &
95- rho, gamma, pi_inf, qv, Re_K, G_K, G )
95+ rho, gamma, pi_inf, qv)
9696
9797 else if (bubbles_euler) then
9898 call s_convert_species_to_mixture_variables_bubbles(q_vf, i, j, k, &
99- rho, gamma, pi_inf, qv, Re_K, G_K, G )
99+ rho, gamma, pi_inf, qv, Re_K)
100100 else
101101 ! Volume fraction model
102102 call s_convert_species_to_mixture_variables(q_vf, i, j, k, &
@@ -207,7 +207,7 @@ contains
207207 !! @param pi_inf liquid stiffness
208208 !! @param qv fluid reference energy
209209 subroutine s_convert_mixture_to_mixture_variables (q_vf , i , j , k , &
210- rho , gamma , pi_inf , qv , Re_K , G_K , G )
210+ rho , gamma , pi_inf , qv )
211211
212212 type(scalar_field), dimension (sys_size), intent (in ) :: q_vf
213213 integer , intent (in ) :: i, j, k
@@ -217,11 +217,6 @@ contains
217217 real (wp), intent (out ), target :: pi_inf
218218 real (wp), intent (out ), target :: qv
219219
220- real (wp), optional, dimension (2 ), intent (out ) :: Re_K
221-
222- real (wp), optional, intent (out ) :: G_K
223- real (wp), optional, dimension (num_fluids), intent (in ) :: G
224-
225220 ! Transferring the density, the specific heat ratio function and the
226221 ! liquid stiffness function, respectively
227222 rho = q_vf(1 )%sf(i, j, k)
@@ -254,7 +249,7 @@ contains
254249 !! @param pi_inf liquid stiffness
255250 !! @param qv fluid reference energy
256251 subroutine s_convert_species_to_mixture_variables_bubbles (q_vf , j , k , l , &
257- rho , gamma , pi_inf , qv , Re_K , G_K , G )
252+ rho , gamma , pi_inf , qv , Re_K )
258253
259254 type(scalar_field), dimension (sys_size), intent (in ) :: q_vf
260255
@@ -266,8 +261,6 @@ contains
266261 real (wp), intent (out ), target :: qv
267262
268263 real (wp), optional, dimension (2 ), intent (out ) :: Re_K
269- real (wp), optional, intent (out ) :: G_K
270- real (wp), optional, dimension (num_fluids), intent (in ) :: G
271264
272265 integer :: i, q
273266 real (wp), dimension (num_fluids) :: alpha_rho_K, alpha_K
@@ -464,7 +457,7 @@ contains
464457
465458 pure subroutine s_convert_species_to_mixture_variables_acc (rho_K , &
466459 gamma_K , pi_inf_K , qv_K , &
467- alpha_K , alpha_rho_K , Re_K , k , l , r , &
460+ alpha_K , alpha_rho_K , Re_K , &
468461 G_K , G )
469462#ifdef _CRAYFTN
470463 !DIR$ INLINEALWAYS s_convert_species_to_mixture_variables_acc
@@ -481,8 +474,6 @@ contains
481474 real (wp), optional, intent (out ) :: G_K
482475 real (wp), optional, dimension (num_fluids), intent (in ) :: G
483476
484- integer , intent (in ) :: k, l, r
485-
486477 integer :: i, j !< Generic loop iterators
487478 real (wp) :: alpha_K_sum
488479
@@ -548,7 +539,7 @@ contains
548539
549540 pure subroutine s_convert_species_to_mixture_variables_bubbles_acc (rho_K , &
550541 gamma_K , pi_inf_K , qv_K , &
551- alpha_K , alpha_rho_K , Re_K , k , l , r )
542+ alpha_K , alpha_rho_K , Re_K )
552543#ifdef _CRAYFTN
553544 !DIR$ INLINEALWAYS s_convert_species_to_mixture_variables_bubbles_acc
554545#else
@@ -561,7 +552,6 @@ contains
561552 !! Partial densities and volume fractions
562553
563554 real (wp), dimension (2 ), intent (out ) :: Re_K
564- integer , intent (in ) :: k, l, r
565555
566556 integer :: i, j !< Generic loop iterators
567557
@@ -820,16 +810,12 @@ contains
820810 subroutine s_convert_conservative_to_primitive_variables (qK_cons_vf , &
821811 q_T_sf , &
822812 qK_prim_vf , &
823- ibounds , &
824- gm_alphaK_vf )
813+ ibounds )
825814
826815 type(scalar_field), dimension (sys_size), intent (in ) :: qK_cons_vf
827816 type(scalar_field), intent (inout ) :: q_T_sf
828817 type(scalar_field), dimension (sys_size), intent (inout ) :: qK_prim_vf
829818 type(int_bounds_info), dimension (1 :3 ), intent (in ) :: ibounds
830- type(scalar_field), &
831- allocatable, optional, dimension (:), &
832- intent (in ) :: gm_alphaK_vf
833819
834820 real (wp), dimension (num_fluids) :: alpha_K, alpha_rho_K
835821 real (wp), dimension (2 ) :: Re_K
@@ -903,13 +889,13 @@ contains
903889 ! If in simulation, use acc mixture subroutines
904890 if (elasticity) then
905891 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, alpha_K, &
906- alpha_rho_K, Re_K, j, k, l, G_K, Gs)
892+ alpha_rho_K, Re_K, G_K, Gs)
907893 else if (bubbles_euler) then
908894 call s_convert_species_to_mixture_variables_bubbles_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
909- alpha_K, alpha_rho_K, Re_K, j, k, l )
895+ alpha_K, alpha_rho_K, Re_K)
910896 else
911897 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
912- alpha_K, alpha_rho_K, Re_K, j, k, l )
898+ alpha_K, alpha_rho_K, Re_K)
913899 end if
914900#else
915901 ! If pre- processing, use non acc mixture subroutines
@@ -1511,13 +1497,13 @@ contains
15111497 if (elasticity) then
15121498 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
15131499 alpha_K, alpha_rho_K, Re_K, &
1514- j, k, l, G_K, Gs)
1500+ G_K, Gs)
15151501 else if (bubbles_euler) then
15161502 call s_convert_species_to_mixture_variables_bubbles_acc(rho_K, gamma_K, &
1517- pi_inf_K, qv_K, alpha_K, alpha_rho_K, Re_K, j, k, l )
1503+ pi_inf_K, qv_K, alpha_K, alpha_rho_K, Re_K)
15181504 else
15191505 call s_convert_species_to_mixture_variables_acc(rho_K, gamma_K, pi_inf_K, qv_K, &
1520- alpha_K, alpha_rho_K, Re_K, j, k, l )
1506+ alpha_K, alpha_rho_K, Re_K)
15211507 end if
15221508
15231509 ! Computing the energy from the pressure
0 commit comments