[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 248)
bcmsma at astro.rit.edu
bcmsma at astro.rit.edu
Mon May 23 17:31:18 CDT 2011
User: bmundim
Date: 2011/05/23 05:31 PM
Modified:
/trunk/src/
GRHydro_Con2PrimM_pt.c
Log:
Use CCTK_REAL instead of double.
File Changes:
Directory: /trunk/src/
======================
File [modified]: GRHydro_Con2PrimM_pt.c
Delta lines: +2 -2
===================================================================
--- trunk/src/GRHydro_Con2PrimM_pt.c 2011-05-09 01:03:12 UTC (rev 247)
+++ trunk/src/GRHydro_Con2PrimM_pt.c 2011-05-23 22:31:18 UTC (rev 248)
@@ -680,12 +680,12 @@
**********************************************************************/
static CCTK_REAL eos_info(CCTK_REAL W, CCTK_REAL vsq, CCTK_REAL *dpdw, CCTK_REAL *dpdvsq, CCTK_REAL gammaeos, struct LocGlob *lgp)
{
- register double ftmp,gtmp;
+ register CCTK_REAL ftmp,gtmp;
ftmp = 1. - vsq;
gtmp = sqrt(ftmp);
- double gam_m1_o_gam = ((gammaeos-1.)/gammaeos);
+ CCTK_REAL gam_m1_o_gam = ((gammaeos-1.)/gammaeos);
*dpdw = gam_m1_o_gam * ftmp ;
*dpdvsq = gam_m1_o_gam * ( 0.5 * lgp->D/gtmp - W ) ;
More information about the Commits
mailing list