User: rhaas Date: 2013/05/11 01:29 AM
Modified: /trunk/src/ GRHydro_Con2PrimM_polytype_pt.c
Log: GRhydro: Pressure in polytypeM_pt was off by factor inv_sqrt_detg
From: srichers srichers@caltech.edu
File Changes:
Directory: /trunk/src/ ======================
File [modified]: GRHydro_Con2PrimM_polytype_pt.c Delta lines: +1 -1 =================================================================== --- trunk/src/GRHydro_Con2PrimM_polytype_pt.c 2013-05-10 15:43:00 UTC (rev 509) +++ trunk/src/GRHydro_Con2PrimM_polytype_pt.c 2013-05-11 06:29:27 UTC (rev 510) @@ -406,7 +406,7 @@
// printf("doublecheck - S, rho, gamma: %e %e %e\n",*sc_in, rho_gm1,gamma);
- p = (*sc_in) * rho_gm1 / gamma; + p = (*sc_in) * inv_sqrt_detg * rho_gm1 / gamma;
u = p / gm1;
commits@lists.einsteintoolkit.org