aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-05-13 17:21:51 +0000
committerrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-05-13 17:21:51 +0000
commit3f6c9b5194581d509e7da9faff12632c02092c22 (patch)
tree4a7e1169c37dd1ef72cc6d24f096a90a317e2bf7
parentd3c7ca6cdb5f1d7cef7247660cfbf877667a4c3e (diff)
GRHydro: fix use of uninitialized variable in eigenproblem_leftright
this is only used when doing flux split FD which is not the default. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@515 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
-rw-r--r--src/GRHydro_Eigenproblem.F903
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GRHydro_Eigenproblem.F90 b/src/GRHydro_Eigenproblem.F90
index 4981508..90c46f8 100644
--- a/src/GRHydro_Eigenproblem.F90
+++ b/src/GRHydro_Eigenproblem.F90
@@ -618,6 +618,9 @@ subroutine eigenproblem_leftright(handle,rho,velx,vely,velz,eps,&
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