Skip to content

Commit 35f7cb7

Browse files
committed
fix a minor bug in flux_steger_warming
1 parent 9e4714c commit 35f7cb7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/riemann.F90

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,12 @@ subroutine flux_steger_warming(fplus,fmius,rho,vel,prs,tmp,spc,q,dxi,jacob)
5151
gpd(2)=dxi(i,2)*var0
5252
gpd(3)=dxi(i,3)*var0
5353
!
54-
if(nondimen) then
55-
gm2=0.5d0/gamma
56-
css=sos(tmp(i))
57-
else
58-
!
5954
#ifdef COMB
60-
gamma = gammarmix(tmp(i),spc(i,:))
61-
gm2=0.5d0/gamma
62-
call aceval(tmp(i),spc(i,:),css)
55+
gamma = gammarmix(tmp(i),spc(i,:))
6356
#endif
64-
!
65-
endif
57+
gm2=0.5d0/gamma
58+
css=sos(tmp(i),spc(i,:))
59+
!
6660
csa=css/var0
6761
lmach=uu/csa
6862
!

0 commit comments

Comments
 (0)