@@ -571,16 +571,16 @@ contains
571571 @:compute_average_state()
572572
573573 call s_compute_speed_of_sound(pres_L, rho_L, gamma_L, pi_inf_L, H_L, alpha_L, &
574- vel_L_rms, c_L)
574+ vel_L_rms, 0d0 , c_L)
575575
576576 call s_compute_speed_of_sound(pres_R, rho_R, gamma_R, pi_inf_R, H_R, alpha_R, &
577- vel_R_rms, c_R)
577+ vel_R_rms, 0d0 , c_R)
578578
579579 !> The computation of c_avg does not require all the variables, and therefore the non ' _avg'
580580 ! variables are placeholders to call the subroutine.
581581
582582 call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
583- vel_avg_rms, c_avg, c_avggg )
583+ vel_avg_rms, c_avggg, c_avg )
584584
585585 if (any (Re_size > 0 )) then
586586 !$acc loop seq
@@ -1118,16 +1118,16 @@ contains
11181118 @:compute_average_state()
11191119
11201120 call s_compute_speed_of_sound(pres_L, rho_L, gamma_L, pi_inf_L, H_L, alpha_L, &
1121- vel_L_rms, c_L)
1121+ vel_L_rms, 0d0, c_L)
11221122
11231123 call s_compute_speed_of_sound(pres_R, rho_R, gamma_R, pi_inf_R, H_R, alpha_R, &
1124- vel_R_rms, c_R)
1124+ vel_R_rms, 0d0, c_R)
11251125
11261126 !> The computation of c_avg does not require all the variables, and therefore the non ' _avg'
11271127 ! variables are placeholders to call the subroutine.
11281128
11291129 call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
1130- vel_avg_rms, c_avg)
1130+ vel_avg_rms, 0d0, c_avg)
11311131
11321132 if (any(Re_size > 0)) then
11331133 !$acc loop seq
@@ -1417,16 +1417,16 @@ contains
14171417 @:compute_average_state()
14181418
14191419 call s_compute_speed_of_sound(pres_L, rho_L, gamma_L, pi_inf_L, H_L, alpha_L, &
1420- vel_L_rms, c_L)
1420+ vel_L_rms, 0d0, c_L)
14211421
14221422 call s_compute_speed_of_sound(pres_R, rho_R, gamma_R, pi_inf_R, H_R, alpha_R, &
1423- vel_R_rms, c_R)
1423+ vel_R_rms, 0d0, c_R)
14241424
14251425 !> The computation of c_avg does not require all the variables, and therefore the non ' _avg'
14261426 ! variables are placeholders to call the subroutine.
14271427
14281428 call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
1429- vel_avg_rms, c_avg)
1429+ vel_avg_rms, 0d0, c_avg)
14301430
14311431 if (wave_speeds == 1) then
14321432 s_L = min(vel_L(dir_idx(1)) - c_L, vel_R(dir_idx(1)) - c_R)
@@ -1833,16 +1833,16 @@ contains
18331833 end if
18341834
18351835 call s_compute_speed_of_sound(pres_L, rho_L, gamma_L, pi_inf_L, H_L, alpha_L, &
1836- vel_L_rms, c_L)
1836+ vel_L_rms, 0d0, c_L)
18371837
18381838 call s_compute_speed_of_sound(pres_R, rho_R, gamma_R, pi_inf_R, H_R, alpha_R, &
1839- vel_R_rms, c_R)
1839+ vel_R_rms, 0d0, c_R)
18401840
18411841 !> The computation of c_avg does not require all the variables, and therefore the non ' _avg'
18421842 ! variables are placeholders to call the subroutine.
18431843
18441844 call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
1845- vel_avg_rms, c_avg)
1845+ vel_avg_rms, 0d0, c_avg)
18461846
18471847 if (any(Re_size > 0)) then
18481848 !$acc loop seq
@@ -2241,16 +2241,16 @@ contains
22412241 !print *, c_avggg
22422242
22432243 call s_compute_speed_of_sound(pres_L, rho_L, gamma_L, pi_inf_L, H_L, alpha_L, &
2244- vel_L_rms, c_L)
2244+ vel_L_rms, 0d0, c_L)
22452245
22462246 call s_compute_speed_of_sound(pres_R, rho_R, gamma_R, pi_inf_R, H_R, alpha_R, &
2247- vel_R_rms, c_R)
2247+ vel_R_rms, 0d0, c_R)
22482248
22492249 !> The computation of c_avg does not require all the variables, and therefore the non ' _avg'
22502250 ! variables are placeholders to call the subroutine.
22512251
22522252 call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
2253- vel_avg_rms, c_avg, c_avggg )
2253+ vel_avg_rms, c_avggg, c_avg )
22542254
22552255 if (any(Re_size > 0)) then
22562256 !$acc loop seq
0 commit comments