[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 515)
rhaas at tapir.caltech.edu
rhaas at tapir.caltech.edu
Mon May 13 12:21:52 CDT 2013
User: rhaas
Date: 2013/05/13 12:21 PM
Modified:
/trunk/src/
GRHydro_Eigenproblem.F90
Log:
GRHydro: fix use of uninitialized variable in eigenproblem_leftright
this is only used when doing flux split FD which is not the default.
File Changes:
Directory: /trunk/src/
======================
File [modified]: GRHydro_Eigenproblem.F90
Delta lines: +3 -0
===================================================================
--- trunk/src/GRHydro_Eigenproblem.F90 2013-05-13 05:29:59 UTC (rev 514)
+++ trunk/src/GRHydro_Eigenproblem.F90 2013-05-13 17:21:51 UTC (rev 515)
@@ -618,6 +618,9 @@
call EOS_Omni_cs2(handle,keytemp,GRHydro_eos_rf_prec,n,&
rho,eps,xtemp,xye,cs2,keyerr,anyerr)
+ call EOS_Omni_DPressByDEps(handle,keytemp,GRHydro_eos_rf_prec,n,&
+ rho,eps,xtemp,xye,dpdeps,keyerr,anyerr)
+
! if (cs2<0) cs2=0 ! this does not modify the roe crashing problem with shocktube
enthalpy = one + eps + press / rho
More information about the Commits
mailing list