Skip to content

Commit b30a421

Browse files
committed
clean
1 parent b652700 commit b30a421

File tree

1 file changed

+0
-71
lines changed

1 file changed

+0
-71
lines changed

src/simulation/inline_riemann.fpp

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -46,74 +46,3 @@ if (avg_state == 2) then
4646
end if
4747

4848
#:enddef compute_average_state
49-
50-
! #:def compute_wave_speeds()
51-
52-
! if (wave_speeds == 1) then
53-
! s_L = min(vel_L(dir_idx(1)) - c_L, vel_R(dir_idx(1)) - c_R)
54-
! s_R = max(vel_R(dir_idx(1)) + c_R, vel_L(dir_idx(1)) + c_L)
55-
56-
! s_S = (pres_R - pres_L + rho_L*vel_L(dir_idx(1))* &
57-
! (s_L - vel_L(dir_idx(1))) - &
58-
! rho_R*vel_R(dir_idx(1))* &
59-
! (s_R - vel_R(dir_idx(1)))) &
60-
! /(rho_L*(s_L - vel_L(dir_idx(1))) - &
61-
! rho_R*(s_R - vel_R(dir_idx(1))))
62-
! elseif (wave_speeds == 2) then
63-
! pres_SL = 5d-1*(pres_L + pres_R + rho_avg*c_avg* &
64-
! (vel_L(dir_idx(1)) - &
65-
! vel_R(dir_idx(1))))
66-
67-
! pres_SR = pres_SL
68-
69-
! Ms_L = max(1d0, sqrt(1d0 + ((5d-1 + gamma_L)/(1d0 + gamma_L))* &
70-
! (pres_SL/pres_L - 1d0)*pres_L/ &
71-
! ((pres_L + pi_inf_L/(1d0 + gamma_L)))))
72-
! Ms_R = max(1d0, sqrt(1d0 + ((5d-1 + gamma_R)/(1d0 + gamma_R))* &
73-
! (pres_SR/pres_R - 1d0)*pres_R/ &
74-
! ((pres_R + pi_inf_R/(1d0 + gamma_R)))))
75-
76-
! s_L = vel_L(dir_idx(1)) - c_L*Ms_L
77-
! s_R = vel_R(dir_idx(1)) + c_R*Ms_R
78-
79-
! s_S = 5d-1*((vel_L(dir_idx(1)) + vel_R(dir_idx(1))) + &
80-
! (pres_L - pres_R)/ &
81-
! (rho_avg*c_avg))
82-
! end if
83-
84-
85-
! if (wave_speeds == 1) then
86-
! s_L = min(vel_L(dir_idx(1)) - c_L, vel_R(dir_idx(1)) - c_R)
87-
! s_R = max(vel_R(dir_idx(1)) + c_R, vel_L(dir_idx(1)) + c_L)
88-
89-
! s_S = (pres_R - pres_L + rho_L*vel_L(dir_idx(1))* &
90-
! (s_L - vel_L(dir_idx(1))) - &
91-
! rho_R*vel_R(dir_idx(1))* &
92-
! (s_R - vel_R(dir_idx(1)))) &
93-
! /(rho_L*(s_L - vel_L(dir_idx(1))) - &
94-
! rho_R*(s_R - vel_R(dir_idx(1))))
95-
! elseif (wave_speeds == 2) then
96-
! pres_SL = 5d-1*(pres_L + pres_R + rho_avg*c_avg* &
97-
! (vel_L(dir_idx(1)) - &
98-
! vel_R(dir_idx(1))))
99-
100-
! pres_SR = pres_SL
101-
102-
! Ms_L = max(1d0, sqrt(1d0 + ((5d-1 + gamma_L)/(1d0 + gamma_L))* &
103-
! (pres_SL/pres_L - 1d0)*pres_L/ &
104-
! ((pres_L + pi_inf_L/(1d0 + gamma_L)))))
105-
! Ms_R = max(1d0, sqrt(1d0 + ((5d-1 + gamma_R)/(1d0 + gamma_R))* &
106-
! (pres_SR/pres_R - 1d0)*pres_R/ &
107-
! ((pres_R + pi_inf_R/(1d0 + gamma_R)))))
108-
109-
! s_L = vel_L(dir_idx(1)) - c_L*Ms_L
110-
! s_R = vel_R(dir_idx(1)) + c_R*Ms_R
111-
112-
! s_S = 5d-1*((vel_L(dir_idx(1)) + vel_R(dir_idx(1))) + &
113-
! (pres_L - pres_R)/ &
114-
! (rho_avg*c_avg))
115-
! end if
116-
117-
! #:enddef compute_wave_speeds
118-
119-

0 commit comments

Comments
 (0)