Skip to content

Commit 0df82ab

Browse files
mohdsaid497566Malmahrouqi3
authored andcommitted
dir_idx(_tau) not recognized yet albeit global variables thus just passed them in the calls
1 parent 3b87db9 commit 0df82ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/simulation/m_riemann_solvers.fpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ contains
674674
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
675675
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
676676
tau_e_L, tau_e_R, gamma_L, gamma_R, pi_inf_L, pi_inf_R, &
677-
s_L, s_R, s_S, s_M, s_P)
677+
s_L, s_R, s_S, s_M, s_P, dir_idx(1), dir_idx_tau(1))
678678

679679
xi_M = (5e-1_wp + sign(5e-1_wp, s_L)) &
680680
+ (5e-1_wp - sign(5e-1_wp, s_L)) &
@@ -1333,7 +1333,7 @@ contains
13331333
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
13341334
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
13351335
tau_e_L, tau_e_R, gamma_L, gamma_R, pi_inf_L, pi_inf_R, &
1336-
s_L, s_R, s_S, s_M, s_P)
1336+
s_L, s_R, s_S, s_M, s_P, dir_idx(1), dir_idx_tau(1))
13371337

13381338
! goes with q_star_L/R = xi_L/R * (variable)
13391339
! xi_L/R = ( ( s_L/R - u_L/R )/(s_L/R - s_star) )
@@ -1568,7 +1568,7 @@ contains
15681568
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
15691569
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
15701570
tau_e_L, tau_e_R, gamma_L, gamma_R, pi_inf_L, pi_inf_R, &
1571-
s_L, s_R, s_S, s_M, s_P)
1571+
s_L, s_R, s_S, s_M, s_P, dir_idx(1), dir_idx_tau(1))
15721572

15731573
! goes with q_star_L/R = xi_L/R * (variable)
15741574
! xi_L/R = ( ( s_L/R - u_L/R )/(s_L/R - s_star) )
@@ -1894,7 +1894,7 @@ contains
18941894
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
18951895
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
18961896
tau_e_L, tau_e_R, gamma_L, gamma_R, pi_inf_L, pi_inf_R, &
1897-
s_L, s_R, s_S, s_M, s_P)
1897+
s_L, s_R, s_S, s_M, s_P, dir_idx(1), dir_idx_tau(1))
18981898

18991899
! goes with q_star_L/R = xi_L/R * (variable)
19001900
! xi_L/R = ( ( s_L/R - u_L/R )/(s_L/R - s_star) )
@@ -2260,7 +2260,7 @@ contains
22602260
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
22612261
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
22622262
tau_e_L, tau_e_R, gamma_L, gamma_R, pi_inf_L, pi_inf_R, &
2263-
s_L, s_R, s_S, s_M, s_P)
2263+
s_L, s_R, s_S, s_M, s_P, dir_idx(1), dir_idx_tau(1))
22642264

22652265
! goes with q_star_L/R = xi_L/R * (variable)
22662266
! xi_L/R = ( ( s_L/R - u_L/R )/(s_L/R - s_star) )

0 commit comments

Comments
 (0)