Skip to content

Commit 53caf2e

Browse files
mohdsaid497566Malmahrouqi3
authored andcommitted
fixed s_compute_wave_speed subroutine
1 parent b37e483 commit 53caf2e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/simulation/m_riemann_solvers.fpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ contains
668668
end do
669669
end if
670670

671-
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg &
672-
c_L, c_R, c_avg, c_fast, G_L, G_R, &
671+
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
672+
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
673673
tau_e_L, tau_e_R, &
674674
s_L, s_R, s_S)
675675

@@ -1402,8 +1402,8 @@ contains
14021402
end if
14031403

14041404
! COMPUTING THE DIRECT WAVE SPEEDS
1405-
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg &
1406-
c_L, c_R, c_avg, c_fast, G_L, G_R, &
1405+
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
1406+
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
14071407
tau_e_L, tau_e_R, &
14081408
s_L, s_R, s_S)
14091409

@@ -1637,8 +1637,8 @@ contains
16371637
call s_compute_speed_of_sound(pres_R, rho_avg, gamma_avg, pi_inf_R, H_avg, alpha_R, &
16381638
vel_avg_rms, 0._wp, c_avg)
16391639

1640-
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg &
1641-
c_L, c_R, c_avg, c_fast, G_L, G_R, &
1640+
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
1641+
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
16421642
tau_e_L, tau_e_R, &
16431643
s_L, s_R, s_S, s_M, s_P)
16441644

@@ -1963,8 +1963,8 @@ contains
19631963
@:compute_low_Mach_correction()
19641964
end if
19651965

1966-
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg &
1967-
c_L, c_R, c_avg, c_fast, G_L, G_R, &
1966+
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
1967+
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
19681968
tau_e_L, tau_e_R, &
19691969
s_L, s_R, s_S, s_M, s_P)
19701970

@@ -2329,8 +2329,8 @@ contains
23292329
@:compute_low_Mach_correction()
23302330
end if
23312331

2332-
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg &
2333-
c_L, c_R, c_avg, c_fast, G_L, G_R, &
2332+
call s_compute_wave_speed(wave_speeds, vel_L, vel_R, pres_L, pres_R, rho_L, rho_R, rho_avg, &
2333+
c_L, c_R, c_avg, c_fast%L, c_fast%R, G_L, G_R, &
23342334
tau_e_L, tau_e_R, &
23352335
s_L, s_R, s_S, s_M, s_P)
23362336

0 commit comments

Comments
 (0)