Skip to content

Commit e3a22de

Browse files
authored
Corrected F_starR & F_starL
1 parent 3657f95 commit e3a22de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simulation/m_riemann_solvers.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,8 +3170,8 @@ contains
31703170
F_R(5:6) = vel%R(1)*B%R(2:3) - vel%R(2:3)*B%R(1)
31713171
F_R(7) = (E%R + pTot_R)*vel%R(1) - B%R(1)*(vel%R(1)*B%R(1) + vel%R(2)*B%R(2) + vel%R(3)*B%R(3))
31723172
! Compute the star flux using HLL relation
3173-
F_starL = F_L + s_M*(U_starL - U_L)
3174-
F_starR = F_R + s_M*(U_starR - U_R)
3173+
F_starL = F_L + s_L*(U_starL - U_L)
3174+
F_starR = F_R + s_R*(U_starR - U_R)
31753175
! Compute the rotational (Alfvén) speeds
31763176
s_starL = s_M - abs(B%L(1))/sqrt(rhoL_star)
31773177
s_starR = s_M + abs(B%L(1))/sqrt(rhoR_star)

0 commit comments

Comments
 (0)