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