Skip to content

Commit f2dc4d5

Browse files
committed
Fix B_tait in m_qbmm
1 parent 28ec0c7 commit f2dc4d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/simulation/m_qbmm.fpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ contains
247247
n_tait = gammas(1)
248248
n_tait = 1.d0/n_tait + 1.d0 !make this the usual little 'gamma'
249249
B_tait = pi_infs(1)
250+
B_tait = B_tait*(n_tait-1)/n_tait ! make this the usual pi_inf
250251
c = n_tait*(pres + B_tait)/(rho*(1.d0 - alf))
251252
if (c > 0.d0) then
252253
c = DSQRT(c)

0 commit comments

Comments
 (0)