[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 591)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Sun Nov 24 18:04:04 CST 2013


User: rhaas
Date: 2013/11/24 06:04 PM

Modified:
 /trunk/src/
  GRHydro_Con2PrimM_pt_EOSOmni.c

Log:
 Fix temperature update bug in C2P MHD.

File Changes:

Directory: /trunk/src/
======================

File [modified]: GRHydro_Con2PrimM_pt_EOSOmni.c
Delta lines: +1 -0
===================================================================
--- trunk/src/GRHydro_Con2PrimM_pt_EOSOmni.c	2013-11-22 19:08:50 UTC (rev 590)
+++ trunk/src/GRHydro_Con2PrimM_pt_EOSOmni.c	2013-11-25 00:04:04 UTC (rev 591)
@@ -583,6 +583,7 @@
 //    eosvars.eosanyerr[0]=5;
 
     p = pressure_rho0_eps_eosomni(rho0,*epsilon,&dum1,&dum2,&eosvars) ;  // EOSOMNI
+    *temp_in = eosvars.eos_temp[0];
 
 //    #pragma omp critical 
 //    if (eosvars.eosanyerr[0] != 0) {



More information about the Commits mailing list